[JAVA-551] couldn't do update pass - NPE Created: 03/Apr/12  Updated: 19/Oct/16  Resolved: 11/Sep/12

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

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


 Description   

04-03-2012 20:37:59 [ReplicaSetStatus:Updater] WARN  com.mongodb.ReplicaSetStatus [run:424] - couldn't do update pass
java.lang.NullPointerException: null
        at com.mongodb.DBTCPConnector.checkMaster(DBTCPConnector.java:438) ~[mongo.jar:na]
        at com.mongodb.ReplicaSetStatus$Updater.run(ReplicaSetStatus.java:421) ~[mongo.jar:na]
 



 Comments   
Comment by Jeffrey Yemin [ 11/Sep/12 ]

Let me know if you see this again.

Comment by Ryan Nitz [ 03/Apr/12 ]

It is possible, but I do not have any context because it is a background thread in the driver.

Comment by Jeffrey Yemin [ 03/Apr/12 ]

https://github.com/mongodb/mongo-java-driver/blob/b51ca1488a95835609176997260edeaa3d27ae89/src/main/com/mongodb/DBTCPConnector.java#L438

Anything special happening when you see this? Like a call to Mongo.close()?

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