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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.2, 3.1.0
    • Affects Version/s: 3.0.1
    • Component/s: Command Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: