You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "xiaoshi (Jira)" <ji...@apache.org> on 2021/08/26 06:16:00 UTC

[jira] [Comment Edited] (LUCENE-10051) lucene branch_8x run ant run-task error

    [ https://issues.apache.org/jira/browse/LUCENE-10051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17401799#comment-17401799 ] 

xiaoshi edited comment on LUCENE-10051 at 8/26/21, 6:15 AM:
------------------------------------------------------------

This error is the same as LUCENE-10058, I fixed them separately.


was (Author: xiaoshi_2021):
This error is the same as LUCENE-10058, I will fix it there.

> lucene branch_8x  run ant run-task error
> ----------------------------------------
>
>                 Key: LUCENE-10051
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10051
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/benchmark
>    Affects Versions: 8.8, 8.9
>            Reporter: xiaoshi
>            Priority: Major
>              Labels: newdev
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org