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

[aarch64] NullPointerException during stack walking (clhsdb "where -a")

    XMLWordPrintable

Details

    • b06
    • aarch64
    • linux

    Backports

      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'

        Attachments

          Issue Links

            Activity

              People

                ngasson Nick Gasson
                phedlin Patric Hedlin (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: