Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
8.8, 8.9
-
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
- links to