-
Bug
-
Resolution: Unresolved
-
P4
-
21
test java/lang/management/ThreadMXBean/ThreadStackTrace.java has failed with the following error:
java.lang.Exception: Stack trace
at java.base/java.lang.Thread.dumpStack(Thread.java:2209)
at Utils.checkThreadState(Utils.java:63)
at ThreadStackTrace.main(ThreadStackTrace.java:92)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1583)
java.lang.RuntimeException: Examiner expected to have WAITING but got RUNNABLE
at Utils.checkThreadState(Utils.java:64)
at ThreadStackTrace.main(ThreadStackTrace.java:92)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1583)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
JavaTest Message: Problem cleaning up the following threads:
Examiner
at java.base/jdk.internal.misc.Unsafe.park(Native Method)
at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:221)
at java.base/java.util.concurrent.Phaser$QNode.block(Phaser.java:1133)
at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3780)
at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3725)
at java.base/java.util.concurrent.Phaser.internalAwaitAdvance(Phaser.java:1063)
at java.base/java.util.concurrent.Phaser.arriveAndAwaitAdvance(Phaser.java:685)
at ThreadStackTrace$Examiner.examine2(ThreadStackTrace.java:247)
at ThreadStackTrace$Examiner.examine1(ThreadStackTrace.java:219)
at ThreadStackTrace$Examiner.run(ThreadStackTrace.java:294)
result: Error. Error while cleaning up threads after test
test result: Error. Error while cleaning up threads after test
java.lang.Exception: Stack trace
at java.base/java.lang.Thread.dumpStack(Thread.java:2209)
at Utils.checkThreadState(Utils.java:63)
at ThreadStackTrace.main(ThreadStackTrace.java:92)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1583)
java.lang.RuntimeException: Examiner expected to have WAITING but got RUNNABLE
at Utils.checkThreadState(Utils.java:64)
at ThreadStackTrace.main(ThreadStackTrace.java:92)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1583)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
JavaTest Message: Problem cleaning up the following threads:
Examiner
at java.base/jdk.internal.misc.Unsafe.park(Native Method)
at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:221)
at java.base/java.util.concurrent.Phaser$QNode.block(Phaser.java:1133)
at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3780)
at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3725)
at java.base/java.util.concurrent.Phaser.internalAwaitAdvance(Phaser.java:1063)
at java.base/java.util.concurrent.Phaser.arriveAndAwaitAdvance(Phaser.java:685)
at ThreadStackTrace$Examiner.examine2(ThreadStackTrace.java:247)
at ThreadStackTrace$Examiner.examine1(ThreadStackTrace.java:219)
at ThreadStackTrace$Examiner.run(ThreadStackTrace.java:294)
result: Error. Error while cleaning up threads after test
test result: Error. Error while cleaning up threads after test