[
https://issues.apache.org/jira/browse/LUCENE-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir resolved LUCENE-2884.
---------------------------------
Resolution: Fixed
Fix Version/s: 4.0
Assignee: Michael McCandless
Thanks for tracking this down Mike!
> StandardCodec sometimes supplies skip pointers past EOF
> -------------------------------------------------------
>
> Key: LUCENE-2884
> URL: https://issues.apache.org/jira/browse/LUCENE-2884
> Project: Lucene - Java
> Issue Type: Bug
> Components: Codecs
> Affects Versions: 4.0
> Reporter: Robert Muir
> Assignee: Michael McCandless
> Fix For: 4.0
>
>
> Pretty sure this is 4.0-only:
> I added an assertion, the test to reproduce is:
> ant test-core -Dtestcase=TestPayloadNearQuery -Dtestmethod=testMinFunction
> -Dtests.seed=4841190615781133892:3888521539169738727 -Dtests.multiplier=3
> {noformat}
> [junit] Testcase:
> testMinFunction(org.apache.lucene.search.payloads.TestPayloadNearQuery):
> FAILED
> [junit] invalid skip pointer: 404, length=337
> [junit] junit.framework.AssertionFailedError: invalid skip pointer: 404,
> length=337
> [junit] at
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1127)
> [junit] at
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1059)
> [junit] at
> org.apache.lucene.index.codecs.MultiLevelSkipListReader.init(MultiLevelSkipListReader.java:176)
> [junit] at
> org.apache.lucene.index.codecs.standard.DefaultSkipListReader.init(DefaultSkipListReader.java:50)
> [junit] at
> org.apache.lucene.index.codecs.standard.StandardPostingsReader$SegmentDocsAndPositionsAndPayloadsEnum.advance(StandardPostingsReader.java:742)
> [junit] at
> org.apache.lucene.search.spans.TermSpans.skipTo(TermSpans.java:72)
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]