NullPointerException when consuming a JMS message with a Null JMSMessageID (Doc ID 1446797.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle SOA Suite - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

JMS Providers MAY be configured to produce messages that carry a NULL value for the JMSMessageID Header.

Such messages, if consumed by the JMS Adapter, WILL fail processing.

The following error can be noted in the log files:

java.lang.NullPointerException
at java.lang.StringBuffer.<init>(StringBuffer.java:103)
at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.deriveUniqueKey(AdapterServiceMDB.java:694)
at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.shouldProcessMessage(AdapterServiceMDB.java:717)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms