cancel
Showing results for 
Search instead for 
Did you mean: 

Message Mapping "null point error"

deva_gembali2
Participant
0 Kudos

Hi Experts,

Scenario : AMQP --> IDOC,

there was a DB issue and system down, same time ,a lot of messages failed due to null point exception.

Transmitting the message to endpoint <local> using connection AMQP_http://advantco.com/xi/XI/AMQP failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to load from a null object array loaded from local variable 'objects'



what is this kind of error ?


Where variable missing to process that kind of messages ?


How to reprocess from error stage to delivered stage ?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182412
Active Contributor
0 Kudos

Hi Deva,

Check the below note is applicable to your PI system.

2087346 - IDoc_AAE: NullPointerException: while trying to load from a null object array loaded from ...


You are using the IDoc_AAE receiver adapter. If an exception occurs after the IDoc send step and the IDocs are actually sent to the receiver system, the relevant XI message is set to error status. When the XI message re-send is triggered a duplicate check is executed and the XI message should be set to successfully delivered as the IDoc documents were already sent to the receiver system. However the processing fails again with the following error:

java.lang.NullPointerException: while trying to load from a null object array loaded from local variable 'objects'

The same error occurs again on each subsequent resend.

Regards,

Praveen.

former_member186851
Active Contributor
0 Kudos

Hello Deva,

Your quering DB and I think this error is due to null values.

Was the scenario working earlier?