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

vmTestbase/nsk/stress/strace/strace015.java failed with 'Cannot read the array length because "<local4>" is null'

XMLWordPrintable

    • b03
    • x86_64
    • linux

        The following test failed in the JDK22 CI:

        vmTestbase/nsk/stress/strace/strace015.java

        Here's a snippet from the log file:

        #section:main
        ----------messages:(6/268)----------
        command: main nsk.stress.strace.strace015
        reason: User specified action: run main/othervm/native nsk.stress.strace.strace015
        started: Fri Dec 08 07:21:40 UTC 2023
        Mode: othervm [/othervm specified]
        finished: Fri Dec 08 07:21:41 UTC 2023
        elapsed time (seconds): 1.142
        ----------configuration:(0/0)----------
        ----------System.out:(0/0)----------
        ----------System.err:(12/806)----------
        java.lang.NullPointerException: Cannot read the array length because "<local4>" is null
        at nsk.stress.strace.strace015.makeSnapshot(strace015.java:141)
        at nsk.stress.strace.strace015.main(strace015.java:78)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1570)

        JavaTest Message: Test threw exception: java.lang.NullPointerException: Cannot read the array length because "<local4>" is null
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.NullPointerException: Cannot read the array length because "<local4>" is null
        ----------rerun:(36/8488)*----------

              dholmes David Holmes
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: