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

[Testbug] runtime/handshake/HandshakeTransitionTest throws NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Environment:

      32-bit

    • Subcomponent:
    • Resolved In Build:
      b36
    • CPU:
      x86

      Backports

        Description

        From a JPRT run on 32-bit Linux

        ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
        REASON: User specified action: run main/othervm/native -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI HandshakeTransitionTest
        TIME: 0.708 seconds
        messages:
        command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI HandshakeTransitionTest
        reason: User specified action: run main/othervm/native -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI HandshakeTransitionTest
        Mode: othervm [/othervm specified]
        elapsed time (seconds): 0.708
        configuration:
        STDOUT:
        STDERR:
        java.lang.NullPointerException
        at HandshakeTransitionTest.main(HandshakeTransitionTest.java:63)
        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.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:844)

        I can't see how the NPE can arise though!

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dlong Dean Long
                Reporter:
                dholmes David Holmes
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: