Details
-
Bug
-
Resolution: Fixed
-
P4
-
15
-
b06
-
aarch64
-
linux
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8314000 | 17.0.10-oracle | Ivan Bereziuk | P4 | Resolved | Fixed | b01 |
JDK-8316569 | 17.0.10 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
Description
open/test/hotspot/jtreg/serviceability/sa/ClhsdbCDSJstackPrintAll.java
stderr: [Attaching to process 8224, please wait...
Error: java.lang.NullPointerException
java.lang.NullPointerException
at jdk.hotspot.agent/sun.jvm.hotspot.runtime.CompiledVFrame.createStackValue(CompiledVFrame.java:270)
at jdk.hotspot.agent/sun.jvm.hotspot.runtime.CompiledVFrame.getLocals(CompiledVFrame.java:107)
at jdk.hotspot.agent/sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genHTMLForJavaStackTrace(HTMLGenerator.java:1940)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$42.doit(CommandProcessor.java:1578)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2051)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2021)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1901)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:99)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:40)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:280)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:483)
]
exitValue = 0
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: '^Error: .*$' found in stderr: 'Error: java.lang.NullPointerException'
at ClhsdbCDSJstackPrintAll.main(ClhsdbCDSJstackPrintAll.java:117)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.RuntimeException: '^Error: .*$' found in stderr: 'Error: java.lang.NullPointerException'
at jdk.test.lib.process.OutputAnalyzer.shouldNotMatch(OutputAnalyzer.java:372)
at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:151)
at ClhsdbLauncher.run(ClhsdbLauncher.java:200)
at ClhsdbCDSJstackPrintAll.main(ClhsdbCDSJstackPrintAll.java:113)
... 6 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: '^Error: .*$' found in stderr: 'Error: java.lang.NullPointerException'
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: '^Error: .*$' found in stderr: 'Error: java.lang.NullPointerException'
stderr: [Attaching to process 8224, please wait...
Error: java.lang.NullPointerException
java.lang.NullPointerException
at jdk.hotspot.agent/sun.jvm.hotspot.runtime.CompiledVFrame.createStackValue(CompiledVFrame.java:270)
at jdk.hotspot.agent/sun.jvm.hotspot.runtime.CompiledVFrame.getLocals(CompiledVFrame.java:107)
at jdk.hotspot.agent/sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genHTMLForJavaStackTrace(HTMLGenerator.java:1940)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$42.doit(CommandProcessor.java:1578)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2051)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2021)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1901)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:99)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:40)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:280)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:483)
]
exitValue = 0
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: '^Error: .*$' found in stderr: 'Error: java.lang.NullPointerException'
at ClhsdbCDSJstackPrintAll.main(ClhsdbCDSJstackPrintAll.java:117)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.RuntimeException: '^Error: .*$' found in stderr: 'Error: java.lang.NullPointerException'
at jdk.test.lib.process.OutputAnalyzer.shouldNotMatch(OutputAnalyzer.java:372)
at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:151)
at ClhsdbLauncher.run(ClhsdbLauncher.java:200)
at ClhsdbCDSJstackPrintAll.main(ClhsdbCDSJstackPrintAll.java:113)
... 6 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: '^Error: .*$' found in stderr: 'Error: java.lang.NullPointerException'
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: '^Error: .*$' found in stderr: 'Error: java.lang.NullPointerException'
Attachments
Issue Links
- backported by
-
JDK-8314000 [aarch64] NullPointerException during stack walking (clhsdb "where -a")
- Resolved
-
JDK-8316569 [aarch64] NullPointerException during stack walking (clhsdb "where -a")
- Resolved
- duplicates
-
JDK-8270067 AArch64: several clhsdb tests fail with -Xcomp
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/be52dc5f
-
Commit openjdk/jdk/357fe09f
-
Review openjdk/jdk17u-dev/1749
-
Review openjdk/jdk/4737
(2 links to)