You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2008/09/22 20:34:44 UTC
[jira] Resolved: (LUCENE-552) NPE during mergeSegments
[ https://issues.apache.org/jira/browse/LUCENE-552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-552.
---------------------------------------
Resolution: Incomplete
Need a test case that shows this, or more details.
> NPE during mergeSegments
> ------------------------
>
> Key: LUCENE-552
> URL: https://issues.apache.org/jira/browse/LUCENE-552
> Project: Lucene - Java
> Issue Type: Bug
> Components: Index
> Affects Versions: 2.0.0
> Environment: 2.0-rc1-dev
> Reporter: Ole Kværnø
> Priority: Minor
>
> The JVM stops with a NPE after running for about 6-8 hours, indexing about 500.000 articles.
> After a restart of the JVM, the problematic merge seems to complete OK.
> Exception in thread "Thread-4" java.lang.NullPointerException
> at org.apache.lucene.store.RAMInputStream.<init>(RAMInputStream.java:32)
> at org.apache.lucene.store.RAMDirectory.openInput(RAMDirectory.java:171)
> at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:155)
> at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:129)
> at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:110)
> at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:700)
> at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:684)
> at org.apache.lucene.index.IndexWriter.flushRamSegments(IndexWriter.java:654)
> at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:402)
> at com.magentanews.index.IndexManager.insertDocuments(IndexManager.java:190)
> at com.magentanews.index.SplitIndexManager.insertDocuments(SplitIndexManager.java:152)
> at com.magentanews.index.LuceneFeeder.insertDocuments(LuceneFeeder.java:234)
> at com.magentanews.index.IndexerApplication.insertDocuments(IndexerApplication.java:255)
> at com.magentanews.index.IndexerApplication.run(IndexerApplication.java:160)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org