lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-951) PATCH MultiLevelSkipListReader NullPointerException
Date Thu, 12 Jul 2007 01:33:04 GMT

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

Michael Busch updated LUCENE-951:
---------------------------------

    Attachment: lucene-951.patch

With this patch reusing the same TermPositions object for different terms
works fine now. It includes a testcase that shows the bug. All tests pass.

> PATCH MultiLevelSkipListReader NullPointerException
> ---------------------------------------------------
>
>                 Key: LUCENE-951
>                 URL: https://issues.apache.org/jira/browse/LUCENE-951
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.2
>            Reporter: Rich Johnson
>            Assignee: Michael Busch
>         Attachments: lucene-951.patch, MultiLevelSkipListReader.patch
>
>
>  When Reconstructing Document Using Luke Tool, received NullPointerException.
> java.lang.NullPointerException
>         at org.apache.lucene.index.MultiLevelSkipListReader.loadSkipLevels(MultiLevelSkipListReader.java:188)
>         at org.apache.lucene.index.MultiLevelSkipListReader.skipTo(MultiLevelSkipListReader.java:97)
>         at org.apache.lucene.index.SegmentTermDocs.skipTo(SegmentTermDocs.java:164)
>         at org.getopt.luke.Luke$2.run(Unknown Source)
> Luke version 0.7.1
> I emailed with Luke author Andrzej Bialecki and he suggested the attached patch file
which fixed the problem.

-- 
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message