Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Logs issue and java.lang.NullPointerException in Receiver Adapter

$
0
0

Hi Experts


I am currently working on an SOAP to REST  synchronous interface and am using SAP rest adapter at receiver side.

 

the requirement is when we perform the POST operation ..record must be suppose to created and send back the unique number to PI server.


but interface is working till the creating the record at target side and not sending back unique number.


below is the error log in PI:


11.05.2015 08:24:08.424message.InformationPreparing message content
11.05.2015 08:24:08.452message.InformationCalling server: {1}
11.05.2015 08:24:08.821message.InformationServer returned code: 201
11.05.2015 08:24:08.822message.InformationREST call finished
11.05.2015 08:24:08.822message.InformationProcessing result
11.05.2015 08:24:08.830message.ErrorTransmitting the message using connection AFW failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Logging message failed, due to Failed to log msg 181bd100-f7b7-11e4-937c-0000185d0526(OUTBOUND). Reason: java.lang.NullPointerException
11.05.2015 08:24:08.838message.ErrorMessage status set to FAIL
11.05.2015 08:24:08.839message.ErrorReturning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Logging message failed, due to Failed to log msg 181bd100-f7b7-11e4-937c-0000185d0526(OUTBOUND). Reason: java.lang.NullPointerException



Note: As we know since this is synchronous,  two message logs must be created one is request and second one for response ..but here that is not happening .its creating only one log which is  for the request message and nothing is coming for response.


Please can you help where its going wrong.


Thanks and Regards,

Maheswarareddy



Viewing all articles
Browse latest Browse all 7030

Trending Articles