IBM Support

NullPointerException when deploying the WebSphere Adapter for SAP

Troubleshooting


Problem

The WebSphere Adapter for SAP fails during deployment with a NullPointerException.

Symptom

The following errors are reported after the WebSphere Adapter for SAP fails deployment:

1.) Error reported back from WebSphere Message Broker:

BIP3450E: An adapter error occurred during the processing of a message.


2.) Stacktrace thrown from the WebSphere Adapter for SAP:



java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:518)
at com.sap.conn.jco.rt.DefaultServerManager.addServer(DefaultServerManager.java:130)
at com.sap.conn.jco.rt.DefaultServer.addListener(DefaultServer.java:267)
at com.sap.conn.jco.rt.DefaultServer.start(DefaultServer.java:653)
at com.sap.conn.jco.rt.DefaultServer.setConnectionCount(DefaultServer.java:739)
at com.ibm.j2ca.sap.inbound.SAPEventListenerManager.startEventListener(SAPEventListenerManager.java:193)
at com.ibm.j2ca.sap.inbound.SAPEventListenerManager.startEventListeners(SAPEventListenerManager.java:146)
at com.ibm.j2ca.sap.inbound.EndpointManager.addEndpoint(EndpointManager.java:107)
at com.ibm.j2ca.sap.SAPResourceAdapter.endpointActivation(SAPResourceAdapter.java:208)
...

Resolving The Problem

The NullPointerException is caused by a known code defect in the SAP provided library called, SAP Java™ Connector on levels prior to 3.0.3. To resolve the issue, download and install a later release of the SAP Java Connector from the SAP Service Marketplace.

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

Document Information

More support for:
WebSphere Adapters Family

Software version:
7.0.0.1, 7.0

Document number:
409653

Modified date:
15 June 2018

UID

swg21451102

Manage My Notification Subscriptions