Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333153 - When adding details to an M0 generator descriptor I get class cast exceptions
Summary: When adding details to an M0 generator descriptor I get class cast exceptions
Status: VERIFIED FIXED
Alias: None
Product: Tigerstripe
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-23 09:02 EST by Richard Craddock CLA
Modified: 2011-01-03 16:15 EST (History)
2 users (show)

See Also:


Attachments
TS-333153.txt (1.81 KB, text/plain)
2010-12-28 03:26 EST, Valentin Yerastov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Craddock CLA 2010-12-23 09:02:20 EST
Create an M0 plugin

Navigate to the "Runtime" tab

Try to select an item in the "Included Files" section.

You get the following excpetions






java.lang.ClassCastException: org.eclipse.tigerstripe.workbench.ui.internal.editors.generator.m0Descriptor.M0DescriptorEditor cannot be cast to org.eclipse.tigerstripe.workbench.ui.internal.editors.pluginDescriptor.PluginDescriptorEditor
	at org.eclipse.tigerstripe.workbench.ui.internal.editors.pluginDescriptor.runtime.IncludedFilesSection.markPageModified(IncludedFilesSection.java:656)
	at org.eclipse.tigerstripe.workbench.ui.internal.editors.pluginDescriptor.runtime.IncludedFilesSection.handleCheck(IncludedFilesSection.java:351)
	at org.eclipse.tigerstripe.workbench.ui.internal.editors.pluginDescriptor.runtime.IncludedFilesSection.handleBuildCheckStateChange(IncludedFilesSection.java:335)
	at org.eclipse.tigerstripe.workbench.ui.internal.editors.pluginDescriptor.runtime.IncludedFilesSection.handleCheckStateChanged(IncludedFilesSection.java:202)
	at org.eclipse.tigerstripe.workbench.ui.internal.editors.pluginDescriptor.runtime.IncludedFilesSection$1$1.run(IncludedFilesSection.java:172)
Comment 1 Valentin Yerastov CLA 2010-12-28 03:26:12 EST
Created attachment 185850 [details]
TS-333153.txt

Fixed.
Comment 2 Yuri Strot CLA 2010-12-30 04:05:46 EST
Valentin's patch applied.
Comment 3 Navid Mehregani CLA 2011-01-03 16:15:54 EST
Verified Fix.  Richard, you might also want to give this a try whenever you get a chance.