lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Created: (LUCENE-2940) NPE in TestNRTThreads
Date Sun, 27 Feb 2011 10:40:58 GMT
NPE in TestNRTThreads

                 Key: LUCENE-2940
             Project: Lucene - Java
          Issue Type: Bug
            Reporter: Michael McCandless
            Assignee: Michael McCandless
             Fix For: 3.1, 4.0

I hit this when while(1)ing this test... I think it's because the logic on when we ask the
SegmentReader to load stored fields is off...

*** Thread: Lucene Merge Thread #1 ***
       at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(
       at org.apache.lucene.index.ConcurrentMergeScheduler$
Caused by: java.lang.NullPointerException
       at org.apache.lucene.index.SegmentReader$FieldsReaderLocal.initialValue(
       at org.apache.lucene.index.SegmentReader$FieldsReaderLocal.initialValue(
       at org.apache.lucene.util.CloseableThreadLocal.get(
       at org.apache.lucene.index.SegmentReader.getFieldsReader(
       at org.apache.lucene.index.SegmentReader.document(
       at org.apache.lucene.index.IndexReader.document(
       at org.apache.lucene.index.TestNRTThreads$1.warm(
       at org.apache.lucene.index.IndexWriter.mergeMiddle(
       at org.apache.lucene.index.IndexWriter.merge(
       at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(
       at org.apache.lucene.index.ConcurrentMergeScheduler$

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message