lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: [JENKINS] Lucene-Solr-tests-only-trunk-java7 - Build # 1764 - Failure
Date Sun, 19 Feb 2012 17:35:46 GMT
I know the issue. Not easy to solve:

It's that constellation:
[junit] ParallelAtomicReader(SlowCompositeReaderWrapper(StandardDirectoryReader(segments_1:3:nrt
_0(4.0):C42)))


The problem here is that ParallelAtomicReader calls ensureOpen() on its childs (the slow wrapper),
but that one is still open. The test closes the DirectoryReader. By that Parallel returns
its own Fields impl and that one uses the one from slow, which is itself reused, although
the inner reader is already closed.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Apache Jenkins Server [mailto:jenkins@builds.apache.org]
> Sent: Sunday, February 19, 2012 6:20 PM
> To: dev@lucene.apache.org
> Subject: [JENKINS] Lucene-Solr-tests-only-trunk-java7 - Build # 1764 - Failure
> 
> Build: https://builds.apache.org/job/Lucene-Solr-tests-only-trunk-java7/1764/
> 
> 1 tests failed.
> REGRESSION:  org.apache.lucene.index.TestReaderClosed.test
> 
> Error Message:
> null
> 
> Stack Trace:
> java.lang.NullPointerException
> 	at org.apache.lucene.util.fst.FSTEnum.<init>(FSTEnum.java:48)
> 	at
> org.apache.lucene.util.fst.BytesRefFSTEnum.<init>(BytesRefFSTEnum.java:43)
> 	at
> org.apache.lucene.codecs.memory.MemoryPostingsFormat$FSTTermsEnum.<in
> it>(MemoryPostingsFormat.java:584)
> 	at
> org.apache.lucene.codecs.memory.MemoryPostingsFormat$TermsReader.itera
> tor(MemoryPostingsFormat.java:774)
> 	at
> org.apache.lucene.search.TermRangeQuery.getTermsEnum(TermRangeQuery.j
> ava:106)
> 	at
> org.apache.lucene.search.TermCollectingRewrite.collectTerms(TermCollecting
> Rewrite.java:65)
> 	at
> org.apache.lucene.search.ConstantScoreAutoRewrite.rewrite(ConstantScoreAut
> oRewrite.java:95)
> 	at
> org.apache.lucene.search.MultiTermQuery$ConstantScoreAutoRewrite.rewrite
> (MultiTermQuery.java:213)
> 	at
> org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:279)
> 	at
> org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:518)
> 	at
> org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearch
> er.java:583)
> 	at
> org.apache.lucene.search.AssertingIndexSearcher.createNormalizedWeight(Ass
> ertingIndexSearcher.java:59)
> 	at
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:258)
> 	at
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:247)
> 	at
> org.apache.lucene.index.TestReaderClosed.test(TestReaderClosed.java:66)
> 	at
> org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluat
> e(LuceneTestCase.java:705)
> 	at
> org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate
> (LuceneTestCase.java:604)
> 	at
> org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate(L
> uceneTestCase.java:509)
> 	at
> org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(Luc
> eneTestCase.java:567)
> 	at
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.
> java:165)
> 	at
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.
> java:57)
> 
> 
> 
> 
> Build Log (for compile errors):
> [...truncated 1971 lines...]
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message