Fixing NPE in test of IndexBuilder. NIHVIVO-2813
This commit is contained in:
parent
3c11662d88
commit
e16052a7a0
1 changed files with 2 additions and 1 deletions
|
@ -150,7 +150,8 @@ public class IndexBuilder extends Thread {
|
|||
}
|
||||
}
|
||||
|
||||
indexer.abortIndexingAndCleanUp();
|
||||
if( indexer != null)
|
||||
indexer.abortIndexingAndCleanUp();
|
||||
|
||||
if(log != null )//may be null on shutdown
|
||||
log.info("Stopping IndexBuilder thread");
|
||||
|
|
Loading…
Add table
Reference in a new issue