lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-1246) Missing a null check in BooleanQuery.toString(String)
Date Wed, 03 Dec 2008 14:17:44 GMT

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

Mark Miller resolved LUCENE-1246.
---------------------------------

       Resolution: Fixed
    Lucene Fields: [New, Patch Available]  (was: [Patch Available, New])

Thanks John!

> Missing a null check in BooleanQuery.toString(String)
> -----------------------------------------------------
>
>                 Key: LUCENE-1246
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1246
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Query/Scoring
>    Affects Versions: 2.4
>            Reporter: John Wang
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: BooleanQueryNPE.txt
>
>
> Our queryParser/tokenizer in some situations creates null query and was added as a clause
to Boolean query.
> When we try to log the query, NPE is thrown from log(booleanQuery).
> In BooleanQuery.toString(String), a simple null check is overlooked.

-- 
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