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

Bug 327664

Summary: [Palette] ClassCastException when customizing a palette with an aspect entry
Product: [Modeling] Papyrus Reporter: Tatiana Fesenko <tatiana.fesenko>
Component: CoreAssignee: Tatiana Fesenko <tatiana.fesenko>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

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