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

Michael McCandless resolved LUCENE-6001.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 5.1
                   Trunk

Thank you Dragan and jane!

> DrillSideways throws NullPointerException for some searches
> -----------------------------------------------------------
>
>                 Key: LUCENE-6001
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6001
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>    Affects Versions: 4.10.1
>            Reporter: Dragan Jotanovic
>            Priority: Blocker
>             Fix For: 4.10.4, Trunk, 5.1
>
>         Attachments: LUCENE-6001.patch
>
>
> For some DrillSideways searches I get NullPointerException.
> I have tracked the problem to DrillSidewaysScorer class, on line 126 in 
> DrillSidewaysScorer.java:
> long baseQueryCost = baseScorer.cost();
> On some of my index segments, this call throws NullPoinerException. 
> "baseScorer" is instance of ReqExclScorer. 
> In ReqExclScorer.java:
> public long cost() {
>     return reqScorer.cost();
>  }
> throws NullPointerException because reqScorer is null.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to