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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.4.0
    • Affects Version/s: 3.0.0
    • Component/s: API
    • Labels:
      None

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

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

              Created:
              Updated:
              Resolved: