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


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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to