Technote (troubleshooting)
Problem(Abstract)
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.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.