Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 25051

Summary: NPEs on shutdown
Product: [Eclipse Project] PDE Reporter: Nick Edgar <n.a.edgar>
Component: UIAssignee: Wassim Melhem <wassim.melhem>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Nick Edgar CLA 2002-10-18 09:49:15 EDT
Build 20021016, Win98.

In bug 24991, the log shows some NPEs in PDE on shutdown:

!SESSION Oct 17, 2002 11:13:11.270 ---------------------------------------------
java.fullversion=J2RE 1.3.0 IBM build cn130-20010502 (JIT enabled: jitc)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -data c:\eclipse-ws\ui-
ws -install file:C:/eclipse/
!ENTRY org.eclipse.core.runtime 4 2 Oct 17, 2002 11:13:11.270
!MESSAGE Problems occurred when invoking code from plug-
in: "org.eclipse.core.runtime".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.pde.internal.core.PluginModelManager.shutdown
(PluginModelManager.java:229)
	at org.eclipse.pde.internal.core.PDECore.shutdown(PDECore.java:304)
	at org.eclipse.core.internal.plugins.PluginRegistry$2.run
(PluginRegistry.java:279)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java(Compiled Code))
	at org.eclipse.core.internal.plugins.PluginRegistry$1.visit
(PluginRegistry.java:292)
	at org.eclipse.core.internal.plugins.PluginRegistry.accept
(PluginRegistry.java:51)
	at org.eclipse.core.internal.plugins.PluginRegistry.shutdownPlugins
(PluginRegistry.java:295)
	at org.eclipse.core.internal.plugins.PluginRegistry.shutdown
(PluginRegistry.java:261)
	at org.eclipse.core.internal.runtime.InternalPlatform.loaderShutdown
(InternalPlatform.java:508)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.internal.boot.InternalBootLoader.shutdown
(InternalBootLoader.java:878)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:780)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
	at org.eclipse.core.launcher.Main.run(Main.java:703)
	at org.eclipse.core.launcher.Main.main(Main.java:539)
!SESSION Oct 17, 2002 11:50:40.630 ---------------------------------------------
java.fullversion=J2RE 1.3.0 IBM build cn130-20010502 (JIT enabled: jitc)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -data c:\eclipse-ws\ui-
ws -install file:C:/eclipse/
!ENTRY org.eclipse.core.runtime 4 2 Oct 17, 2002 11:50:40.630
!MESSAGE Problems occurred when invoking code from plug-
in: "org.eclipse.core.runtime".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.pde.internal.core.PluginModelManager.shutdown
(PluginModelManager.java:229)
	at org.eclipse.pde.internal.core.PDECore.shutdown(PDECore.java:304)
	at org.eclipse.core.internal.plugins.PluginRegistry$2.run
(PluginRegistry.java:279)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:839)
	at org.eclipse.core.internal.plugins.PluginRegistry$1.visit
(PluginRegistry.java:292)
	at org.eclipse.core.internal.plugins.PluginRegistry.accept
(PluginRegistry.java:51)
	at org.eclipse.core.internal.plugins.PluginRegistry.shutdownPlugins
(PluginRegistry.java:295)
	at org.eclipse.core.internal.plugins.PluginRegistry.shutdown
(PluginRegistry.java:261)
	at org.eclipse.core.internal.runtime.InternalPlatform.loaderShutdown
(InternalPlatform.java:508)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.internal.boot.InternalBootLoader.shutdown
(InternalBootLoader.java:878)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:780)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
	at org.eclipse.core.launcher.Main.run(Main.java:703)
	at org.eclipse.core.launcher.Main.main(Main.java:539)
Comment 1 Dejan Glozic CLA 2002-10-18 09:50:40 EDT
Wassim, isn't this fixed already?
Comment 2 Wassim Melhem CLA 2002-10-18 09:55:51 EDT

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