Community
Participate
Working Groups
Build Identifier: 20110615-0604 The following exception was observed: !ENTRY org.eclipse.ui.workbench 4 2 2011-07-24 13:12:40.415 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.NullPointerException at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:207) at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:152) at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:124) at org.eclipse.ui.internal.WorkbenchImages.initializeImageRegistry(WorkbenchImages.java:641) at org.eclipse.ui.internal.WorkbenchImages.getDescriptors(WorkbenchImages.java:530) at org.eclipse.ui.internal.WorkbenchImages.getImageDescriptor(WorkbenchImages.java:566) at org.eclipse.ui.internal.registry.EditorRegistry.addSystemEditors(EditorRegistry.java:550) at org.eclipse.ui.internal.registry.EditorRegistry.initialIdToEditorMap(EditorRegistry.java:514) at org.eclipse.ui.internal.registry.EditorRegistry.<init>(EditorRegistry.java:135) at org.eclipse.ui.internal.WorkbenchPlugin.getEditorRegistry(WorkbenchPlugin.java:455) at org.eclipse.ui.internal.Workbench.getEditorRegistry(Workbench.java:1345) at org.eclipse.ui.internal.ide.ContentTypeDecorator.decorate(ContentTypeDecorator.java:57) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:370) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:330) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY org.eclipse.ui 4 4 2011-07-24 13:12:40.433 !MESSAGE Exception in Decorator. The 'File Icons Based On Content Analysis' decorator will be disabled. !ENTRY org.eclipse.ui 4 4 2011-07-24 13:12:40.433 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:207) at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:152) at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:124) at org.eclipse.ui.internal.WorkbenchImages.initializeImageRegistry(WorkbenchImages.java:641) at org.eclipse.ui.internal.WorkbenchImages.getDescriptors(WorkbenchImages.java:530) at org.eclipse.ui.internal.WorkbenchImages.getImageDescriptor(WorkbenchImages.java:566) at org.eclipse.ui.internal.registry.EditorRegistry.addSystemEditors(EditorRegistry.java:550) at org.eclipse.ui.internal.registry.EditorRegistry.initialIdToEditorMap(EditorRegistry.java:514) at org.eclipse.ui.internal.registry.EditorRegistry.<init>(EditorRegistry.java:135) at org.eclipse.ui.internal.WorkbenchPlugin.getEditorRegistry(WorkbenchPlugin.java:455) at org.eclipse.ui.internal.Workbench.getEditorRegistry(Workbench.java:1345) at org.eclipse.ui.internal.ide.ContentTypeDecorator.decorate(ContentTypeDecorator.java:57) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:370) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:330) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Reproducible: Couldn't Reproduce Steps to Reproduce: Don't know what caused it.
Maybe a broken install? Can you start with a fresh download?
Hi, I downloaded this install from eclipse download page and working with it almost a month. This exception occurred once. Why do you think this is a broken install? Thanks, Yevgeny
(In reply to comment #2) > Hi, > > I downloaded this install from eclipse download page and working with it almost > a month. This exception occurred once. Why do you think this is a broken > install? This type of error is often meaning that a resource is not found (or not readable). However, this doesn't seem to be the case here: I looked closer at the code and it rather looks like this this happened while shutting down: it tries to create an image registry without having a display. This would then be bug 250455. Could this be the case?
Hi, I am not sure, but it is possible that it occurred during shotdown. There was a period that after I tried to close eclipse, it was waiting for specific action to finish before closing. Thanks, Yevgeny
*** This bug has been marked as a duplicate of bug 250455 ***