My Oracle Support Banner

JMS Adapter For AQ Foreign Server Enqueue Message Throw NullPointerException at 'oracle.jms.AQjmsProducer.checkMessageType' (Doc ID 2789056.1)

Last updated on JULY 02, 2021

Applies to:

SOA on Marketplace - Version N/A to N/A
Information in this document applies to any platform.

Symptoms

When producing a message to AQ through JMS Adapter, the client-side received the error message as below:

<env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>env:Server</faultcode>
<faultstring>Exception occurred when binding was invoked.
Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'Produce_Message' failed due to: ERRJMS_ENQUEUE_ERR.
ERRJMS_ENQUEUE_ERR.
Exception raised while enqueuing a message.
Please examine the log file to determine the problem.
".
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
</faultstring>
<faultactor/>
<detail>
<exception>null</exception>
</detail>
</env:Fault>
oracle.sysman.emInternalSDK.webservices.util.SoapTestException: Client received SOAP Fault from server : Exception occurred when binding was invoked.
Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'Produce_Message' failed due to: ERRJMS_ENQUEUE_ERR.
ERRJMS_ENQUEUE_ERR.
Exception raised while enqueuing

 From SOA serve log, we can see the error message as below:

<Jul 2, 2021 2:25:21,786 AM GMT> <Error> <oracle.soa.adapter.jms.outbound> <BEA-000000> <[composite_version: 1.0] [endpoint_name: jmsReference] JMSMessageProducer_produce: [default destination = jms/RAW_MSG_QUEUE_2]:null>
<Jul 2, 2021 2:25:21,897 AM GMT> <Error> <oracle.soa.adapter.jms> <BEA-000000> <[composite_version: 1.0] [endpoint_name: jmsReference] JmsProducer_execute:[default destination = jms/RAW_MSG_QUEUE_2]: A resource exception occurred while producing message
BINDING.JCA-12166
ERRJMS_ENQUEUE_ERR.
ERRJMS_ENQUEUE_ERR.
Exception raised while enqueuing a message.
Please examine the log file to determine the problem.

at oracle.tip.adapter.jms.JMS.JMSMessageProducer.produce(JMSMessageProducer.java:279)
at oracle.tip.adapter.jms.outbound.JmsProducer.execute(JmsProducer.java:342)
at oracle.tip.adapter.jms.JmsInteraction.produceMessage(JmsInteraction.java:188)
at oracle.tip.adapter.jms.JmsInteraction.executeProduce(JmsInteraction.java:180)
at oracle.tip.adapter.jms.JmsInteraction.execute(JmsInteraction.java:148)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:421)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:783)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused By: java.lang.NullPointerException
at oracle.jms.AQjmsProducer.checkMessageType(AQjmsProducer.java:2779)
at oracle.jms.AQjmsProducer.jdbcEnqueue(AQjmsProducer.java:875)
at oracle.jms.AQjmsProducer.send(AQjmsProducer.java:793)
at oracle.jms.AQjmsProducer.send(AQjmsProducer.java:558)
at oracle.tip.adapter.jms.JMS.JMSMessageProducer.produce(JMSMessageProducer.java:241)

>

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.