lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Günter Kukies <>
Subject IndexWriter addDocument NullPointerException
Date Fri, 21 Feb 2003 12:33:36 GMT

writer.addDocument(doc) is throwing an NullPointerException. The stacktrace from the catched
Exception is only one line "NullPointerException" without anything else. 
I open the IndexWriter with create true. Run over the files in a Directory and add all found
documents. After that i close the indexwriter. 80% of the documents were added without problems.
The rest gets that NullPointerException.

Any Ideas?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message