Category ABAP Programming Error Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO Except. CX_SY_REF_IS_INITIAL ABAP Program ZABAPGIT Application Component BC-ABA Date and Time 12.03.2019 12:27:42 Short Text Access using a 'ZERO' object reference is not possible. What happened? Error in the ABAP Application Program The current ABAP program "ZABAPGIT" had to be terminated because it has come across a statement that unfortunately cannot be executed. What can you do? Note down which actions and inputs caused the error. To process the problem further, contact you SAP system administrator. Using Transaction ST22 for ABAP Dump Analysis, you can look at and manage termination messages, and you can also keep them for a long time. 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 "PARSE" "(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 Category ABAP Programming Error Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO Except. CX_SY_REF_IS_INITIAL ABAP Program ZABAPGIT Application Component BC-ABA Date and Time 12.03.2019 12:27:42 (points to 'nothing'). 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. How to correct the error The exception must either be prevented, caught in procedure "PARSE" "(METHOD)", or the possibility of it occurring must be declared in the RAISING clause in the procedure. To prevent the exception, note the following: Probably the only way to eliminate the error is to correct the program. - If the error occurs in a non-modfied SAP program, you might be able to find a solution in the SAP Notes system. If you have access to the SAP Notes system, check there first using the following keywords: "OBJECTS_OBJREF_NOT_ASSIGNED_NO" CX_SY_REF_IS_INITIAL "ZABAPGIT" bzw. ZABAPGIT "PARSE" If you cannot solve the problem yourself, please send the following information to SAP: 1. This description of the problem (short dump) To do this, choose System -> List -> Save -> Local File (unconverted) on the screen you are in now. 2. A suitable system log To do this, call the system log in transaction SM21. Restrict the time interval to ten minutes before the short dump and five minutes after it. In the display, choose System -> List -> Save -> Local File (unconverted). 3. If these are programs of your own, or modified SAP programs: Source Category ABAP Programming Error Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO Except. CX_SY_REF_IS_INITIAL ABAP Program ZABAPGIT Application Component BC-ABA Date and Time 12.03.2019 12:27:42 code of these programs To do this, choose More Utilities -> Upload/Download -> Download in the Editor. 4. Details regarding the conditions under which the error occurred or which actions and input caused the error. System environment SAP Release..... 740 SAP Basis level 0013 Application server... Network address...... Operating system... Windows NT Release.............. 6.1 Hardware type....... 4x AMD64 Level Character length..... 8 Bits Pointer length........ 64 Bits Work process number... 7 Shortdump setting. full Database server... Database type..... ORACLE Database name..... Database user ID Terminal.......... Character set English_United State SAP kernel....... 745 Created on....... Created at....... Database version OCI_11201_SHARE, 11.2.0.4.0 Patch level....... 317 Category ABAP Programming Error Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO Except. CX_SY_REF_IS_INITIAL ABAP Program ZABAPGIT Application Component BC-ABA Date and Time 12.03.2019 12:27:42 Patch text....... Database............. ORACLE 11.2.*.*.*, ORACLE 12.*.*.*.* SAP database version. 745 Operating system... Windows NT 6.0, Windows NT 6.1, Windows NT 6.2, Windows NT 6.3, Windows NT 10.0 Memory consumption Roll.... 0 EM...... 107192864 Heap.... 0 Page.... 1998848 MM used. 6121360 MM free. 1630384 User and Transaction Client................. User.................. Language key.......... E Transaction......... SE38 Transaction ID...... EPP whole context ID...... 005056914D751ED991972B5CEE18A728 EPP connection ID........ 00000000000000000000000000000000 EPP call counter......... 0 Program.............. ZABAPGIT Screen.............. ZABAPGIT 1001 Screen line.......... 21 Active debugger..... "(TPDA)" Information on where terminated The termination occurred in ABAP program "ZABAPGIT", in "PARSE". The main Category ABAP Programming Error Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO Except. CX_SY_REF_IS_INITIAL ABAP Program ZABAPGIT Application Component BC-ABA Date and Time 12.03.2019 12:27:42 program was "ZABAPGIT". In the source code, the termination point is in line 3129 of (Include) program "ZABAPGIT". The termination is due to exception "CX_SY_REF_IS_INITIAL" occurring in procedure "PARSE" "(METHOD)". This exception was not handled locally or declared in the RAISING clause in the procedure's signature however. The procedure is in program "ZABAPGIT". The source code begins in line 3104 of (include) program "ZABAPGIT". Source Code Extract Line SourceCde 3099 METHOD constructor. 3100 mi_ixml = cl_ixml=>create( ). 3101 mi_xml_doc = mi_ixml->create_document( ). 3102 ENDMETHOD. "constructor 3103 3104 METHOD parse. 3105 3106 DATA: li_stream_factory TYPE REF TO if_ixml_stream_factory, 3107 li_istream TYPE REF TO if_ixml_istream, 3108 li_element TYPE REF TO if_ixml_element, 3109 li_version TYPE REF TO if_ixml_node, 3110 li_parser TYPE REF TO if_ixml_parser. 3111 3112 3113 ASSERT NOT iv_xml IS INITIAL. 3114 3115 li_stream_factory = mi_ixml->create_stream_factory( ). 3116 li_istream = li_stream_factory->create_istream_string( iv_xml ). 3117 li_parser = mi_ixml->create_parser( stream_factory = li_stream_factory Category ABAP Programming Error Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO Except. CX_SY_REF_IS_INITIAL ABAP Program ZABAPGIT Application Component BC-ABA Date and Time 12.03.2019 12:27:42 3118 istream = li_istream 3119 document = mi_xml_doc ). 3120 li_parser->set_normalizing( iv_normalize ). 3121 IF li_parser->parse( ) <> 0. 3122 error( li_parser ). 3123 ENDIF. 3124 3125 li_istream->close( ). 3126 3127 3128 li_element = mi_xml_doc->find_from_name_ns( depth = 0 name = c_abapgit_tag ). >>>>> li_version = li_element->if_ixml_node~get_attributes( 3130 )->get_named_item_ns( c_attr_version ) ##no_text. 3131 IF li_version->get_value( ) <> lif_defs=>gc_xml_version. 3132 display_xml_error( ). 3133 ENDIF. 3134 3135 * buffer serializer metadata. Git node will be removed lateron 3136 ms_metadata-class = li_element->get_attribute_ns( c_attr_serializer ). 3137 ms_metadata-version = li_element->get_attribute_ns( c_attr_serializer_version ). 3138 3139 ENDMETHOD. "parse 3140 3141 METHOD display_xml_error. 3142 3143 DATA: lv_version TYPE string. 3144 3145 3146 lv_version = |abapGit version: { lif_defs=>gc_abap_version }|. 3147 3148 CALL FUNCTION 'POPUP_TO_INFORM' Contents of system fields Name Val. Category ABAP Programming Error Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO Except. CX_SY_REF_IS_INITIAL ABAP Program ZABAPGIT Application Component BC-ABA Date and Time 12.03.2019 12:27:42 SY-SUBRC 0 SY-INDEX 0 SY-TABIX 59 SY-DBCNT 1 SY-FDPOS 1 SY-LSIND 0 SY-PAGNO 0 SY-LINNO 1 SY-COLNO 1 SY-PFKEY %_CS SY-UCOMM SY-TITLE ABAP an Git Repository anbinden SY-MSGTY SY-MSGID SY-MSGNO 000 SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4 SY-MODNO 0 SY-DATUM 20190312 SY-UZEIT 122728 SY-XPROG SAPMSSY1 SY-XFORM XAB_WFLUSH Active Calls/Events No. Ty. Program Include Line Name 18 METHOD ZABAPGIT ZABAPGIT 3129 LCL_XML=>PARSE 17 METHOD ZABAPGIT ZABAPGIT 3394 LCL_XML_INPUT=>CONSTRUCTOR Category ABAP Programming Error Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO Except. CX_SY_REF_IS_INITIAL ABAP Program ZABAPGIT Application Component BC-ABA Date and Time 12.03.2019 12:27:42 16 METHOD ZABAPGIT ZABAPGIT 16224 LCL_OBJECTS=>COMPARE_REMOTE_TO_LOCAL 15 METHOD ZABAPGIT ZABAPGIT 16145 LCL_OBJECTS=>DESERIALIZE 14 METHOD ZABAPGIT ZABAPGIT 34270 LCL_REPO=>DESERIALIZE 13 METHOD ZABAPGIT ZABAPGIT 15382 LCL_ZIP=>IMPORT 12 METHOD ZABAPGIT ZABAPGIT 44950 LCL_GUI_ROUTER=>ON_EVENT 11 METHOD ZABAPGIT ZABAPGIT 45249 LCL_GUI=>HANDLE_ACTION 10 METHOD ZABAPGIT ZABAPGIT 45290 LCL_GUI=>ON_EVENT 9 METHOD CL_GUI_HTML_VIEWER============CP CL_GUI_HTML_VIEWER============CM00K 17 CL_GUI_HTML_VIEWER=>DISPATCH 8 METHOD CL_GUI_CFW====================CP CL_GUI_CFW====================CM001 138 CL_GUI_CFW=>DISPATCH 7 FORM SAPFGUICNTL_CFW SAPFGUICNTL_CFW 175 CONTROL_END 6 FORM SAPFGUICNTL SAPFGUICNTL 648 CONTROL_END 5 FORM SAPMSSYD SAPMSSYD 469 %_CTL_END 4 MODULE (PAI) ZABAPGIT 22 %_CTL_END 3 FORM ZABAPGIT ZABAPGIT 49823 OPEN_GUI 2 FORM ZABAPGIT ZABAPGIT 49810 RUN 1 EVENT ZABAPGIT ZABAPGIT 49965 START-OF-SELECTION Chosen variables Category ABAP Programming Error Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO Except. CX_SY_REF_IS_INITIAL ABAP Program ZABAPGIT Application Component BC-ABA Date and Time 12.03.2019 12:27:42 Name Val. No. 18 Ty. METHOD Name LCL_XML=>PARSE IV_NORMALIZE X 5 8 58 IV_XML