lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3624) Throw exception for "Multi-SortedSource" instead of returning null
Date Wed, 07 Dec 2011 16:44:40 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164507#comment-13164507
] 

Simon Willnauer commented on LUCENE-3624:
-----------------------------------------

+1 to commit
                
> Throw exception for "Multi-SortedSource" instead of returning null
> ------------------------------------------------------------------
>
>                 Key: LUCENE-3624
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3624
>             Project: Lucene - Java
>          Issue Type: Task
>            Reporter: Robert Muir
>         Attachments: LUCENE-3624.patch
>
>
> Spinoff of LUCENE-3623: currently if you addIndexes(FIR) or similar, you get a NPE deep
within codecs during merge.
> I think the NPE is confusing, it looks like a bug but a clearer exception would be an
improvement.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message