NPe in MultiReader.isCurrent() and getVersion() -----------------------------------------------
Key: LUCENE-781 URL: https://issues.apache.org/jira/browse/LUCENE-781 Project: Lucene - Java Issue Type: Bug Components: Index Reporter: Daniel Naber Attachments: multireader.diff, multireader_test.diff I'm attaching a fix for the NPE in MultiReader.isCurrent() plus a testcase. For getVersion(), we should throw a better exception that NPE. I will commit unless someone objects or has a better idea. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]