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

Anusha Rao commented on LUCENE-4751:
------------------------------------

Simon, Thanks for your reply. The limit of the open files is already set to
a big number about 80000 or so. Do you think there was an issue with the
older lucene core jar with this respect?





                
> IndexReader close throwing NullPointerException
> -----------------------------------------------
>
>                 Key: LUCENE-4751
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4751
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/search
>    Affects Versions: 2.9.2
>         Environment: RedHat
>            Reporter: Anusha Rao
>
> Hi,
>                 Has anyone seen the NullPointerException as shown below 
> before? We have used Lucene to build a public site search functionality.
> All the IndexReader objects in there are closed appropriately except one that 
> throws the following error and results in (too many files open) exception.
> This brings the entire site down.
> The lucene version we are using is lucene-core-2.9.2.jar
>  
> Any idea what could cause this exception?
>  
>  
> java.lang.NullPointerException
>        at 
> org.apache.lucene.index.SegmentReader$Norm.decRef(SegmentReader.java:393)
>        at 
> org.apache.lucene.index.SegmentReader.doClose(SegmentReader.java:868)
>        at org.apache.lucene.index.IndexReader.decRef(IndexReader.java:170)
>        at 
> org.apache.lucene.index.DirectoryReader.doClose(DirectoryReader.java:803)
>        at org.apache.lucene.index.IndexReader.decRef(IndexReader.java:170)
>        at org.apache.lucene.index.IndexReader.close(IndexReader.java:1302)
>        at search.Searcher.search(Searcher.java:387)   // the close in this 
> class does not execute
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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