You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2015/04/07 13:40:13 UTC

[jira] [Resolved] (LUCENE-6404) MemoryIndex payloads are sometimes out of bounds.

     [ https://issues.apache.org/jira/browse/LUCENE-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-6404.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 5.2
                   Trunk

> MemoryIndex payloads are sometimes out of bounds.
> -------------------------------------------------
>
>                 Key: LUCENE-6404
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6404
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: Trunk, 5.2
>
>         Attachments: LUCENE-6404.patch, LUCENE-6404_test.patch
>
>
> See patch for tests:
> ant test  -Dtestcase=TestMemoryIndexAgainstRAMDir -Dtests.method=testRandomQueries -Dtests.seed=CB6EBF17EFD0300E
> {noformat}
>    [junit4] ERROR   4.82s | TestMemoryIndexAgainstRAMDir.testRandomQueries <<<
>    [junit4]    > Throwable #1: java.lang.RuntimeException: term [74 65 6c 6d]: doc 0: pos 85 payload length is out of bounds 0
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([CB6EBF17EFD0300E:95450FFBD70A1D90]:0)
>    [junit4]    > 	at org.apache.lucene.index.CheckIndex.checkFields(CheckIndex.java:1335)
>    [junit4]    > 	at org.apache.lucene.index.CheckIndex.testPostings(CheckIndex.java:1694)
>    [junit4]    > 	at org.apache.lucene.util.TestUtil.checkReader(TestUtil.java:315)
>    [junit4]    > 	at org.apache.lucene.util.TestUtil.checkReader(TestUtil.java:297)
>    [junit4]    > 	at org.apache.lucene.index.memory.TestMemoryIndexAgainstRAMDir.assertAgainstRAMDirectory(TestMemoryIndexAgainstRAMDir.java
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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