Bug 16175

Summary: NPE in IndexManager#checkIndexConsistency
Product: [Eclipse Project] JDT Reporter: Jed Anderson <jed.anderson>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jed Anderson CLA 2002-05-16 12:31:25 EDT
Build: 20020514 (no patches)

I don't know if this has been addressed, but I got the following walkback at
shutdown.

java.lang.NullPointerException
	at
org.eclipse.jdt.internal.core.search.indexing.IndexManager.checkIndexConsistency(IndexManager.java:147)
	at
org.eclipse.jdt.internal.core.search.indexing.IndexManager.activateProcessing(IndexManager.java:75)
	at
org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:305)
Comment 1 Philipe Mulet CLA 2002-05-16 18:11:45 EDT
Seems like the workspace or its root has disappeared during shutdown.
Comment 2 Jerome Lanneluc CLA 2002-05-17 06:35:42 EDT
Added null check in case checkIndexConsistency is still running when the 
workspace is shutting down.