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

Bug 368887

Summary: [activity diagram] Unhandled event loop exception when connecting a comment to initialnode
Product: [Modeling] Papyrus Reporter: Raphael Faudou <raphael.faudou>
Component: CoreAssignee: Arthur Daussy <arthur.daussy>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: faure.tristan, mathieu.velten, raphael.faudou
Version: 0.8.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Raphael Faudou CLA 2012-01-17 16:17:06 EST
java.lang.ClassCastException: org.eclipse.gmf.runtime.diagram.ui.render.editparts.RenderedDiagramRootEditPart cannot be cast to org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart
	at org.eclipse.papyrus.diagram.common.groups.commands.utlis.CommandsUtils.getCommandFromDefaultModelParent(CommandsUtils.java:291)
	at org.eclipse.papyrus.diagram.common.groups.commands.utlis.CommandsUtils.sendRequestSuitableHost(CommandsUtils.java:1040)
	at org.eclipse.papyrus.diagram.common.groups.edit.policies.CreateInGroupEditPolicy.getCreateElementAndViewCommand(CreateInGroupEditPolicy.java:119)
	at org.eclipse.gmf.runtime.diagram.ui.editpolicies.CreationEditPolicy.getCommand(CreationEditPolicy.java:87)
	at org.eclipse.gef.editparts.AbstractEditPart.getCommand(AbstractEditPart.java:502)
	at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$1(GraphicalEditPart.java:1)
	at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$1.run(GraphicalEditPa
Comment 1 Raphael Faudou CLA 2012-03-20 13:54:05 EDT
Verified OK. Closed
Comment 2 Raphael Faudou CLA 2012-03-20 13:57:32 EDT
verified OK. Closed