cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP EJB Exception: : java.lang.NullPointerException

Bhargavakrishna
Active Contributor
0 Kudos

Dear All,

We are working on a IDOC to SOAP asynchronous scenario. i imported the WSDL file in PI and mentioned the URL in SOAP communication Channel.

My WSDL structure is like this.

I used the same WSDL for other scenario as well and used only Employee structure and it is working fine.

In current scenario im using Dependent structure.


i can see the messages in the moni and RWB as well.

In moni the messages are successfully processed. no data is going to webservice and the acknowledgement got ailed.

i did not use any acknowledgement.

It is giving the response message and the status of message is system error in RWB.

If i click on the acknowledgement msg ID.

Exception caught by adapter framework: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: EJB Exception: : java.lang.NullPointerException

-              <Trace level="1" type="B" name="CL_IDX_IDOC_SERVICE-ENTER_PLSRV">

               <Trace level="1" type="T">Pipeline Service ID: PLSRV_CALL_ADAPTER</Trace>

              <Trace level="1" type="T">Get Information from IS-Header Objekt</Trace>

               <Trace level="1" type="T">Get Information from SD-IDoc-Endpoint</Trace>

                <Trace level="1" type="T">Sender and Receiver after Header-Mapping</Trace>

                <Trace level="1" type="T">Sender service BS_HIS_System</Trace>

                <Trace level="1" type="T">Receiver service BS_erpdev2_R3</Trace>

              </Trace>

              </Trace>

            <Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>

               <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />

Help me to resolve this issue.

Regards

Bhargava krishna

Accepted Solutions (0)

Answers (4)

Answers (4)

Bhargavakrishna
Active Contributor
0 Kudos

Hi All,

Thanks for your response.

Actually there is some problem with the Web-service, i informed them and they are working on it.

Regards

Bhargava krishna

ambrish_mishra
Active Contributor
0 Kudos

Hi Bhargava

To get things in perspective, this error has nothing to do with the data not getting posted at the third party side.

<no data is going to webservice and the acknowledgement got ailed.>

Do you mean it is failing at the adapter ?

You should be looking on how to suppress the acknowledgment error. Try switching off the acknowledgment for the specific message type through report IDX_NOALE in R3.

Read through http://scn.sap.com/message/2221062 and http://scn.sap.com/docs/DOC-16142

Hope it helps!

Ambrish

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Since the above specified link does not work,  I'm giving the following link

http://wiki.sdn.sap.com/wiki/display/XI/Unable+to+convert+Sender+system+to+ALE+logical+system

Basically you have to go to ID and go to adapter specific identifier screen and check whether your idoc adapter has logical business system value. If not set it as the link recommended.  Thatswhy you get null pointer exception

Former Member
0 Kudos

Hi,

Have you checked this?:

http://wiki.sdn.sap.com/wiki/display/XI/Unable+to+convert+Sender+system
+to+ALE+logical+system

Best regards,

Gábor