Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8255855

appcds/jigsaw/NewModuleFinderTest.java test failed due to unexpected NPE

    Details

    • Subcomponent:
    • Resolved In Build:
      b23
    • Verification:
      Verified

      Description

       stderr: [Exception in thread "main" java.lang.ExceptionInInitializerError
      at NewModuleFinderTest$Helper.main(NewModuleFinderTest.java:81)
      Caused by: java.lang.NullPointerException
      at java.base/java.util.Objects.requireNonNull(Objects.java:208)
      at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:260)
      at java.base/java.nio.file.Path.of(Path.java:147)
      at java.base/java.nio.file.Paths.get(Paths.java:69)
      at NewModuleFinderTest.<clinit>(NewModuleFinderTest.java:48)
      ... 1 more
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:457)
      at NewModuleFinderTest.main(NewModuleFinderTest.java:75)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ccheung Calvin Cheung
                Reporter:
                ccheung Calvin Cheung
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: