Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-10051

lucene branch_8x run ant run-task error

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.8, 8.9
    • 8.10
    • modules/benchmark
    • New

    Description

      When running ant run-task command, the default thread name is main not ParallelTaskThread,
      StringIndexOutOfBoundsException error is thrown.

      Here is the stack error:

       
      [java] ####################
      [java] ### D O N E !!! ###
      [java] ####################
      [java] Error: cannot execute the algorithm! String index out of range: -15
      [java] java.lang.StringIndexOutOfBoundsException: String index out of range: -15
      [java] at java.lang.String.substring(String.java:1967)
      [java] at org.apache.lucene.benchmark.byTask.feeds.ReutersContentSource.getNextDocData(ReutersContentSource.java:120)
      [java] at org.apache.lucene.benchmark.byTask.feeds.DocMaker.makeDocument(DocMaker.java:371)
      [java] at org.apache.lucene.benchmark.byTask.tasks.AddDocTask.setup(AddDocTask.java:52)
      [java] at org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(PerfTask.java:134)
      [java] at org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doSerialTasks(TaskSequence.java:198)
      [java] at org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doLogic(TaskSequence.java:139)
      [java] at org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(PerfTask.java:146)
      [java] at org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doSerialTasks(TaskSequence.java:198)
      [java] at org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doLogic(TaskSequence.java:139)
      [java] at org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(PerfTask.java:146)
      [java] at org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doSerialTasks(TaskSequence.java:198)
      [java] at org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doLogic(TaskSequence.java:139)
      [java] at org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(PerfTask.java:146)
      [java] at org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doSerialTasks(TaskSequence.java:198)
      [java] at org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doLogic(TaskSequence.java:139)
      [java] at org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(PerfTask.java:146)
      [java] at org.apache.lucene.benchmark.byTask.utils.Algorithm.execute(Algorithm.java:332)
      [java] at org.apache.lucene.benchmark.byTask.Benchmark.execute(Benchmark.java:77)
      [java] at org.apache.lucene.benchmark.byTask.Benchmark.exec(Benchmark.java:121)
      [java] at org.apache.lucene.benchmark.byTask.Benchmark.main(Benchmark.java:85)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xiaoshi_2021 xiaoshi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m