cancel
Showing results for 
Search instead for 
Did you mean: 

File-SOAP-File Async/Sync Bridge : Null Pointer Exception

Former Member
0 Kudos

Hi All,

I have a File-SOAP-File scenario (Async/Sync Bridge). This scenario was working fine in PI 7.0. However since the time we have upgraded to PI 7.1, this scenario has been failing.

I do receive a response for web service, however the sender File adapter fails after initiating Response bean.

2010-08-04 12:16:02 Information MP: processing local module localejbs/AF_Modules/ResponseOnewayBean

2010-08-04 12:16:02 Information The message was successfully transmitted to endpoint http://vs06cs01.sce.com:8000/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System.

2010-08-04 12:16:02 Information The message status was set to DLVD.

2010-08-04 12:16:02 Error MP: exception caught with cause java.lang.NullPointerException:

2010-08-04 12:16:02 Error File processing failed with java.lang.NullPointerException:

Our Current PI level: 7.10.7.33

Patch Level: 33

Please advice.

XIer

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Xler,

Regarding the NullPointer, this can be generic but check if ALL of your

components are in the same SP level. Also check the SAP_BASIS and

the number of "Available Support Packages" at 'Repository'.

Please let us know about those information.

Regards,

Caio Cagnani

Former Member
0 Kudos

Hi,

Please go through all the settings for the modules once again - check for any space or other such character present or if some name is not correctly specified.

If you still get the error, then make some change to the channel and re-activate.

Also, make sure you are following the below sequence in the sender file channel-


ModuleName                                                   Type              ModuleKey

AF_Modules/RequestResponseBean      Local Enterprise Bean     1
CallSapAdapter                                        Local Enterprise Bean     2
AF_Modules/ResponseOnewayBean     Local Enterprise Bean     3


Parameters

ModuleKey                    ParameterName                   ParameterValue

1                                       passThrough                          true
3                                        receiverChannel                Receiver File Adapter Name
3                                        receiverService                  Receiver Business Service

Hope this helps.

Regards,

Neetesh

Former Member
0 Kudos

I have made the exact setting in sender adapter.

Objects created:

Sender File adapter

Receiver File adapter

receiver SOAP adapter

one each of RD, RA, SA and ID

Has anyone done the same scenario in PI 7.1???

Former Member
0 Kudos

Hi,

Nell pointer is generic SOAP fault through by the system...if you haven't implemented SOAP fault...most of the case I found it to be with the data you are testing...try to check with new data...

Thanks,

Srinivas Davuluri

Former Member
0 Kudos

Hi,

This error means you didn't find the channel and you were passing a null to the module processor.

Which parameters did you set for ResponseOnewayBean and which header values does the response message from your synchronous step has? And finally, which key fields are set in your receiver agreement that is supposed to be used for routing this message to the receiver channel?

Regards, Yza