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

Bug 333153

Summary: When adding details to an M0 generator descriptor I get class cast exceptions
Product: [Technology] Tigerstripe Reporter: Richard Craddock <rcraddoc>
Component: UIAssignee: Project Inbox <tigerstripe.ui-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: nmehrega, yuri
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
TS-333153.txt none

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.