-
Bug
-
Resolution: Unresolved
-
P4
-
17
-
x86_64
-
linux
The following test failed in the JDK17 CI with UT enabled:
gc/logging/TestUnifiedLoggingSwitchStress.java
Here's a snippet from the log file:
#section:main
----------messages:(5/383)----------
command: main -Xmx256M -Xms256M gc.logging.TestUnifiedLoggingSwitchStress 60
reason: User specified action: run main/othervm -Xmx256M -Xms256M gc.logging.TestUnifiedLoggingSwitchStress 60
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.management,java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
elapsed time (seconds): 31.576
----------configuration:(4/111)----------
Boot Layer
add modules: java.management java.base
add exports: java.base/jdk.internal.misc ALL-UNNAMED
----------System.out:(2/168)----------
For random generator using seed: -4062912699471591550
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-4062912699471591550" to command line.
----------System.err:(7/524)----------
java.lang.NullPointerException: Cannot read field "next" because "x" is null
at java.base/java.util.LinkedList.node(LinkedList.java:576)
at java.base/java.util.LinkedList.get(LinkedList.java:481)
at gc.logging.MemoryStresser.lambda$new$3(TestUnifiedLoggingSwitchStress.java:125)
at gc.logging.MemoryStresser.run(TestUnifiedLoggingSwitchStress.java:141)
at java.base/java.lang.Thread.run(Thread.java:831)
STATUS:Failed.`main' threw exception: java.lang.NullPointerException: Cannot read field "next" because "x" is null
----------rerun:(39/7981)*----------
gc/logging/TestUnifiedLoggingSwitchStress.java
Here's a snippet from the log file:
#section:main
----------messages:(5/383)----------
command: main -Xmx256M -Xms256M gc.logging.TestUnifiedLoggingSwitchStress 60
reason: User specified action: run main/othervm -Xmx256M -Xms256M gc.logging.TestUnifiedLoggingSwitchStress 60
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.management,java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
elapsed time (seconds): 31.576
----------configuration:(4/111)----------
Boot Layer
add modules: java.management java.base
add exports: java.base/jdk.internal.misc ALL-UNNAMED
----------System.out:(2/168)----------
For random generator using seed: -4062912699471591550
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-4062912699471591550" to command line.
----------System.err:(7/524)----------
java.lang.NullPointerException: Cannot read field "next" because "x" is null
at java.base/java.util.LinkedList.node(LinkedList.java:576)
at java.base/java.util.LinkedList.get(LinkedList.java:481)
at gc.logging.MemoryStresser.lambda$new$3(TestUnifiedLoggingSwitchStress.java:125)
at gc.logging.MemoryStresser.run(TestUnifiedLoggingSwitchStress.java:141)
at java.base/java.lang.Thread.run(Thread.java:831)
STATUS:Failed.`main' threw exception: java.lang.NullPointerException: Cannot read field "next" because "x" is null
----------rerun:(39/7981)*----------