Fixes are available
APAR status
Closed as program error.
Error description
During the compare of 2 models, the EMF error org.eclipse.uml2.uml.internal.impl.ComponentImpl incompatible wi th org.eclipse.uml2.uml.Package java.lang.ClassCastException: org.eclipse.uml2.uml.internal.impl .ComponentImpl incompatible with org.eclipse.uml2.uml.Package at com.ibm.xtools.uml.compare.internal.deltagenerator.UML2Prereq uisiteBuilder$UML2RequiredObjectPreconditionBuilder.createStereo typePreconditions(Unknown Source) at com.ibm.xtools.uml.compare.internal.deltagenerator.UML2Prereq uisiteBuilder$UML2DeleteConditionBuilder.getPreconditions(Unknow n Source) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator.prerequi sites.PrerequisiteBuilderImpl.initialize(Unknown Source) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator.prerequi sites.PrerequisiteBuilderImpl.run(Unknown Source) is thrown. The error appears if a component contains under a package a sub component that was stereotyped.
Local fix
Problem summary
wrong assumption about parent of a uml package is a uml package
Problem conclusion
Do type check of parent of uml package before type casting
Temporary fix
Comments
APAR Information
APAR number
PK56394
Reported component name
RATL SYS DEV
Reported component ID
5724M1000
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2007-11-12
Closed date
2008-03-28
Last modified date
2008-03-28
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 SYS DEV
Fixed component ID
5724M1000
Applicable component levels
R700 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSJP3D","label":"Rational Systems Developer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
19 October 2021