APAR status
Closed as program error.
Error description
The runtime compare/merge session does not contain all contributions found in tooling. In a C/M session, the 'element' attribute of every WSDL and XSD EMF object must be set to null. The model operator for each of these models, as well as the feature filters, tell the C/M session to skip the comparison and copying of the element attribute. The WSDL and XSD models will generate an updated DOM model when they are saved. In this particular scenario, since the BOModelOperator is not present, the C/M session will add the element object from the source XSDModelGroup EObject into its copy. Since this is not null, when the compositor attribute is copied, the org.eclipse.xsd.impl.XSDModelGroupImpl.changeAttribute(EAttribut e) method will try to set the new value since the element is not null. This leads to the NPE. Adding the BOModelOperator functionality to the runtime should avoid the problem and also allow the C/M session to operate as expected. I would also suggest ensuring the feature filters are in place as comparing models with their DOM representation in memory could lead to unexpected results. JR47718 is also required to resolve issues related to this problem.
Local fix
No Work Around available.
Problem summary
When activating a new version of a process application the differences between the different versions of the BPEL artifacts (as result of the multiple installed versions) are calculated. This calculation fails with the exception above when the new version of the process application contains new artifacts like new XML schemas. PROBLEM DETAILED DESCRIPTION: When creating multiple versions of a process application that contains BPEL based business processes, this can lead to an exception similar to this: Caused by: java.lang.NullPointerException at org.eclipse.xsd.impl.XSDConcreteComponentImpl.forceReplace (XSDConcreteComponentImpl.java:1700) at org.eclipse.xsd.impl.XSDModelGroupImpl.changeAttribute (XSDModelGroupImpl.java:637) at org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify (XSDConcreteComponentImpl.java:1240) at org.eclipse.xsd.impl.XSDModelGroupImpl.setCompositor (XSDModelGroupImpl.java:194) at org.eclipse.xsd.impl.XSDModelGroupImpl.eSet (XSDModelGroupImpl.java:321) at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet (BasicEObjectImpl.java:654) at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyAttribute (EcoreUtil.java:587) at com.ibm.wbit.comparemerge.base.deltagenerator. WIDResourcesAdder.copyAttribute(WIDResourcesAdder.java:65) at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copy (EcoreUtil.java:448) at com.ibm.wbit.comparemerge.base.deltagenerator. WIDResourcesAdder.copy(WIDResourcesAdder.java:97) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. Adder.copyAll(Adder.java:100) at com.ibm.wbit.comparemerge.base.deltagenerator. BaseResourcesDeltaGenerator.copyAddedObjects (BaseResourcesDeltaGenerator.java:297) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compare(DeltaGenerator.java:453) at com.ibm.wbit.bpel.compare.utils.BPELCompareUtils. compareXSDObjects(BPELCompareUtils.java:104) at com.ibm.wbit.bpel.compare.deltagenerator. BPELEMFDeltaGenerator.compareSingleNoncontainmentReference (BPELEMFDeltaGenerator.java:288) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compareReference(DeltaGenerator.java:1131) at com.ibm.wbit.comparemerge.base.deltagenerator. BaseResourcesDeltaGenerator.compareReference (BaseResourcesDeltaGenerator.java:274) at com.ibm.wbit.comparemerge.base.deltagenerator. BaseResourcesDeltaGenerator.compareEStructuralFeature (BaseResourcesDeltaGenerator.java:459) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compareEStructuralFeatures (DeltaGenerator.java:960) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compareEObjects(DeltaGenerator.java:873) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compareEListContainmentReference (DeltaGenerator.java:1208) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compareManyContainmentReference (DeltaGenerator.java:1166) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compareReference(DeltaGenerator.java:1090) at com.ibm.wbit.comparemerge.base.deltagenerator. BaseResourcesDeltaGenerator.compareReference (BaseResourcesDeltaGenerator.java:274) at com.ibm.wbit.comparemerge.base.deltagenerator. BaseResourcesDeltaGenerator.compareEStructuralFeature (BaseResourcesDeltaGenerator.java:459) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compareEStructuralFeatures (DeltaGenerator.java:960) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compareEObjects(DeltaGenerator.java:873) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compareSingleContainmentReference (DeltaGenerator.java:1262) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compareReference(DeltaGenerator.java:1129) at com.ibm.wbit.comparemerge.base.deltagenerator. BaseResourcesDeltaGenerator.compareReference (BaseResourcesDeltaGenerator.java:274) at com.ibm.wbit.comparemerge.base.deltagenerator. BaseResourcesDeltaGenerator.compareEStructuralFeature (BaseResourcesDeltaGenerator.java:459) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compareEStructuralFeatures (DeltaGenerator.java:960) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compareEObjects(DeltaGenerator.java:873) at com.ibm.xtools.comparemerge.emf.delta.deltagenerator. DeltaGenerator.compare(DeltaGenerator.java:438) at com.ibm.wbit.bpel.compare.BPELCompareService. compareBPELProcesses_PureEMF(BPELCompareService.java:106) at com.ibm.bpe.deployment.bpel.importer.impl.ImporterImpl. install(ImporterImpl.java:524) ... 48 more while activating a new version of the process application.
Problem conclusion
With this interim fix installed the activation of multiple versions of the same process application should be possible without problems. FIX AVAILABILITY: iFix for 7.5.1.1 is available on Fix Central, search for APAR JR46572 at http://www.ibm.com/support/fixcentral/ Fix is also targetted for inclusion in next fixpack for BPM V7.5.1, BPM 8.0.1, BPM 8.5.0 When obtaining any of the above fixes, be sure to download the accompanying readme, for itself, and any prerequisite fixes, and review them thorougly.
Temporary fix
Comments
APAR Information
APAR number
JR46572
Reported component name
BPM ADVANCED
Reported component ID
5725C9400
Reported release
751
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-05-06
Closed date
2013-10-30
Last modified date
2013-11-04
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
BPM ADVANCED
Fixed component ID
5725C9400
Applicable component levels
R751 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
04 November 2013