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

tools/launcher/RunpathTest.java fails with java.lang.NullPointerException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: tools
    • Labels:
    • Resolved In Build:
      b40

      Backports

        Description

        tools/launcher/RunpathTest.java fails with java.lang.NullPointerException

        ----------System.err:(31/1793)----------
        Warning: no suitable elf reader!
        java.lang.NullPointerException
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1090)
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
        at TestHelper.doExec(TestHelper.java:458)
        at TestHelper.doExec(TestHelper.java:429)
        at RunpathTest.elfCheck(RunpathTest.java:57)
        at RunpathTest.testRpath(RunpathTest.java:68)
        at RunpathTest.main(RunpathTest.java:74)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        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$SameVMRunnable.run(MainActionHelper.java:230)
        at java.base/java.lang.Thread.run(Thread.java:844)
        java.lang.RuntimeException
        at TestHelper.doExec(TestHelper.java:472)
        at TestHelper.doExec(TestHelper.java:429)
        at RunpathTest.elfCheck(RunpathTest.java:57)
        at RunpathTest.testRpath(RunpathTest.java:68)
        at RunpathTest.main(RunpathTest.java:74)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        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$SameVMRunnable.run(MainActionHelper.java:230)
        at java.base/java.lang.Thread.run(Thread.java:844)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ksrini Kumar Srinivasan
                Reporter:
                mli Hamlin Li
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: