2011-11-02 18:22:26,443 ERROR [proj.zoie.impl.indexing.IndexingThread] - proj.zoie.impl.indexing.internal.BatchedIndexDataLoader@41616dd6 is abruptly terminated
java.lang.NullPointerException
at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader.processBatch(BatchedIndexDataLoader.java:353)
at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:380)
-------
this error occured two times when indexing
zoie master
commit 66677399fe8ea2b2ea3fbac425e22e102e22f603
with lucene 3.4
String newVersion = _idxMgr.getCurrentDiskVersion();
if (!currentVersion.equals(newVersion)){
fireNewVersionEvent(newVersion);
}
it seems that currentVersion to be null.
ps: how to edit bug detail
Hi Xiao:
I added the null-check to master with this commit: https://github.com/javasoze/zoie/commit/7d0183b85d1f411ce68d44888e2c36f283285eaf
Can you please give it a try?
-John
ok, thank you for your work