NullPointerException When Oracle Applications Adapter Dequeues Messages From EBS

(Doc ID 462878.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle(R) BPEL Process Manager - Version 10.1.3.1 to 10.1.3.3 [Release AS10gR3]
Information in this document applies to any platform.
This problem can occur on any platform.
***Checked for relevance on 11-Mar-2013***

Symptoms

You attempt to use the Oracle Applications Adapter to process Business Events from EBS .
You have a simple BPEL process that  listens to a single outgoing event using the Applications Adapter. This BPEL process flow then simply takes the message and writes it out to a file using the file adapter.

You encounter the following errors  in the domain.log when the Oracle Applications Adapter attempts to dequeue the messages from EBS  :

NullPointerException. 
<DEBUG> <default.collaxa.cube.activation> <AQ
Adapter::Inbound> MessageReader_getAsXML message:<<<<<<<
<?xml version = '1.0' standalone = 'yes'?>
<WF_EVENT_T xmlns="http://xmlns.oracle.com/xdb/APPS">
<PRIORITY xmlns="">50</PRIORITY>
<SEND_DATE xmlns="">2007-09-25T12:33:57.000-04:00</SEND_DATE>
<RECEIVE_DATE xmlns="">2007-09-25T12:35:24.000-04:00</RECEIVE_DATE>
<CORRELATION_ID xmlns=""></CORRELATION_ID>
<PARAMETER_LIST xmlns="">
<PARAMETER_LIST_ITEM>
<NAME>Run</NAME>
<VALUE>Now</VALUE>
</PARAMETER_LIST_ITEM>
</PARAMETER_LIST>
<EVENT_NAME
xmlns="">oracle.apps.per.irc.api.agency_vacancies.create_agency_vacancy</EVENT_NAME>
<EVENT_KEY xmlns="">See What This Does</EVENT_KEY>
<EVENT_DATA xmlns=""></EVENT_DATA>
<FROM_AGENT xmlns="">
<NAME>WF_BPEL_QAGENT</NAME>
<SYSTEM>OA11DEV.WORLD</SYSTEM>
</FROM_AGENT>
<TO_AGENT xmlns=""/>
<ERROR_SUBSCRIPTION xmlns="">Ougx6LLDaabgRAAAAAAAAA==</ERROR_SUBSCRIPTION>
<ERROR_MESSAGE xmlns=""></ERROR_MESSAGE>
<ERROR_STACK xmlns=""></ERROR_STACK>
</WF_EVENT_T> >>
<DEBUG> <default.collaxa.cube.activation> <AQ
Adapter::Inbound> MessageReader_readMessage: aqHeader = oracle.xml.parser.v2.XMLDocument@9069d9
<DEBUG> <default.collaxa.cube.activation> <AQ
Adapter::Inbound> MessageReader_readMessage:Header<<<<<<<
<?xml version = '1.0' standalone = 'yes'?>
<Header xmlns="http://xmlns.oracle.com/pcbpel/adapter/aq/inbound/">
<MessageId>3AE1EFDAF74F29DAE044000000000000</MessageId>
<Priority>50</Priority>
<Correlation>APPS</Correlation>
<Attempts>0</Attempts>
<EnqueueTime>2007-09-25T13:35:24.000-04:00</EnqueueTime>
<OrigMessageId></OrigMessageId>
</Header> >>
java.lang.NullPointerException 
at java.lang.String.<init>(String.java:479) 
at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:573) 
at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:183)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51) 
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272) 
at java.lang.Thread.run(Thread.java:595) 
<ERROR> <default.collaxa.cube.activation> <AQ
Adapter::Inbound> MessageReader_ReadMessage: Could not create XML document carrying AQ Headers:
[Ljava.lang.StackTraceElement;@1153228
>>>>

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