TEST: jdk/jfr/jvm/TestVirtualThreadExclusion.java TEST JDK: /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk ACTION: compile -- Passed. Compilation successful REASON: User specified action: run compile TestVirtualThreadExclusion.java LatchedThread.java TIME: 21.961 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm/TestVirtualThreadExclusion.java /tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm/LatchedThread.java reason: User specified action: run compile TestVirtualThreadExclusion.java LatchedThread.java started: Thu Nov 14 00:52:00 CST 2024 Additional options from @modules: --add-modules jdk.jfr --add-exports jdk.jfr/jdk.jfr.internal=ALL-UNNAMED Mode: othervm finished: Thu Nov 14 00:52:22 CST 2024 elapsed time (seconds): 21.961 configuration: javac compilation environment add modules: jdk.jfr add exports: jdk.jfr/jdk.jfr.internal ALL-UNNAMED source path: /tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm /tmp/tone/run/jtreg/jdk-repo/test/lib class path: /tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/72/jdk/jfr/jvm/TestVirtualThreadExclusion.d /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/72/test/lib rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestVirtualThreadExclusion && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/javac \ -J-Xcomp \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-Xcomp -ea -esa' \ -J-Dtest.tool.vm.opts='-J-Xcomp -J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -J-Dtest.name=jdk/jfr/jvm/TestVirtualThreadExclusion.java \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm/TestVirtualThreadExclusion.java \ -J-Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm \ -J-Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -J-Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/72/jdk/jfr/jvm/TestVirtualThreadExclusion.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/72/jdk/jfr/jvm/TestVirtualThreadExclusion.d:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/72/test/lib \ -J-Dtest.modules=jdk.jfr/jdk.jfr.internal \ @/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestVirtualThreadExclusion.d/compile.0.jta STDOUT: STDERR: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. ACTION: build -- Passed. All files up to date REASON: Named class compiled on demand TIME: 0.0 seconds messages: command: build jdk.jfr.jvm.TestVirtualThreadExclusion reason: Named class compiled on demand started: Thu Nov 14 00:52:22 CST 2024 finished: Thu Nov 14 00:52:22 CST 2024 elapsed time (seconds): 0.0 ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.NullPointerException: Cannot invoke "jdk.jfr.consumer.RecordedThread.getJavaThreadId()" because the return value of "jdk.jfr.consumer.RecordedEvent.getThread()" is null REASON: User specified action: run main/othervm jdk.jfr.jvm.TestVirtualThreadExclusion TIME: 13.874 seconds messages: command: main jdk.jfr.jvm.TestVirtualThreadExclusion reason: User specified action: run main/othervm jdk.jfr.jvm.TestVirtualThreadExclusion started: Thu Nov 14 00:52:22 CST 2024 Mode: othervm [/othervm specified] Additional options from @modules: --add-modules jdk.jfr --add-exports jdk.jfr/jdk.jfr.internal=ALL-UNNAMED finished: Thu Nov 14 00:52:36 CST 2024 elapsed time (seconds): 13.874 configuration: Boot Layer add modules: jdk.jfr add exports: jdk.jfr/jdk.jfr.internal ALL-UNNAMED STDOUT: Started virtual thread id=41 Started virtual thread id=43 Started virtual thread id=46 Started virtual thread id=48 Started virtual thread id=50 Started virtual thread id=52 Started virtual thread id=55 Started virtual thread id=57 Started virtual thread id=59 Started virtual thread id=62 Event:jdk.VirtualThreadEnd { startTime = 00:52:34.766 (2024-11-14) javaThreadId = 41 } STDERR: java.lang.NullPointerException: Cannot invoke "jdk.jfr.consumer.RecordedThread.getJavaThreadId()" because the return value of "jdk.jfr.consumer.RecordedEvent.getThread()" is null at jdk.jfr.jvm.TestVirtualThreadExclusion.verifyThreadExclusion(TestVirtualThreadExclusion.java:75) at jdk.jfr.jvm.TestVirtualThreadExclusion.main(TestVirtualThreadExclusion.java:69) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1497) JavaTest Message: Test threw exception: java.lang.NullPointerException: Cannot invoke "jdk.jfr.consumer.RecordedThread.getJavaThreadId()" because the return value of "jdk.jfr.consumer.RecordedEvent.getThread()" is null JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.NullPointerException: Cannot invoke "jdk.jfr.consumer.RecordedThread.getJavaThreadId()" because the return value of "jdk.jfr.consumer.RecordedEvent.getThread()" is null rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestVirtualThreadExclusion && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ CLASSPATH=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/72/jdk/jfr/jvm/TestVirtualThreadExclusion.d:/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/72/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/java \ -Dtest.vm.opts='-Xcomp -ea -esa' \ -Dtest.tool.vm.opts='-J-Xcomp -J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -Dtest.name=jdk/jfr/jvm/TestVirtualThreadExclusion.java \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm/TestVirtualThreadExclusion.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/72/jdk/jfr/jvm/TestVirtualThreadExclusion.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/72/jdk/jfr/jvm/TestVirtualThreadExclusion.d:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/72/test/lib \ -Dtest.modules=jdk.jfr/jdk.jfr.internal \ --add-modules jdk.jfr \ --add-exports jdk.jfr/jdk.jfr.internal=ALL-UNNAMED \ -Xcomp \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestVirtualThreadExclusion.d/main.1.jta TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException: Cannot invoke "jdk.jfr.consumer.RecordedThread.getJavaThreadId()" because the return value of "jdk.jfr.consumer.RecordedEvent.getThread()" is null