[JAVA-1277] Passing a default MongoOptions to Mongo constructor throws exception Created: 13/Jun/14  Updated: 31/Mar/15  Resolved: 24/Jun/14

Status: Closed
Project: Java Driver
Component/s: Configuration
Affects Version/s: None
Fix Version/s: 3.0.0

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


 Description   

It tries to create a MongoClientOptions via Builder and passes it a null read preference



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Added null checks to MongoOptions.toClientOptions

Default MongoOptions are now converted to valid MongoClientOptions
JAVA-1277
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/142e92e15f2b94e6512a42b101bfcdfc6039d07f

Comment by Githook User [ 23/Jun/14 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Added null checks to MongoOptions.toClientOptions

Default MongoOptions are now converted to valid MongoClientOptions
JAVA-1277
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/142e92e15f2b94e6512a42b101bfcdfc6039d07f

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