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

serviceability/tmtools/jstack/WaitNotifyThreadTest.java failed with Cannot invoke "utils.ThreadStack.getStack()" because "<parameter1>" is null

    XMLWordPrintable

Details

    • aarch64
    • os_x

    Description

      The following test failed in the JDK23 CI:

      serviceability/tmtools/jstack/WaitNotifyThreadTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(9/445)----------
      command: main -XX:+UsePerfData WaitNotifyThreadTest
      reason: User specified action: run main/othervm -XX:+UsePerfData WaitNotifyThreadTest
      started: Fri Mar 29 11:29:05 GMT 2024
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
      Timeout information:
      --- Timeout information end.
      finished: Fri Mar 29 11:40:10 GMT 2024
      elapsed time (seconds): 665.307
      ----------configuration:(4/111)----------
      Boot Layer
        add modules: java.base
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      ----------System.out:(5/432)----------
      [2024-03-29T11:29:05.759224Z] started process 8555 [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+17-1309/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/jstack, 8553] with out/err redirected to './out.5483022941801143837.txt' and './err.5483022941801143837.txt'
      Timeout signalled after 480 seconds
      [2024-03-29T11:38:04.432169Z] process 8555 finished with exit code = 134
      Process output: Exit code: 134
      stdout:stderr:
      ----------System.err:(14/1012)----------
      java.lang.NullPointerException: Cannot invoke "utils.ThreadStack.getStack()" because "<parameter1>" is null
      at WaitNotifyThreadTest.analyzeThreadStackWaiting(WaitNotifyThreadTest.java:134)
      at WaitNotifyThreadTest.doTest(WaitNotifyThreadTest.java:120)
      at WaitNotifyThreadTest.doTest(WaitNotifyThreadTest.java:96)
      at WaitNotifyThreadTest.main(WaitNotifyThreadTest.java:90)
      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:1575)

      JavaTest Message: Test threw exception: java.lang.NullPointerException: Cannot invoke "utils.ThreadStack.getStack()" because "<parameter1>" is null
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.NullPointerException: Cannot invoke "utils.ThreadStack.getStack()" because "<parameter1>" is null
      ----------rerun:(36/9108)*----------

      Attachments

        Activity

          People

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: