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

Providing a null value in a List<ServerAddress> throws a NPE

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.4.0
    • 3.0.0
    • API
    • None

    Description

      Currently the MongoClient null checks the list but not the values in the list. This can lead to a NPE.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: