Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
3.0.3, 3.0.4
-
None
Description
com.mongodb.DB.createCollection is documented as deferring the collection creation if the options parameter is null.
This was the behaviour in 2.x
3.0.x fail with a NullPointerException because the options parameter is accessed in com.mongodb.DB.getCreateCollectionOperation without a null-check.