[JAVA-1221] Avoid possible NPEs in JMXConnectionPoolListener Created: 13/May/14  Updated: 31/Mar/15  Resolved: 14/May/14

Status: Closed
Project: Java Driver
Component/s: Monitoring
Affects Version/s: 2.12.0
Fix Version/s: 2.12.2, 3.0.0

Type: Bug Priority: Minor - P4
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   

We've seen some NPEs in JMXConnectionPoolListener when running the unit tests, caused by a race condition when a connection pool is closed by a one thread while another thread is in the middle of using it.



 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'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1221: Avoid possible NPEs in JMXConnectionPoolListener.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/7c0d3677ed12c875e5e48ebced3f99cc2c609082

Comment by Githook User [ 01/Aug/14 ]

Author:

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

Message: JAVA-1221: Avoid possible NPEs in JMXConnectionPoolListener.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/b808c47167c44f593afaf00c8b892117a2c544ba

Comment by Githook User [ 24/Jun/14 ]

Author:

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

Message: JAVA-1221: Avoid possible NPEs in JMXConnectionPoolListener.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/7c0d3677ed12c875e5e48ebced3f99cc2c609082

Comment by Githook User [ 14/May/14 ]

Author:

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

Message: JAVA-1221: Avoid possible NPEs in JMXConnectionPoolListener.
Branch: 2.12.x
https://github.com/mongodb/mongo-java-driver/commit/b808c47167c44f593afaf00c8b892117a2c544ba

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