-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Internal
-
Labels:None
Dereference null return value
If the function actually returns a null value, a NullPointerException will be thrown. Return value of function which returns null is dereferenced without checking
/bson/src/main/org/bson/codecs/pojo/PojoCodecImpl.java:102: NULL_RETURNS 116580 Assigning: "instanceCreator" = "null" return value from "getInstanceCreator".
/bson/src/main/org/bson/codecs/pojo/PojoCodecImpl.java:104: NULL_RETURNS 116580 Calling a method on null object "instanceCreator".