Fixing NPE in test of IndexBuilder. NIHVIVO-2813

This commit is contained in:
briancaruso 2011-07-01 16:32:21 +00:00
parent 3c11662d88
commit e16052a7a0

View file

@ -150,7 +150,8 @@ public class IndexBuilder extends Thread {
} }
} }
indexer.abortIndexingAndCleanUp(); if( indexer != null)
indexer.abortIndexingAndCleanUp();
if(log != null )//may be null on shutdown if(log != null )//may be null on shutdown
log.info("Stopping IndexBuilder thread"); log.info("Stopping IndexBuilder thread");