Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903331

jtreg fails with StringIndexOutOfBoundsException: Index -1 out of bounds for length 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg7.1
    • jtreg7.0
    • tools
    • None

      Test results: passed: 27
      [2022-09-26T09:04:28,984Z] Error: Unexpected exception occurred! java.lang.StringIndexOutOfBoundsException: Index -1 out of bounds for length 0
      [2022-09-26T09:04:28,984Z] java.lang.StringIndexOutOfBoundsException: Index -1 out of bounds for length 0
      [2022-09-26T09:04:28,985Z] at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55)
      [2022-09-26T09:04:28,985Z] at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52)
      [2022-09-26T09:04:28,985Z] at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213)
      [2022-09-26T09:04:28,985Z] at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210)
      [2022-09-26T09:04:28,985Z] at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98)
      [2022-09-26T09:04:28,985Z] at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
      [2022-09-26T09:04:28,985Z] at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
      [2022-09-26T09:04:28,985Z] at java.base/java.lang.String.checkIndex(String.java:4557)
      [2022-09-26T09:04:28,985Z] at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:46)
      [2022-09-26T09:04:28,985Z] at java.base/java.lang.String.charAt(String.java:1515)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.InitialUrlFilter.isInitialUrlMatch(InitialUrlFilter.java:133)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.InitialUrlFilter.accepts(InitialUrlFilter.java:159)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.ParameterFilter.accepts(ParameterFilter.java:149)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.ParameterFilter.accepts(ParameterFilter.java:96)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.TRT_Iterator.wouldAccept(TRT_Iterator.java:914)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.TRT_Iterator.findNext(TRT_Iterator.java:752)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.TRT_Iterator.init(TRT_Iterator.java:697)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.TRT_Iterator.<init>(TRT_Iterator.java:157)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.TestResultTable.getIterator(TestResultTable.java:1206)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.TestResultTable.getIterator(TestResultTable.java:1116)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.report.ReportSettings.setupSortedResults(ReportSettings.java:523)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.report.Report.writeReports(Report.java:177)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.regtest.report.RegressionReporter.report(RegressionReporter.java:106)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.regtest.tool.Tool.batchHarness(Tool.java:1992)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.regtest.tool.Tool.run(Tool.java:1338)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.regtest.tool.Tool.run(Tool.java:1082)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.regtest.tool.Tool.main(Tool.java:155)
      [2022-09-26T09:04:28,985Z] at com.sun.javatest.regtest.Main.main(Main.java:46)

            jjg Jonathan Gibbons
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: