Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358758 - ClassCastException thrown when processing VEWidget.excludedFields
Summary: ClassCastException thrown when processing VEWidget.excludedFields
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Huang Ji Yong CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 14:26 EDT by Brian Svihovec CLA
Modified: 2017-02-23 14:18 EST (History)
2 users (show)

See Also:


Attachments
Testcase. (3.35 KB, application/octet-stream)
2011-09-23 14:35 EDT, Brian Svihovec CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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