Hi Hassan
theres the Dump
thanks
Category | ABAP Programming Error |
Runtime Errors | OBJECTS_OBJREF_NOT_ASSIGNED_NO |
Except. | CX_SY_REF_IS_INITIAL |
ABAP Program | CL_CRM_BOL_CORE===============CP |
Application Component CA-WUI-GOL-BOL
Date and Time | 09.09.2013 16:35:33 |
Short text
Access via 'NULL' object reference not possible. |
What happened?
Error in the ABAP Application Program |
The current ABAP program "CL_CRM_BOL_CORE===============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 "GET_ACCESS_ENTITIES" "(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.
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.
How to correct the error
Probably the only way to eliminate the error is to correct the program.
-
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"OBJECTS_OBJREF_NOT_ASSIGNED_NO" "CX_SY_REF_IS_INITIAL"
"CL_CRM_BOL_CORE===============CP" or "CL_CRM_BOL_CORE===============CM013"
"GET_ACCESS_ENTITIES"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"GET_ACCESS_ENTITIES" "(METHOD)", or its possible occurrence must be declared
in the
RAISING clause of the procedure.
To prevent the exception, note the following:
Information on where terminated
Termination occurred in the ABAP program "CL_CRM_BOL_CORE===============CP" -
in "GET_ACCESS_ENTITIES".
The main program was "RSPPFPROCESS ".
In the source code you have the termination point in line 28
of the (Include) program "CL_CRM_BOL_CORE===============CM013".
The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
procedure "GET_ACCESS_ENTITIES" "(METHOD)", but it was neither handled locally
nor declared
in the RAISING clause of its signature.
The procedure is in program "CL_CRM_BOL_CORE===============CP "; its source
code begins in line
1 of the (Include program "CL_CRM_BOL_CORE===============CM013 ".
Source Code Extract
Line SourceCde
1 method GET_ACCESS_ENTITIES .
2
3 * Gets a collection access entities by id passed on input
4 * via IT_INSTANCES.
5 *
6 * The entities are taken from the BOL cache if available there;
7 * A GenIL read is triggered otherwise.
8 *
9 * Use IV_KEEP_ORDER in case the order in the collection needs
10 * to correspond to the list id list to be read.
11 *
12 * An exception is thrown in case a GenIL read operation is triggered
13 * while a BOL reset is in progress.
14
15 * Create result collection
16 create object RV_RESULT type CL_CRM_BOL_ENTITY_COL.
17
18 * Loop at ids of access entities to be retrieved
19 field-symbols: <INSTANCE> type CRMT_GENIL_OBJ_INSTANCE.
20 loop at IT_INSTANCES assigning <INSTANCE>.
21
22 * Assertion if object is inactive
23 assert id BOL_SFW_CHECKS subkey 'INACTIVE_OBJECT' fields <INSTANCE>-OBJECT_NAME
24 condition ME->OBJECT_MODEL->IS_ACTIVE( IV_NAMESPACE = <INSTANCE>-NAMESPACE
25 IV_OBJECT_NAME = <INSTANCE>-OBJECT_NAME )
26
27 * Confirm access object
>>>> check ME->OBJECT_MODEL->IS_ACCESS_OBJECT( IV_NAMESPACE = <INSTANCE>-NAMESPACE
29 IV_OBJECT_NAME = <INSTANCE>-OBJECT_NAME ) = AB
30
31 * Take entity from BOL cache if possible
32 * or build id list of entities to be read otherwise
33 data: LV_ENTITY type ref to CL_CRM_BOL_ENTITY.
34 LV_ENTITY = ME->ENTITY_MANAGER->GET_ENTITY( IV_NAMESPACE = <INSTANCE>-NAMESPACE
35 IV_OBJECT_NAME = <INSTANCE>-OBJECT_NAME
36 IV_OBJECT_ID = <INSTANCE>-OBJECT_ID ).
37 * ... Entity needs to be read
38 if LV_ENTITY is not bound or LV_ENTITY->MY_MANAGER_ENTRY->INVALID = ABAP_TRUE.
39
40 * | Ensure that BOL reset is not running -> Do not read new data during reset! |
41 | if ME->RESET_RUNNING = ABAP_TRUE. |
42 * | Conditional Breakpoint |
43 | data: LV_EX type ref to CX_BOL_EXCEPTION. |
44 | create object LV_EX |
45 | exporting |
46 | TEXTID = CX_BOL_EXCEPTION=>PENDING_OPERATION. |
47 | assert id CRMUIF_CONDITIONAL_BREAKPOINTS |
Contents of system fields
Name Val.
SY-SUBRC 0
SY-INDEX 1
SY-TABIX 1
SY-DBCNT 1
SY-FDPOS 40
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY PPFALV
SY-UCOMM TCOLL_PROC
SY-TITLE PPF: Selección y proceso de salidas
SY-MSGTY E
SY-MSGID R11
SY-MSGNO 141
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20130909
SY-UZEIT 163530
SY-XPROG SAPCNVE
SY-XFORM CONVERSION_EXIT
Active Calls/Events
No. Ty. Program Include Line
Name
17 METHOD CL_CRM_BOL_CORE===============CP CL_CRM_BOL_CORE===============CM013 28
CL_CRM_BOL_CORE=>GET_ACCESS_ENTITIES
16 METHOD CL_CRM_BOL_CORE===============CP CL_CRM_BOL_CORE===============CM00K 10
CL_CRM_BOL_CORE=>GET_ROOT_ENTITY
15 METHOD ZCL_IM_CRM_SENDMAIL_STATUS====CP ZCL_IM_CRM_SENDMAIL_STATUS====CM004 20
ZCL_IM_CRM_SENDMAIL_STATUS=>ZME_GETCATEG
14 METHOD ZCL_IM_CRM_SENDMAIL_STATUS====CP ZCL_IM_CRM_SENDMAIL_STATUS====CM002 141
ZCL_IM_CRM_SENDMAIL_STATUS=>ZME_GET_DATA
13 METHOD ZCL_IM_CRM_SENDMAIL_STATUS====CP ZCL_IM_CRM_SENDMAIL_STATUS====CM001 39
ZCL_IM_CRM_SENDMAIL_STATUS=>IF_EX_EXEC_METHODCALL_PPF~EXECUTE
12 METHOD CL_EX_EXEC_METHODCALL_PPF=====CP CL_EX_EXEC_METHODCALL_PPF=====CM001 203
CL_EX_EXEC_METHODCALL_PPF=>IF_EX_EXEC_METHODCALL_PPF~EXECUTE
11 METHOD CL_METHODCALL_PPF=============CP CL_METHODCALL_PPF=============CM011 109
CL_METHODCALL_PPF=>EXECUTE
10 METHOD CL_METHODCALL_PPF=============CP CL_METHODCALL_PPF=============CM009 9
CL_METHODCALL_PPF=>IF_MEDIUM_PPF~EXECUTE | ||||
9 METHOD | CL_TRIGGER_PPF================CP | CL_TRIGGER_PPF================CM008 114 | ||
CL_TRIGGER_PPF=>EXECUTE | ||||
8 FORM | SAPLSPPF_TCOLL_GUI | LSPPF_TCOLL_GUIF01 | 278 | |
PROCESS_SELECTED_ROWS | ||||
7 FORM | SAPLSPPF_TCOLL_GUI | LSPPF_TCOLL_GUIF01 | 542 | |
CALLBACK_USER_COMMAND | ||||
6 FORM | SAPLSLVC_FULLSCREEN | LSLVC_FULLSCREENF01 | 1152 | |
USER_COMMAND | ||||
5 FORM | SAPLSLVC_FULLSCREEN | LSLVC_FULLSCREENF01 | 1309 | |
PAI | ||||
4 MODULE (PAI) SAPLSLVC_FULLSCREEN | LSLVC_FULLSCREENI01 | 4 | ||
PAI | ||||
3 FUNCTION | SAPLSLVC_FULLSCREEN | LSLVC_FULLSCREENU01 | 187 | |
REUSE_ALV_GRID_DISPLAY | ||||
2 FUNCTION | SAPLSPPF_TCOLL_GUI | LSPPF_TCOLL_GUIU02 | 108 | |
SPPF_TCOLL_FULLSCREEN | ||||
1 EVENT | RSPPFPROCESS | RSPPFPROCESS | 524 | |
START-OF-SELECTION |