lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From news...@hotu.com
Subject Re: IndexWriter addDocument NullPointerException
Date Fri, 21 Feb 2003 21:15:59 GMT
G√ľnter Kukies wrote:

>Hello,
>
>I don't have any line number.
>
>this is the code snippet:
>
>Document doc;
>IndexWriter writer;
>
>.....
>
>try{
>writer.addDocument(doc);
>}
>catch(Exception ex){
>ex.printStackTrace();
>}
>
>this is the output on Standard.out:
>
>java.lang.NullPointerException
>  
>
printStackTrace() prints to standard err, not standard out.



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


Mime
View raw message