[JAVA-1798] MongoClient.close() throws NPE if MongoClientOptions.isCursorFinalizerEnabled() is false Created: 05/May/15  Updated: 28/May/15  Resolved: 05/May/15

Status: Closed
Project: Java Driver
Component/s: Configuration
Affects Version/s: 3.0.1
Fix Version/s: 3.0.2, 3.1.0

Type: Bug Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

There is a missing null check for the cursorCleaningService.

Thanks to asya for finding this.



 Comments   
Comment by Jeffrey Yemin [ 28/May/15 ]

Released in 3.0.2.

Comment by Githook User [ 05/May/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Checking for null cursorCleaningService in Mongo.close()

JAVA-1798
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/41936027cd687d61a63b08cb06189c017fef2b50

Comment by Githook User [ 05/May/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Checking for null cursorCleaningService in Mongo.close()

JAVA-1798
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/834aa3545e0198244b534c1e96925395b6f820b7

Generated at Thu Feb 08 08:55:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.