-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 3.0.3
-
Component/s: Codecs
Calling setObjectClass() with value null causes NullPointerException to be thrown.
java.lang.NullPointerException at java.lang.Class.isAssignableFrom(Native Method) at com.mongodb.DBCollectionObjectFactory.isReflectionDBObject(DBCollectionObjectFactory.java:86) at com.mongodb.DBCollectionObjectFactory.update(DBCollectionObjectFactory.java:61) at com.mongodb.DBCollection.setObjectClass(DBCollection.java:1888)