[ https://issues.apache.org/jira/browse/LUCENE-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767373#action_12767373 ]
Peter Keegan commented on LUCENE-1986: -------------------------------------- + if (!more) { + return false; + } I was about to submit this same patch today, but I see you beat me to it :) Thanks Mark. > NPE in NearSpansUnordered from PayloadNearQuery > ----------------------------------------------- > > Key: LUCENE-1986 > URL: https://issues.apache.org/jira/browse/LUCENE-1986 > Project: Lucene - Java > Issue Type: Bug > Components: Search > Affects Versions: 2.9 > Reporter: Peter Keegan > Assignee: Michael McCandless > Fix For: 2.9.1, 3.0 > > Attachments: LUCENE-1986.patch, LUCENE-1986.patch, > TestPayloadNearQuery1.java > > > The following query causes a NPE in NearSpansUnordered, and is reproducible > with the the attached unit test. The failure occurs on the last document > scored. -- 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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org