cpp_client_telemetry
cpp_client_telemetry copied to clipboard
Calling getType() on a new EventProperties object hits a NullPointerException
Describe your environment. Android, Java code.
Steps to reproduce.
EventProperties props = new EventProperties("MyEvent", DiagnosticLevel.DIAG_LEVEL_OPTIONA);
String type = props.getType();
What is the expected behavior?
getType() returns an empty or unknown type.
What is the actual behavior?
java.lang.NullPointerException since the underlying EventPropertiesStorage never initialized eventType
Additional context.
All other class member variables of EventPropertiesStorage are initialized - only eventType is uninitializeed.