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

Astrolabe integration failure "java.lang.NullPointerException: Cannot invoke String.equals"

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Java Drivers
    • Not Needed

      Summary

      The Astrolabe tasks for the Java driver started failing on Nov 20. See a recent example here and an example from Nov 20 here. The failure is:

      Exception in thread "main" java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "com.mongodb.client.unified.UnifiedTestModifications$TestDef.access$400(com.mongodb.client.unified.UnifiedTestModifications$TestDef)" is null
      	at com.mongodb.client.unified.UnifiedTestModifications$TestApplicator.test(UnifiedTestModifications.java:435)
      	at com.mongodb.client.unified.UnifiedTestModifications.doSkips(UnifiedTestModifications.java:51)
      	at com.mongodb.client.unified.UnifiedTest.setUp(UnifiedTest.java:218)
      	at com.mongodb.workload.WorkloadExecutor.main(WorkloadExecutor.java:100)
      

      Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).

      The "main" branch, starting Nov 20.

      How to Reproduce

      Start a new Astrolabe task and enable the "Java" tasks:

      git clone git@github.com:mongodb-labs/drivers-atlas-testing.git
      cd drivers-atlas-testing
      evergreen patch --project  drivers-atlas-testing
      

      Additional Background

      The Java integration in Astrolabe is here. See the history of Astrolabe builds here.

            Assignee:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Reporter:
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: