Re: IndexWriter addDocument NullPointerException

2003-02-24 Thread Otis Gospodnetic
, February 22, 2003 5:32 PM Subject: Re: IndexWriter addDocument NullPointerException On Friday 21 February 2003 13:22, Günter Kukies wrote: Hello, I don't have any line number. You unfortunately do need to know the line number, if you do get an exception and try to see where

Re: IndexWriter addDocument NullPointerException

2003-02-24 Thread Günter Kukies
, writer is never null and I can't add null-fields to a document. Günter - Original Message - From: Otis Gospodnetic [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Monday, February 24, 2003 3:07 PM Subject: Re: IndexWriter addDocument NullPointerException My guess

Re: IndexWriter addDocument NullPointerException

2003-02-24 Thread Otis Gospodnetic
/1045735974850_0 001_hda.pdf java.lang.NullPointerException hallo2 Günter - Original Message - From: Tatu Saloranta [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Saturday, February 22, 2003 5:32 PM Subject: Re: IndexWriter addDocument NullPointerException

Re: IndexWriter addDocument NullPointerException

2003-02-24 Thread Günter Kukies
Gospodnetic [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Monday, February 24, 2003 4:31 PM Subject: Re: IndexWriter addDocument NullPointerException If I were you I would make things simpler for myself by converting the code to something that I could run from the command line instead

AW: IndexWriter addDocument NullPointerException

2003-02-24 Thread Borkenhagen, Michael (ofd-ko zdfin)
:[EMAIL PROTECTED] Gesendet: Montag, 24. Februar 2003 17:52 An: Lucene Users List Betreff: Re: IndexWriter addDocument NullPointerException I switched off the -server switch from the java commandline options and everything works fine now. I changed nothing in my code. So is it principly possible

Re: IndexWriter addDocument NullPointerException

2003-02-23 Thread Günter Kukies
: Saturday, February 22, 2003 5:32 PM Subject: Re: IndexWriter addDocument NullPointerException On Friday 21 February 2003 13:22, Günter Kukies wrote: Hello, I don't have any line number. You unfortunately do need to know the line number, if you do get an exception and try to see where it occurs

Re: IndexWriter addDocument NullPointerException

2003-02-22 Thread Tatu Saloranta
On Friday 21 February 2003 13:22, Günter Kukies wrote: Hello, I don't have any line number. You unfortunately do need to know the line number, if you do get an exception and try to see where it occurs. Another less frequent problem is that you actually get the exception as an object and

RE: IndexWriter addDocument NullPointerException

2003-02-21 Thread Sale, Doug
:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 2:22 PM To: [EMAIL PROTECTED] Subject: Re: IndexWriter addDocument NullPointerException Hello, I don't have any line number. this is the code snippet: Document doc; IndexWriter writer; . try{ writer.addDocument(doc

Re: IndexWriter addDocument NullPointerException

2003-02-21 Thread newsham
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()