[JAVA-2059] Connection failures on sendMessage can cause NPE with command monitoring enabled Created: 10/Dec/15  Updated: 18/Jul/16  Resolved: 11/Dec/15

Status: Closed
Project: Java Driver
Component/s: Monitoring
Affects Version/s: 3.2.0
Fix Version/s: 3.2.1

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   

With command monitoring enabled, an IOException on send message will result in an NPE while trying to publish the command-failed event.



 Comments   
Comment by Jeffrey Yemin [ 13/Jan/16 ]

Closing for 3.2.1 release.

Comment by Githook User [ 14/Dec/15 ]

Author:

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

Message: JAVA-2059: For generic command, legacy write, and legacy getMore protocols, properly publish command failed event on connection failure
Branch: 3.2.x
https://github.com/mongodb/mongo-java-driver/commit/2df2adf9ef9ff22e0bad59b80225403e1169d9a5

Comment by Githook User [ 11/Dec/15 ]

Author:

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

Message: JAVA-2059: For generic command, legacy write, and legacy getMore protocols, properly publish command failed event on connection failure
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/17de3636056d1419bdd67a9efa0c4294e0747931

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