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

Dawid Weiss commented on LUCENE-10419:
--------------------------------------

[https://jenkins.thetaphi.de/job/Lucene-main-Linux/32788/consoleText]

 

I admit this is the most bizarre thing I've seen in a while. When you look at 
the above log, this message should be logged at least 5 times:
{code:java}
Exception thrown=java.lang.StringIndexOutOfBoundsException: start 1, end 0, 
length 0, retries: 0, matcher.group(1)= {code}
but it gets logged once (and only on the final retry). Here is the code that 
logs these messages:

[https://github.com/apache/lucene/blob/main/gradle/validation/validate-source-patterns.gradle#L176-L191]

Uwe, can you log to that VM and try to run just
{code:java}
gradlew cleanValidateSourcePatterns validateSourcePatterns {code}
a few times to see if it fails on individual runs? Or you can give me temporary 
access to that machine so that I can try it there - this problem only shows up 
on runs from your CI, nowhere else. But it's so consistent that it's 
unbelievable that it's a hardware problem or a VM problem (it happens with many 
VMs).

> Identify occasional validateSourcePatterns error on CI servers
> --------------------------------------------------------------
>
>                 Key: LUCENE-10419
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10419
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Trivial
>
> {code}
> What went wrong: Execution failed for task 
> ':lucene:analysis:icu:validateSourcePatterns'. > start 1, end 0, length 0
> {code}
>  
> This annoys me. It's a message from stringbuilder.substring somewhere - let's 
> get the stack of that first and see where the bug is.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to