You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2012/11/28 11:20:58 UTC
[jira] [Resolved] (JCR-3466) NPE in SingletonTokenStream
[ https://issues.apache.org/jira/browse/JCR-3466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger resolved JCR-3466.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.5.3
Fixed in revision: 1414629
> 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
> Assignee: Marcel Reutegger
> Priority: Minor
> Fix For: 2.5.3
>
>
> 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