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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.0.2, 3.1.0
    • 3.0.1
    • Command Operations
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: