SAP Knowledge Base Article - Preview

3372079 - "OBJECTS_OBJREF_NOT_ASSIGNED" runtime error occurs while running a job with custom program

Symptom

A job failed for a Z custom program due to runtime error OBJECTS_OBJREF_NOT_ASSIGNED:

Category               ABAP programming error
Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
Except.                CX_SY_REF_IS_INITIAL
ABAP Program           CL_GUI_FRONTEND_SERVICES======CP
Application Component  BC-FES-GUI
------------------------------------------------------------------------------------------------
Short Text                                                                                        
    Access using a 'ZERO' object reference is not possible. 

_____________________________________________________________________

Error analysis                                                                                    
An exception has occurred which is explained in more detail below. The  exception is assigned to class 'CX_SY_REF_IS_INITIAL' and was not caught in procedure  "REGISTRY_GET_VALUE" "(METHOD)", nor was it propagated by a RAISING clause. Since the caller of the procedure could not have anticipated this exception, the current program was terminated. The reason for the exception is:  You are trying to access a component with a 'ZERO' object reference  (points to 'nothing'). Variable: "CL_GUI_FRONTEND_SERVICES=>HANDLE".  An object reference must point to an object (an instance of a class) before it can be used to access a component. The reference has either never been set, or it was set to 'ZERO' with a CLEAR statement.      

|Information on where terminated                                                                   
The termination occurred in ABAP program or include                                           
  "CL_GUI_FRONTEND_SERVICES======CP", in "REGISTRY_GET_VALUE".


Read more...

Environment

SAP Netweaver

Keywords

 job failed, OBJECTS_OBJREF_NOT_ASSIGNED, ABAP programming error, OBJECTS_OBJREF_NOT_ASSIGNED, exception, CX_SY_REF_IS_INITIAL,  CL_GUI_FRONTEND_SERVICES======CP, dump, Batch input, background, frontend, front end, controls, CL_GUI_FRONTEND_SERVICES=>HANDLE, REGISTRY_GET_VALUE, sy-batch. , KBA , BC-FES-GUI , SAP GUI for Windows , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.