You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Julie Tibshirani (Jira)" <ji...@apache.org> on 2020/09/13 22:13:00 UTC

[jira] [Created] (LUCENE-9521) TestPassageSelector#randomizedSanityCheck failure

Julie Tibshirani created LUCENE-9521:
----------------------------------------

             Summary: TestPassageSelector#randomizedSanityCheck failure
                 Key: LUCENE-9521
                 URL: https://issues.apache.org/jira/browse/LUCENE-9521
             Project: Lucene - Core
          Issue Type: Test
            Reporter: Julie Tibshirani


It seems like one of the passages can have an invalid range:
{code:java}
java.lang.IndexOutOfBoundsException: start 58, end 63, length 61
	at __randomizedtesting.SeedInfo.seed([81F11CA50D71B99C:75C437D3A11EEB96]:0)
	at java.base/java.lang.AbstractStringBuilder.checkRange(AbstractStringBuilder.java:1805)
	at java.base/java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:686)
	at java.base/java.lang.StringBuilder.append(StringBuilder.java:211)
	at org.apache.lucene.search.matchhighlight.PassageFormatter.format(PassageFormatter.java:98)
	at org.apache.lucene.search.matchhighlight.PassageFormatter.format(PassageFormatter.java:85)
	at org.apache.lucene.search.matchhighlight.TestPassageSelector.randomizedSanityCheck(TestPassageSelector.java:275)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
{code}
This reproduces with the random seed "-Dtests.seed=81F11CA50D71B99C".



--
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