Archived discussions are read-only. Learn more about SAP Q&A

Access via 'NULL' object reference not possible

Hey guys,

I really need your help. After updating our SAP TM from Service Pack 02 to Service Pack 04, an error during creation of transportation proposals and saving a freight units occurres. There is a "Access via 'NULL' object reference not possible. " error.

Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED

Exception CX_SY_REF_IS_INITIAL

Error in the ABAP Application Program

The current ABAP program "CL_WDR_CONTEXT_NODE_MAP=======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_WD_CONTEXT_NODE~IS_ALIVE" "(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->MAPPEE").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.

Keywords:

"OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL" "CL_WDR_CONTEXT_NODE_MAP=======CP" or "CL_WDR_CONTEXT_NODE_MAP=======CM01X" "IF_WD_CONTEXT_NODE~IS_ALIVE"

Do you have got any idea?

Kind regards,

Christian

  • SAP Moderator
replied

Hi Christian,

We had some issues with the Freight Units. Try notes 1318988 and 1319829. Maybe they have some answers for you, but I am not sure. I hope it helps.

Regards,

Nico.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question