Project: Eclipse_Platform_UI
Bug 72499 I200408240800 will not start
Reported: 2004-08-24 09:46:29 | Status: verified fixed

This has been tested on both Windows XP and GTK+. Eclipse will fail to start with the following exception. (A slightly different trace will appear if you are set up to prompt for which workspace to use.) java.lang.ExceptionInInitializerError at org.eclipse.ui.internal.WorkbenchConfigurer.declareImage(WorkbenchConfigurer.java:93) at org.eclipse.ui.internal.ide.IDEWorkbenchAdvisor.declareWorkbenchImage(IDEWorkbenchAdvisor.java:1025) at org.eclipse.ui.internal.ide.IDEWorkbenchAdvisor.declareWorkbenchImages(IDEWorkbenchAdvisor.java:887) at org.eclipse.ui.internal.ide.IDEWorkbenchAdvisor.initialize(IDEWorkbenchAdvisor.java:172) at org.eclipse.ui.application.WorkbenchAdvisor.internalBasicInitialize(WorkbenchAdvisor.java:165) at org.eclipse.ui.internal.Workbench.init(Workbench.java:820) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1383) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:263) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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:582) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628) Caused by: java.lang.NullPointerException at org.eclipse.jface.resource.ImageRegistry.hookDisplayDispose(ImageRegistry.java:183) at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:80) at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:67) at org.eclipse.ui.internal.WorkbenchImages.initializeImageRegistry(WorkbenchImages.java:475) at org.eclipse.ui.internal.WorkbenchImages.<clinit>(WorkbenchImages.java:97) ... 20 more

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/resource/ImageRegistry.java