lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Louvard <eric.louv...@hauk-sasko.de>
Subject NPE in IndexReader
Date Tue, 21 Aug 2007 08:10:16 GMT
Hello while calling IndexReader.deletedoc(int) I am becomming a NPE.

java.lang.NullPointerException
        at 
org.apache.lucene.index.IndexReader.acquireWriteLock(IndexReader.java:658)
        at 
org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:686)

In the acquireWriteLock methode there is call 
'segmentInfos.getVersion()', but segmentInfos should be 'null'.

I am working with the head revision from SVN.

May someone tell me a work arround.

regards, Éric Louvard.

-- 
Mit freundlichen Grüßen

i. A. Éric Louvard
HAUK & SASKO Ingenieurgesellschaft mbH
Zettachring 2
D-70567 Stuttgart

Phone: +49 7 11 7 25 89 - 19
Fax: +49 7 11 7 25 89 - 50
E-Mail: eric.louvard@hauk-sasko.de
www: www.hauk-sasko.de
Niederlassung Stuttgart
Firmensitz: Markstr. 77, 44801 Bochum
Registergericht: Amtsgericht Bochum, HRB 2532
Geschäftsführer: Dr.-Ing. Pavol Sasko 





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


Mime
View raw message