Bug 33573

Summary: NPE in IndexManager on shutdown
Product: [Eclipse Project] JDT Reporter: Debbie Wilson <debbie_wilson>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Debbie Wilson CLA 2003-02-28 14:30:04 EST
- Using build I20030227
- Using plugin org.eclipse.pde.junit_2.1.4 to run test suites in the 
org.eclipse.core.tests.resources project (am running 
ModelObjectReaderWriterTest in package 
org.eclipse.core.tests.internal.resources).
- Each time the test ends I get the following NPE crash.  It happens each time 
I run this test.  The test is running successfully.
- I am running this test on my laptop (IBM ThinkPad T30).  Don't know if I can 
reproduce this on my machine at work.

!ENTRY org.eclipse.core.runtime 4 2 Feb 28, 2003 14:18:55.792
!MESSAGE Problems occurred when invoking code from plug-
in: "org.eclipse.core.runtime".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.jdt.internal.core.search.indexing.IndexManager.shutdown
(IndexManager.java:509)
	at org.eclipse.jdt.internal.core.JavaModelManager.shutdown
(JavaModelManager.java:1535)
	at org.eclipse.jdt.core.JavaCore.shutdown(JavaCore.java:2986)
	at org.eclipse.core.internal.plugins.PluginRegistry$2.run
(PluginRegistry.java:283)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:867)
	at org.eclipse.core.internal.plugins.PluginRegistry$1.visit
(PluginRegistry.java:296)
	at org.eclipse.core.internal.plugins.PluginRegistry.accept
(PluginRegistry.java:55)
	at org.eclipse.core.internal.plugins.PluginRegistry.shutdownPlugins
(PluginRegistry.java:299)
	at org.eclipse.core.internal.plugins.PluginRegistry.shutdown
(PluginRegistry.java:265)
	at org.eclipse.core.internal.runtime.InternalPlatform.loaderShutdown
(InternalPlatform.java:517)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.internal.boot.InternalBootLoader.shutdown
(InternalBootLoader.java:979)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:850)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:431)
	at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24)
Comment 1 Olivier Thomann CLA 2003-02-28 15:11:40 EST
Duplicate of bug 33462.

*** This bug has been marked as a duplicate of 33462 ***