You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (Commented) (JIRA)" <ji...@apache.org> on 2011/12/07 17:44:40 UTC

[jira] [Commented] (LUCENE-3624) Throw exception for "Multi-SortedSource" instead of returning null

    [ 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