Bug 13931

Summary: Internal Error looking in the properties view
Product: [Eclipse Project] PDE Reporter: Tod Creasey <Tod_Creasey>
Component: UIAssignee: Dejan Glozic <dejan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Tod Creasey CLA 2002-04-16 15:25:36 EDT
Build 20020411

With the following steps I got an Internal Error in the PropertiesView

STEPS
1) Open the plugin.xml on org.eclipse.compare
2) Select Pop-up Menus -  objectContribution (the second one) and Previous From 
Local History
3) Select Ctrl-F7 to get to the Properties View
4) Error

java.lang.ClassCastException: 
org.eclipse.pde.internal.ui.editor.manifest.ExtensionElementPropertySource
	at 
org.eclipse.pde.internal.ui.editor.manifest.ExtensionsPropertySheet.handleEnter
(ExtensionsPropertySheet.java:181)
	at 
org.eclipse.pde.internal.ui.editor.manifest.ExtensionsPropertySheet.access$1
(ExtensionsPropertySheet.java:180)
	at 
org.eclipse.pde.internal.ui.editor.manifest.ExtensionsPropertySheet$2.handleEven
t(ExtensionsPropertySheet.java:130)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java
(Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Control.traverse(Control.java:2442)
	at org.eclipse.swt.widgets.Control.translateTraversal(Control.java:2428)
	at org.eclipse.swt.widgets.Display.translateTraversal(Display.java:1730)
	at org.eclipse.swt.widgets.Display.filterMessage(Display.java(Compiled 
Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
(Compiled Code))
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java
(Compiled Code))
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:819)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:777)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:190)
	at org.eclipse.core.launcher.Main.run(Main.java:549)
	at org.eclipse.core.launcher.Main.main(Main.java:390)
Comment 1 Tod Creasey CLA 2002-04-16 15:27:05 EDT
A couple of more things

1) I was on the Extensions page
2) I hit tab after selecting the Properties View
Comment 2 Dejan Glozic CLA 2002-05-03 11:52:19 EDT
Funny - a widget that was not visible received traverse event nonetheless. 
Added extra checks to prevent illegal cast.