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

serviceability/sa/ClhsdbPrintAll.java failed with "Test ERROR java.lang.RuntimeException: 'cannot be cast to' found in stdout"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b11
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed in the JDK17 CI:

      serviceability/sa/ClhsdbPrintAll.java

      Here's a snippet from the log file:

       exitValue = -1

      java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'cannot be cast to' found in stdout: 'cannot be cast to'

      at ClhsdbPrintAll.main(ClhsdbPrintAll.java:75)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)
      Caused by: java.lang.RuntimeException: 'cannot be cast to' found in stdout: 'cannot be cast to'

      at jdk.test.lib.process.OutputAnalyzer.shouldNotMatch(OutputAnalyzer.java:381)
      at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:172)
      at ClhsdbLauncher.run(ClhsdbLauncher.java:200)
      at ClhsdbPrintAll.main(ClhsdbPrintAll.java:71)
      ... 6 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'cannot be cast to' found in stdout: 'cannot be cast to'

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'cannot be cast to' found in stdout: 'cannot be cast to'
      ----------rerun:(35/6901)*----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cjplummer Chris Plummer
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: