cancel
Showing results for 
Search instead for 
Did you mean: 

CX_SY_REF_IS_INITIAL exception at receiver proxy

Former Member
0 Kudos

Hi There,

I am getting CX_SY_REF_IS_INITIAL exception while processing message by ABAP Proxy.

Below find text from DUMP.

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was n

caught in

procedure "XI_PROCESS_PAYLOAD" "(METHOD)", nor was it propagated by a R

clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

You attempted to use a 'NULL' object reference (points to 'nothing')

access a component.

An object reference must point to an object (an instance of a class)

before it can be used to access components.

Either the reference was never set or it was set to 'NULL' using the

CLEAR statement.

Becuase of this message is failed with system error 'HTTP response contains status code 500 with the description Internal Server Error' in XI.

Any suggestions will be appriciated.

Regards,

Ram.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member859847
Active Contributor
0 Kudos

Hi Rams,

I hope you are doing server proxy.

Could please let me know, the way of testing the scenario.

the error happened in ECC after data pushing from XI, is it correct?

regards

mahesh.

Former Member
0 Kudos

Thanks for your mail Mahesh.

Sender - Webservice

Receiver - R/3

Webservice sends a SOAP message to XI

XI sends a proxy request to R/3

I have received SOAP message in XI and also it is sent to R/3. In R/3 my message is failed with this DUMP. I can't see my message from SXMB_MONI in R/3 as it is failed prior to that.

regards,

Ram.

Former Member
0 Kudos

Hi,

Check with SMQ1 at XI Side

And SMQ2 at R/3 Side

Regards

Seshagiri

former_member859847
Active Contributor
0 Kudos

Hi Rams,

This is standard class avialble in ECC.

we can saw this class(CX_SY_REF_IS_INITIAL) via T.code SE24 .

this exception is due to incorrect declartion of variable in proxy class(i mean in server proxy program).

i hope the following link will help you some extent.

?

in mean while, i will check it and let you know.

regards

mahesh.