Hi Josh,

 

Can you paste your sourcecode AND explain what are you trying to do?

 

Ralf

 

From: Josh Am [mailto:josh22...@gmail.com] 
Sent: Montag, 29. August 2011 12:39
To: java-user@lucene.apache.org
Subject: Index Writer()

 

Dear friends Hi!!
I used Lucene to index some documents but unfortunetly I am a begginer and
there is a bug!!
it is here!

 

Exception in thread "main" 

java.lang.NullPointerException 

at SimpleFileIndexer.indexDirectory(

SimpleFileIndexer.java:78) 

at SimpleFileIndexer.index(

SimpleFileIndexer.java:59) 

at SimpleFileIndexer.main(

SimpleFileIndexer.java:26)
 
what should I do?
 
Thanyou all.

Reply via email to