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.
Describe your environment.
Android, Java code.
Steps to reproduce.
What is the expected behavior?
getType()returns an empty or unknown type.What is the actual behavior?
java.lang.NullPointerExceptionsince the underlyingEventPropertiesStoragenever initializedeventTypeAdditional context.
All other class member variables of
EventPropertiesStorageare initialized - onlyeventTypeis uninitializeed.