cancel
Showing results for 
Search instead for 
Did you mean: 

message packaging-SMQ2:"Access via 'NULL' object reference not possible"

Former Member
0 Kudos

Hello guys,

I activated message packaging in TA IDXPW and also BPE message packaging in SXMB_ADM. I have problem during processing of large transaction in my integration process. Queue in SMQ2 is blocked with message: Access via 'NULL' object reference not possible

In ST22 is the shortdump generated:

Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED

Exception CX_SY_REF_IS_INITIAL

What happened?

Error in the ABAP Application Program

The current ABAP program "CL_SWF_WFM_LEAF_WIM===========CP" had to be

terminated because it has

come across a statement that unfortunately cannot be executed.

Error analysis

An exception occurred that is explained in detail below.

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

caught in

procedure "IF_SWF_WFM_LEAF_EXECUTE~FINALIZE" "(METHOD)", nor was it propagated

by a RAISING 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 (variable: "ME->M_PARENT").

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.

Do you know how this problem could be solved?

Thanks

Fero

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Chandra and Mahesh,

thank you for your help. Unfortunatelly it didnt help me too much. SAP notes are too old (years 2004/2005) and blog related to my problem is unanswered (I think that also the latest recommendation in this blog is wrong - check your mapping) - - blocked inbound queue.

My scenario is sending data from web application these data are transfered to IDOCs (COND_A) and sent to SAP system by integration process. Then ALEAUD IDOCs are sent back to XI and are collected in IP. After all responses are received status Error/Success is sent back to sender web application.

I had a problem in the first step - start integration process - with very large message (4,7MB with 20.0000 rows what means 20.000 COND_A IDOCs). SAP support prepared new SAP note 1171288 for me to solve error "Error when inserting or changing in a sorted table". Now I am facing the new problem as I described. The solution could be similar as is described in SAP Note 1164228 but this note is relevant for NW 7.1 and we have 7.0.

Now the problem is in step when I am collecting ALEAUDs from SAP system. I sent about 20.000 COND_A and I received probably all back but XI isnt able to process them. I am also not able check integration process as process log is so big that I always get timeout error.

Can somebody help me with this problem?

Fero

former_member859847
Active Contributor
0 Kudos

Hi,

i think, you don't have an object reference for ME.

pls check the following links.

regards

mahesh.

Former Member
0 Kudos

hi,

have alook at the SAP notes,for solution

751383

Follow the corrections given in the note : 857393/751383.

regards

chandra