[JAVA-1855] DBCursor.getCursorId can throw NPE if the server did not need to create a cursor Created: 10/Jun/15 Updated: 16/Jul/15 Resolved: 10/Jun/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Query Operations |
| Affects Version/s: | 3.0.2 |
| Fix Version/s: | 3.0.3, 3.1.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 |
|
There needs to be an additional null check on the ServerCursor. |
| Comments |
| Comment by Jeffrey Yemin [ 16/Jul/15 ] |
|
Fix is now available in the 3.0.3 release. |
| Comment by Githook User [ 10/Jun/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Add null check for the ServerCursor, as the server might not have created a cursor even if there are results. |
| Comment by Githook User [ 10/Jun/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Add null check for the ServerCursor, as the server might not have created a cursor even if there are results. |