APAR status
Closed as program error.
Error description
VAR = 50; 12. Run the c++ to UML reverse transformation Result. The Merge dialog opens empty. When you click on 'Cancel', the following dialog appears: Transformation execution status. Merging of changes into target model failed. Transform context stack Transform C++ To UML Transformation: Element 'Setting up for reconcile' was executing source '[P/TestCPP]' and the following error is output in the log. !ENTRY com.ibm.xtools.comparemerge.emf 4 0 2011-05-16 13:10:26.562 !MESSAGE Error occurred while opening Combine Models session: java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at com.ibm.xtools.transform.cpp.uml2.internal.CPPModelToUML.rules.S etupReconcileRule$PrimitiveTypeConversionExtFilter.filterDelta(U nknown Source) at com.ibm.xtools.comparemerge.emf.deltatree.internal.FuseDeltaTree Filter.isFilterOutDelta(Unknown Source) at com.ibm.xtools.comparemerge.emf.deltatree.DeltaTreeBuilder.isFil terOutDelta(Unknown Source) at com.ibm.xtools.comparemerge.emf.deltatree.DeltaTreeBuilder.creat eVisibleDiffNode(Unknown Source) at com.ibm.xtools.comparemerge.emf.deltatree.DeltaTreeBuilder.build DeltaTree(Unknown Source) at com.ibm.xtools.comparemerge.emf.deltatree.DeltaTreeBuilder.build DeltaCompositeNode(Unknown Source) at com.ibm.xtools.comparemerge.emf.deltatree.DeltaTreeBuilder.build DeltaTree(Unknown Source) ... Workaround: As a workaround switch off the filter 'Filter out Primitive type conversion changes'. Before changing the default value for the attribute (step 11) 1 Run the reverse transform on the same Transformation configuration (created in step 9). 2. On the merge dialog open up the filters sections and switch off the 'Filter out Primitive type conversion changes' filter. 4. Change again the default value of the attribute and run the reverse transform. This time your should not get the exceptions and the change default value should be shown as a delta. The drawback is that the 'int' type is lost in the transformation and is shown as a delta as well (unselected by default). If you choose to select on the default value change then the type of the attribute would be intact and the change in the default value will be also captured.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Running the C++ to UML transformation after changing the default value of a static member variable generated by the UML-to-C++ transformation, throws NullPointer Exception.
Problem conclusion
C++ to UML transformation now shows the static attribute's default value changes on the merge dialog.
Temporary fix
Comments
APAR Information
APAR number
PM39499
Reported component name
RSA-SE WIN
Reported component ID
5724V8800
Reported release
753
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-05-18
Closed date
2011-06-17
Last modified date
2011-06-17
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
RSA-SE WIN
Fixed component ID
5724V8800
Applicable component levels
R753 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4JE2","label":"Rational Software Architect Standard Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.3","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Document Information
Modified date:
17 June 2011