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

NullPointerException if command response is missing an ok field or errmsg field

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.2, 3.1.0
    • Affects Version/s: 3.0.1
    • Component/s: Command Operations
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: