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

Fix NPE in UnifiedTest.setUp

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0
    • Component/s: Test Failure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Documentation Changes:
      Not Needed

      Description

      VersionedApiTest (both synchronous and reactive) fail on many configurations with the following stacktrace:

      FAILURE: java.lang.NullPointerException (java.lang.NullPointerException)
      java.lang.NullPointerException
      	at com.mongodb.client.unified.RunOnRequirementsMatcher.runOnRequirementsMet(RunOnRequirementsMatcher.java:62)
      	at com.mongodb.client.unified.UnifiedTest.setUp(UnifiedTest.java:133)
      

      See this patch for more details.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              valentin.kovalenko Valentin Kavalenka
              Reporter:
              valentin.kovalenko Valentin Kavalenka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: