Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327664 - [Palette] ClassCastException when customizing a palette with an aspect entry
Summary: [Palette] ClassCastException when customizing a palette with an aspect entry
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tatiana Fesenko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 10:08 EDT by Tatiana Fesenko CLA
Modified: 2011-01-03 03:34 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tatiana Fesenko CLA 2010-10-13 10:08:09 EDT
Steps to reproduce:
Choose the palette of SysML BDD diagram as a palette for customization
Choose the InFlowport as an entry for customization. 
Save the palette as BDD_Ex.
Open palette customization dialog again. Try to customize BDD_Ex - it's not possible, CCE in the console:
java.lang.ClassCastException: 
org.eclipse.papyrus.diagram.common.service.AspectCreationEntry
at org.eclipse.papyrus.diagram.common.service.XMLDefinitionPaletteFactory.traverseAspectToolEntryNode(XMLDefinitionPaletteFactory.java:164)
...
Comment 1 Tatiana Fesenko CLA 2010-10-13 10:10:49 EDT
I replaced class cast to PaletteToolEntry with cast to CombinedTemplateCreationEntry
Comment 2 Tatiana Fesenko CLA 2011-01-03 03:34:42 EST
Fixed