[JAVA-1811] NullPointerException if command response is missing an ok field or errmsg field Created: 12/May/15 Updated: 28/May/15 Resolved: 19/May/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Command Operations |
| 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 | ||
| Issue Links: |
|
||||||||
| Description |
|
In some situations, the server has been observed to send command response containing neither an ok field nor an errmsg field. While this is not proper behavior for the server, the driver should throw a MongoCommandException instead of a NullPointerException. |
| Comments |
| Comment by Jeffrey Yemin [ 28/May/15 ] |
|
Released in 3.0.2. |
| Comment by Githook User [ 19/May/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Handling command responses that are missing "ok" and/or "errmsg" fields. |
| Comment by Githook User [ 19/May/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Handling command responses that are missing "ok" and/or "errmsg" fields. |