Fixes are available
APAR status
Closed as program error.
Error description
After migrating an IBM Rational Software Architect (RSA) model from v8.5.x to v9.5.x, your custom stereotypes disappear, depending on the feature you have installed within your RSA installation. If you install only the "UML Modeling" feature, the custom stereotypes will be visible. However, if you install the "Java Standard Edition and Java Persistence API (JPA) graphical editing and transformations" feature is included with your RSA installation, the custom stereotypes will be removed in v9.5.x. In both cases, though, the following error message: [<BEGIN>] !ENTRY com.ibm.xtools.modeler.ui 4 5 !MESSAGE Value 'org.eclipse.emf.ecore.impl.DynamicEObjectImpl (eClass: org.eclipse.emf.ecore.impl.EClassImpl (name: ...) (instanceClassName: null) (abstract: false, interface: false))' is not legal. ([path to emx], 125567, 1) !STACK 0 org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.ecore.impl.DynamicEObjectImpl (eClass: org.eclipse.emf.ecore.impl.EClassImpl (name: ...)(instanceClassName: null) (abstract: false, interface: false))' is not legal. ([path to emx], 125567, 1) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHan dler.java:2697) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleForwardReference s(XMLHandler.java:1175) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.endDocument(XMLHandler .java:1264) at org.eclipse.gmf.runtime.emf.core.resources.GMFHandler.endDocumen t(GMFHandler.java:70) at org.eclipse.emf.ecore.xmi.impl.SAXWrapper.endDocument(SAXWrapper .java:73) ... Caused by: java.lang.ClassCastException: The value of type 'org.eclipse.emf.ecore.impl.EClassImpl@ (name: ...) (instanceClassName: null) (abstract: false, interface: false)' must be of type 'org.eclipse.emf.ecore.impl.EClassImpl@ (name: Class) (instanceClassName: null) (abstract: false, interface: false)' at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettin gDelegateSingleEObject.dynamicSet(EStructuralFeatureImpl.java:26 53) ... at org.eclipse.gmf.runtime.emf.core.internal.resources.MSLHelper.se tValue(MSLHelper.java:270) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHan dler.java:2692) ... 97 more [</END>] will still be written to the ".log" file. RSA's behavior with respect to the appearance of the custom stereotypes should not depend on whether the "Java Standard Edition and Java Persistence API (JPA) graphical editing and transformations" feature is installed.
Local fix
There is no workaround
Problem summary
**************************************************************** * USERS AFFECTED: * * - * **************************************************************** * PROBLEM DESCRIPTION: * * "When the ""Java Standard Edition and Java Persistence API * * (JPA) graphical editing and transformations"" feature is * * included with your installation, the RMP resource handler * * will be invoked. * * When there is an error while setting the feature value for * * certain type of stereotype properties, the resource load * * operation is terminated and causes the custom stereotypes to * * be not loaded properly." * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
"When the ""Java Standard Edition and Java Persistence API (JPA) graphical editing and transformations"" feature is included with your installation, the RMP resource handler will be invoked. When there is an error while setting the feature value for certain type of stereotype properties, the resource load operation is terminated and causes the custom stereotypes to be not loaded properly. With the fix, appropriate message will be logged in the error log and the resource load operation will continue in the above scenario."
Temporary fix
Comments
APAR Information
APAR number
PI69460
Reported component name
SW ARCHITECT WI
Reported component ID
5724I7001
Reported release
950
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-09-20
Closed date
2016-12-22
Last modified date
2016-12-22
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
SW ARCHITECT WI
Fixed component ID
5724I7001
Applicable component levels
R950 PSY
UP
R960 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYKBQ","label":"Rational Software Architect Designer for WebSphere Software"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
19 October 2021