IBM Support

WebSphere Adapter for SAP V6.2.x: Artifacts generated fail to run on WebSphere Adapter for SAP V7.5.0.0 on WebSphere Application Server V8.0

Troubleshooting


Problem

The artifacts generated on WebSphere Adapter for SAP V6.2.0.4 do not work on WebSphere Adapter for SAP V7.5.0.0 for the BAPI outbound modules on WebSphere Application Server V8.0.

Symptom

WebSphere Adapter V6.2.x BAPI artifacts with tabletype fail with a NullPointerException on WebSphere Application Server V8.0 running WebSphere Adapter for SAP V7.5.0.0.

This error occurs under the following circumstances:

- WebSphere Adapter for SAP V7.5.0.0 on WebSphere Application Server V8.0 processing outbound BAPIs
- BAPIs containing table parameters
- Artifacts built with WebSphere Adapter for SAP V6.2.0.x

In the above cases the Adapter is able to successfully call the remote function on SAP and receive updates. However the Adapter fails when serializing the table type parameters while processing these updates.

The following error message is displayed:

[7/2/12 9:45:34:561 EDT] FFDC
Exception:java.lang.NullPointerException
SourceId:com.ibm.ejs.container.RemoteExceptionMappingStrategy.
setUncheckedException ProbeId:200
Reporter:com.ibm.ejs.container.RemoteExceptionMappingStrategy@1
df13f7
java.lang.NullPointerException
at com.ibm.j2ca.sap.serializer.SAPBapiObjectSerializer.
convertTable(SAPBapiObjectSerializer.java:421)
at com.ibm.j2ca.sap.serializer.SAPBapiObjectSerializer.
toCursor(SAPBapiObjectSerializer.java:229)
at com.ibm.j2ca.sap.serializer.SAPBapiObjectSerializer.
eisObjectToBapiCursor(SAPBapiObjectSerializer.java:114)
at com.ibm.j2ca.sap.serializer.SAPBapiObjectSerializer´.
eisObjectToCursor(SAPBapiObjectSerializer.java:87)
at com.ibm.j2ca.sap.records.SAPBapiRecord.getNext
(SAPBapiRecord.java:68)

Resolving The Problem

APARs JR43313 and JR43182 resolve this issue. This fix was delivered in v7.5.0.0_IF02 of the SAP Adapter.

[{"Product":{"code":"SSMKUK","label":"WebSphere Adapters Family"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
15 June 2018

UID

swg21599451