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

MongoClient.close() throws NPE if MongoClientOptions.isCursorFinalizerEnabled() is false

    • 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: Configuration
    • None

      There is a missing null check for the cursorCleaningService.

      Thanks to asya for finding this.

            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: