Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SOAP Adapter Java Null Pointer, Receiver receive mutiple times of message

Hi,

My scenario is Proxy -> PI 7.1 -> Soap receiver.

The scenario was working before , and recently we got System Fails in adapter:

********************Adapter Audit Log****************************

2010-01-11 10:41:16 Information The message was successfully received by the messaging system. Protocol: XI URL: http://hdrpidev01.bchydro.bc.ca:51100/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER

2010-01-11 10:41:16 Information Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.

2010-01-11 10:41:16 Information Message successfully put into the queue.

2010-01-11 10:41:16 Information The message was successfully retrieved from the receive queue.

2010-01-11 10:41:16 Information The message status was set to DLNG.

2010-01-11 10:41:16 Information Delivering to channel: ESB_CostCenter_SOAP_Receiver

2010-01-11 10:41:16 Information SOAP: request message entering the adapter with user J2EE_GUEST

2010-01-11 10:41:16 Information SOAP: completed the processing

2010-01-11 10:41:16 Information SOAP: sending a delivery ack ...

2010-01-11 10:41:16 Information SOAP: sent a delivery ack

2010-01-11 10:41:16 Error Adapter Framework caught exception: null

2010-01-11 10:41:16 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException.

2010-01-11 10:41:16 Information The message status was set to WAIT.

2010-01-11 10:41:16 Information The asynchronous message was successfully scheduled to be delivered at Mon Jan 11 10:46:16 PST 2010. .....

The log has another three reties which I did not listed above.

The question is that the receiver system received the message and received 4 times.

I future go to the je22 engine log viewer, then I got following error message :

********************J2EE Log Viewer****************************

Message:

Marked transaction for rollback for meesage 4b47ad05-9df9-0176-e100-8000ac190651(INBOUND). Reason: java.lang.NullPointerException

Date: 2010-01-11

Time: 10:41:09:732

Category: com.sap.engine.messaging.impl.core.queue.consumer.ReceiveConsumer

Location:

com.sap.engine.messaging.impl.core.queue.consumer.ReceiveConsumer.invokeHandler(QueueMessage, MessageController)

Application:Thread: MS Queue Worker [SOAP_http://sap.com/xi/XI/SystemRecv]

Data Source:

j2ee/cluster/server0/log/defaultTrace_00.trc

Arguments:

DSR Transaction: 0f3437c0fcc911de826200145ec71b45

Message Code:

Session: 0

Transaction: SAP J2EE Engine JTA Transaction : [6ffffffab3c2602ffffffa564]

User: J2EE_GUEST

Time Zone: 0-800

CSN Component: BC-XI-CON-MSG

DC Component: com.sap.aii.af.ms.svc

Correlation ID: 111885350000000004

DSR Root Context ID: 0F3437C0FCC911DE826200145EC71B45

DSR Connection: 0f3437c0fcc911de826200145ec71b45

DSR Counter: 0

Log ID: 00145EC71B45510B0000000100137042

Host: hdrpidev01

System: DI1

Instance: DVEBMGS11

Node: server0

********************End of J2EE Log Viewer****************************

We never came cross the situation of sending mutiple message out while there is system error in adapter.

Any ideas and comments ?

Thanks in advance

Liang

Former Member
Not what you were looking for? View more on this topic or Ask a question