Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 140669 - [Workbench] Invalid image leaves editor list empty
Summary: [Workbench] Invalid image leaves editor list empty
Status: RESOLVED DUPLICATE of bug 139664
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-08 16:41 EDT by Michael Valenta CLA
Modified: 2006-05-08 16:51 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 Michael Valenta CLA 2006-05-08 16:41:47 EDT
I installed Callisto RC2 from the staging area. Now when I go to the General>Editors>File Association page and click on the second Add to add an editor and then click on Internal Editors, I get the exception below. Other developers do not seem to have the problem so it is possible that something got corrupted in my install. However, it would be nice if the error pinpointed the problem a bit (i.e. said what editor had the invalid image) and at least populated the list with the text for the editor (i.e. the list for me is blank).

eclipse.buildId=I20060504-2000
java.fullversion=J2RE 1.4.2 IBM J9 2.2 Windows XP x86-32 j9n142-20050609 (JIT enabled)
J9VM - 20050524_1738_lHdSMR
JIT  - r7_level20050518_1803
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86 -debug -consolelog
This is a continuation of log file D:\dev\workspace\.metadata\.bak_0.log
Created Time: 2006-05-05 06:20:37.484

Error
Mon May 08 16:37:50 EDT 2006
Unsupported or unrecognized format

org.eclipse.swt.SWTException: Unsupported or unrecognized format
	at org.eclipse.swt.SWT.error(SWT.java:3374)
	at org.eclipse.swt.SWT.error(SWT.java:3297)
	at org.eclipse.swt.SWT.error(SWT.java:3268)
	at org.eclipse.swt.internal.image.FileFormat.load(FileFormat.java:82)
	at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:127)
	at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoader.java:22)
	at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:328)
	at org.eclipse.jface.resource.URLImageDescriptor.getImageData(URLImageDescriptor.java:57)
	at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:279)
	at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:233)
	at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:211)
	at org.eclipse.ui.internal.dialogs.EditorSelectionDialog.getImages(EditorSelectionDialog.java:319)
	at org.eclipse.ui.internal.dialogs.EditorSelectionDialog.getInternalEditors(EditorSelectionDialog.java:333)
	at org.eclipse.ui.internal.dialogs.EditorSelectionDialog.fillEditorTable(EditorSelectionDialog.java:217)
	at org.eclipse.ui.internal.dialogs.EditorSelectionDialog.handleEvent(EditorSelectionDialog.java:353)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
	at org.eclipse.jface.window.Window.open(Window.java:796)
	at org.eclipse.ui.internal.dialogs.FileEditorsPreferencePage.promptForEditor(FileEditorsPreferencePage.java:515)
	at org.eclipse.ui.internal.dialogs.FileEditorsPreferencePage.handleEvent(FileEditorsPreferencePage.java:440)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
	at org.eclipse.jface.window.Window.open(Window.java:796)
	at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
	at java.lang.reflect.Method.invoke(Method.java:391)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 1 Karice McIntyre CLA 2006-05-08 16:51:19 EDT

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