Troubleshooting
Problem
When an XML or Business Object data map is used in a BPEL process the BPEL editor generates the appropriate calling sequence. If the data map inputs are subsequently changed then the BPEL process may fail to run correctly. Changing the data map inputs in this way will not cause error markers to appear in the BPEL process or the map program.
Symptom
Depending on the type of map one of these errors occurs while running a data map in a BPEL process.
An XML Map that is changed may display some fields that are null or unset after the map is run.
A Business Object Map that is changed may cause a server exception similar to the following:
[10/3/11 17:09:16:366 EDT] FFDC Exception:com.ibm.wbiserver.map.exceptions.WBIMapFailureException SourceId:com.ibm.wbiserver.map.impl.MapServiceImpl.transform ProbeId:118
com.ibm.wbiserver.map.exceptions.WBIMapFailureException: CWLAS0016E: The input object with the BO3 variable name in the BOMapStyle map is null.
at bpelmaptest.BOMapStyle.BOMapStyle_map(BOMapStyle.java:143)
at bpelmaptest.BOMapStyle.$BOMapStyle_map(BOMapStyle.java:99)
at bpelmaptest.BOMapStyle.executeMethod(BOMapStyle.java:68)
at com.ibm.wbiserver.map.impl.MapServiceImpl.transform(MapServiceImpl.java:159)
at com.ibm.wbiserver.map.impl.MapServiceImpl.transform(MapServiceImpl.java:87)
at com.ibm.bpe.generated.Abstract_PT_90010132_cb9979b1_daeae5f6_8c440090$JSE_9.execute(Abstract_PT_90010132_cb9979b1_daeae5f6_8c440090.java:212)
at com.ibm.bpe.framework.ProcessBase6.executeJavaSnippet(ProcessBase6.java:515)
at com.ibm.bpe.generated._PT_90010132_cb9979b1_daeae5f6_8c440090.invokeSnippet(_PT_90010132_cb9979b1_daeae5f6_8c440090.java:43)
...
Cause
The BPEL process uses an incorrect calling sequence when calling a data map because the data map inputs were changed after the BPEL process was created.
Diagnosing The Problem
The problem can be identified by examining the output of the map and the server log. XML maps may leave some fields empty where you expect data to appear and Business Object maps will generate an exception appearing in an FFDC on the server.
Resolving The Problem
In this sample BPEL process DataMap1 calls an XML map and DataMap2 calls a Business Object map.

Originally DataMap1 only involved input BO1 and output BO2. After the BPEL process was complete a developer added BO3 to the map.

When you run this map you may expect output in field4 of BO2 but since this map was modified after the BPEL process was written the BPEL process will only pass an argument of type BO1. Only the first three fields will be set.
Similarly, DataMap2 used only BO1 and BO2 in its formulation. After the BPEL process was complete a developer added BO3 to the map.

When the BPEL process runs it will only pass an argument of type BO1 to this map. Since it requires two arguments, one BO1 and one BO3, it will fail with an exception and none of the output fields will be set.
To resolve the problem of a BPEL process calling a data map incorrectly delete the data map node from the BPEL process and add a new node using a new map with the correct inputs
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21505540