[ https://issues.apache.org/jira/browse/LUCENE-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511259 ]
Michael Busch commented on LUCENE-951: -------------------------------------- Shame on me, this is a pretty bad typo! Rich, thank you for finding this. The patch is good. I'll add a testcase that hits this bug and commit it shortly. > 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: 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]