SAP Knowledge Base Article - Preview

2528255 - “Apply and Active” for all Managed Objects in Step 4 Template Maintenance generates errors in ABAP Program CL_ALRT_CFG_CONTROLLER_HELPER=CP


Category               ABAP Programming Error
Except.                CX_SY_REF_IS_INITIAL
Application Component  SV-SMG-MON-ALR-DIR

Short Text

   Access using a 'ZERO' object reference is not possible. 

What happened?

   Error in the ABAP Application Program
   The current ABAP program "CL_ALRT_CFG_CONTROLLER_HELPER=CP" had to be
   terminated because it has
   come across a statement that unfortunately cannot be executed.

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                   
    "RECONFIGURE" "(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: "LO_LOG".                                                    
    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 "CL_ALRT_CFG_CONTROLLER_HELPER=CP",                  
     in "RECONFIGURE". The main program                                                           
    was "SAPMHTTP".                                                                               
    In the source code, the termination point is in line 86 of (Include)                          
    program "CL_ALRT_CFG_CONTROLLER_HELPER=CM00Y".                                                
    The termination is due to exception "CX_SY_REF_IS_INITIAL" occurring in                       
    procedure "RECONFIGURE" "(METHOD)".                                                          
    This exception was not handled locally or declared in the RAISING                             
    clause in the procedure's signature however.                                                  
    The procedure is in program "CL_ALRT_CFG_CONTROLLER_HELPER=CP". The source                    
     code begins in line 1 of                                                                     
    (include) program "CL_ALRT_CFG_CONTROLLER_HELPER=CM00Y".

>>>>>          lo_log->add_error_message( iv_msgno      =  cl_alrt_cfg_autoconfig_log=>co_msgno_e



SAP Solution Manager 7.2 SP03-05


SAP Solution Manager 2.1 ; SAP Solution Manager 2.2 ; SAP Solution Manager 3.1 ; SAP Solution Manager 3.2 ; SAP Solution Manager 7.0 ; SAP Solution Manager 7.1 ; SAP Solution Manager 7.2 ; SAP enhancement package 1 for SAP Solution Manager 7.0


SOLMAN, Technical system monitoring, inconsistency , KBA , SV-SMG-MON-ALR-DIR , Alert / Metric Directory , 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.