Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1855

DBCursor.getCursorId can throw NPE if the server did not need to create a cursor

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.0.3, 3.1.0
    • Affects Version/s: 3.0.2
    • Component/s: Query Operations
    • Labels:
      None

      There needs to be an additional null check on the ServerCursor.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: