Troubleshooting
Problem
In some cases, when applying Move transformation on array elements in an XSL Transformation primitive of a Mediation Flow, the following exception and error message may be received at runtime: MediationRuntimeException CWSXM1025E
Symptom
The following exceptions will exist in the system log file:
0000006e ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "transactionRequiredActivitySessionNotSupported" on bean "BeanId(MMTApp#MMTEJB.jar#Module, null)". Exception data: com.ibm.wsspi.sibx.mediation.flow.MediationRuntimeException: CWSXM1025E: An unexpected exception occurred when the flow was called: Error reading XML
...
Caused by: java.lang.IndexOutOfBoundsException: The property named 'xxx' is already set, but the input XML contains more instances
at com.ibm.ws.bo.bomodel.util.BOXMLHandler.getFeatureWithValidation(BOXMLHandler.java:249)
at com.ibm.ws.bo.bomodel.util.BOXMLHandler.handleFeature(BOXMLHandler.java:589)
Cause
If you have an array where the source and target element names do not match, but the type names do match, then a Move between these similar types does not work. Also, this issue only applies for complex element arrays.
Resolving The Problem
The correct way to map array elements is to use For-each transformation.
Related Information
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21417672