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

serviceability/sa tests failed with "ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1"

    XMLWordPrintable

    Details

      Description

      The following test failed in the JDK18 CI:

      serviceability/sa/ClhsdbPrintAs.java

      Here's a snippet from the log file:

      ----------System.err:(16/1150)----------
      java.lang.RuntimeException: Test ERROR java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
      at ClhsdbPrintAs.main(ClhsdbPrintAs.java:118)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
      at ClhsdbPrintAs.main(ClhsdbPrintAs.java:61)
      ... 6 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
      JavaTest Message: shutting down test

      Failure modes like this one were previously addressed via:

          JDK-8243455 Many SA tests can fail due to trying to get the stack trace of an active method

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: