jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3466) NPE in SingletonTokenStream
Date Wed, 28 Nov 2012 09:25:00 GMT
Marcel Reutegger created JCR-3466:
-------------------------------------

             Summary: NPE in SingletonTokenStream
                 Key: JCR-3466
                 URL: https://issues.apache.org/jira/browse/JCR-3466
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.4
            Reporter: Marcel Reutegger
            Priority: Minor


Occasionally I see a NPE in SingletonTokenStream when the thread triggering the index update
is interrupted:

Exception in thread "DynamicPooledExecutor" java.lang.NullPointerException
        at org.apache.jackrabbit.core.query.lucene.SingletonTokenStream.incrementToken(SingletonTokenStream.java:89)
        at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:141)
        at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:276)
        at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:766)
        at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2060)
        at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2034)
        at org.apache.jackrabbit.core.query.lucene.AbstractIndex$1.run(AbstractIndex.java:198)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

--
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

Mime
View raw message