BatchedIndexDataLoader abruptly terminated when indexing

Description

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

Environment

zoie master
commit 66677399fe8ea2b2ea3fbac425e22e102e22f603

Activity

Show:
xiao_cao
November 2, 2011, 11:04 AM
Edited

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

John Wang
November 2, 2011, 5:36 PM

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

xiao_cao
November 3, 2011, 1:44 AM

ok, thank you for your work

Fixed

Assignee

John Wang

Reporter

xiao_cao

Labels

Components

Fix versions

Affects versions

Priority

Critical
Configure