Bug 16175 - NPE in IndexManager#checkIndexConsistency
Summary: NPE in IndexManager#checkIndexConsistency
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-16 12:31 EDT by Jed Anderson CLA
Modified: 2002-05-17 06:35 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.