Fixes are available
APAR status
Closed as program error.
Error description
Moving Interaction Constraint elements from Combined Fragment to another causes data corruption. When you move Interaction Constraint of one Combined Fragment to another Combined Fragment, the subsequent save, close and open of sequence diagram results in error and the diagram will not open: !MESSAGE Unable to create editor ID SequenceDiagramEditorWithHeader: java.lang.Double incompatible with org.eclipse.draw2d.geometry.Rectangle !STACK 0 java.lang.ClassCastException: java.lang.Double incompatible with org.eclipse.draw2d.geometry.Rectangle at org.eclipse.draw2d.XYLayout.layout(Unknown Source) at com.ibm.xtools.uml.ui.diagrams.sequence.internal.draw2d.Sequence DiagramLayout.layout(Unknown Source) at com.ibm.xtools.uml.ui.diagrams.sequence.internal.draw2d.Interact ionCompartmentLayout.layout(Unknown Source) at org.eclipse.draw2d.Figure.layout(Unknown Source) at org.eclipse.draw2d.Figure.validate(Unknown Source) at org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemsAwareFreeF ormLayer.validate(Unknown Source) at org.eclipse.draw2d.FreeformViewport$FreeformViewportLayout.calcu latePreferredSize(Unknown Source) at org.eclipse.draw2d.AbstractLayout.getPreferredSize(Unknown Source) at org.eclipse.draw2d.AbstractHintLayout.getPreferredSize(Unknown Source) at org.eclipse.draw2d.Figure.getPreferredSize(Unknown Source) at org.eclipse.gmf.runtime.draw2d.ui.internal.figures.OverlayScroll PaneLayout.calculatePreferredSize(Unknown Source) at org.eclipse.draw2d.AbstractLayout.getPreferredSize(Unknown Source) at org.eclipse.draw2d.AbstractHintLayout.getPreferredSize(Unknown Source) Steps to reproduce: 1. Add a lifeline to sequence diagram. 2. Add an Optional Combined Fragment and set it's Interaction Constraint 'Constraint1' 3. Add another Optional Combined Fragment. 4. Now select Interaction Constraint 'Constraint1'; drag and drop it to second combined fragment. 5. Save the diagram and close the model. 6. Open the model again and try opening sequence diagram, it throw class cast exception error.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Moving Interaction Constraint elements from Combined Fragment to another causes data corruption.
Problem conclusion
The fix involves cleaning up of notational model representation for existing constraint from the target interaction operand in combined fragment.
Temporary fix
Comments
APAR Information
APAR number
PM65753
Reported component name
RATL SW ARCHITE
Reported component ID
5725A3000
Reported release
804
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-05-29
Closed date
2012-12-15
Last modified date
2012-12-15
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RATL SW ARCHITE
Fixed component ID
5725A3000
Applicable component levels
R804 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"804","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"804","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
10 September 2020