webMethods

 View Only

 NullPointerException during SAP Notification Processing - SAP Adapter 10.1 Fix10

Corentin MOREAU's profile image
Corentin MOREAU posted Mon June 30, 2025 04:52 AM

Hello,

We are encountering a blocking error when processing an inbound notification via the webMethods SAP Adapter (version 10.1 Fix10) on our webMethods Integration Server.

Our environment :

  • SAP Adapter Version: 10.1 Fix 10
  • IS 10.5

Most of the time, the SAP notifications are processed successfully without any errors.
However, occasionally we are seeing the following error in the IS server logs:

[SAP.115.9561] Notification error: java.lang.NullPointerException - null
at com.wm.app.audit.impl.AuditRuntime.validateContextID(AuditRuntime.java:509)
at com.wm.app.audit.impl.AuditRuntime.validateContextID(AuditRuntime.java:496)
at com.wm.app.audit.impl.AuditRuntime.setContextStack(AuditRuntime.java:384)
at com.wm.app.audit.impl.AuditRuntime.<init>(AuditRuntime.java:77)
at com.wm.app.audit.impl.AuditRuntime.clone(AuditRuntime.java:604)
at com.wm.app.b2b.server.InvokeState.clone(InvokeState.java:273)
at com.wm.app.b2b.server.AbstractISThread.init(AbstractISThread.java:36)
We would like to know:
  • If this is a known issue with this adapter version.
  • If there is any fix available to solve it.
Thank you in advance for your support,
Best regards,
Corentin
Holger von Thomsen's profile image
Holger von Thomsen

Hi Corentin,

what is your SAP JCo version loaded into the SAP Adapter?

You might need to update your JCo version to make this work.
Check for newer SAP Adapter Fixes as well.

For the future you should consider upgrading to IS 10.15 instead of IS 10.5 as 10.15 is the last version provided by Software AG.
Starting with the 11.x stream, the webMethods Suite is provided by IBM.

Regards,
Holger

Corentin MOREAU's profile image
Corentin MOREAU

Hi Holger,

Our SAP JCo Version loaded is 3.1.6 and SAP IDoc Library version is 3.1.2.

We are currently upgrading our IS to 10.15.

Regards, 

Corentin

Kailash Kumar Mishra's profile image
Kailash Kumar Mishra

Hi @Corentin MOREAU

We too have performed an Upgrade from IS 10.7 to 10.15 in April-2025 and it is working fine. Below are the details wrt to SAP Adapter and Jars at our end if it helps in any way.

Navigation : IBM webMethods Adapter for SAP --> About