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

Bug 358758

Summary: ClassCastException thrown when processing VEWidget.excludedFields
Product: z_Archived Reporter: Brian Svihovec <svihovec>
Component: EDTAssignee: Huang Ji Yong <hjiyong>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Testcase. none

Description Brian Svihovec CLA 2011-09-23 14:26:48 EDT
Import the attached RUIHandler (DojoTreeSample.egl), which requires both the Dojo Widgets and the IBM Widgets.

When the palette is being created for this RUIHandler, the WidgetDescriptorFactory::processWidgetExcludedFields method is throwing a CCE on the following line:

EnumerationEntry propertyFilterType = (EnumerationEntry)widgetAnnotation.getValue( PROPERTY_FILTER_TYPE );

java.lang.ClassCastException: eglx.ui.rui.FilterKind cannot be cast to org.eclipse.edt.mof.egl.EnumerationEntry
	at org.eclipse.edt.ide.rui.visualeditor.internal.widget.WidgetDescriptorFactory.processWidgetExcludedFields(WidgetDescriptorFactory.java:481)
Comment 1 Brian Svihovec CLA 2011-09-23 14:35:10 EDT
Created attachment 203928 [details]
Testcase.
Comment 2 Huang Ji Yong CLA 2011-09-29 01:09:23 EDT
Resolved indirectly
Comment 3 Brian Svihovec CLA 2012-01-16 21:44:42 EST
Verified in build 0.8.0.v201201120902-1CT-Fiv5_M5_LM5fUa4