<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CX_SY_REF_IS_INITIAL error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-ref-is-initial-error/m-p/6462329#M1415703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am reviewing a class that is running an XML file to create providers, but before running the class XML Cultural UP that file, I get the following Dump:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;    Access via 'NULL' object reference not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    Error in the ABAP Application Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The current ABAP program "CL_PROXY_INBOUND_ADAPTER======CP" had to be&lt;/P&gt;&lt;P&gt;     terminated because it has&lt;/P&gt;&lt;P&gt;    come across a statement that unfortunately cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not&lt;/P&gt;&lt;P&gt;     caught in&lt;/P&gt;&lt;P&gt;    procedure "SET_METHOD" "(METHOD)", nor was it propagated by a RAISING clause.&lt;/P&gt;&lt;P&gt;    Since the caller of the procedure could not have anticipated that the&lt;/P&gt;&lt;P&gt;    exception would occur, the current program is terminated.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    You attempted to use a 'NULL' object reference (points to 'nothing')&lt;/P&gt;&lt;P&gt;    access a component.&lt;/P&gt;&lt;P&gt;    An object reference must point to an object (an instance of a class)&lt;/P&gt;&lt;P&gt;    before it can be used to access components.&lt;/P&gt;&lt;P&gt;    Either the reference was never set or it was set to 'NULL' using the&lt;/P&gt;&lt;P&gt;    CLEAR statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know why this exception is executed and what is your solution or if I have to open a sap note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2010 14:52:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-13T14:52:51Z</dc:date>
    <item>
      <title>CX_SY_REF_IS_INITIAL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-ref-is-initial-error/m-p/6462329#M1415703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am reviewing a class that is running an XML file to create providers, but before running the class XML Cultural UP that file, I get the following Dump:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;    Access via 'NULL' object reference not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    Error in the ABAP Application Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The current ABAP program "CL_PROXY_INBOUND_ADAPTER======CP" had to be&lt;/P&gt;&lt;P&gt;     terminated because it has&lt;/P&gt;&lt;P&gt;    come across a statement that unfortunately cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not&lt;/P&gt;&lt;P&gt;     caught in&lt;/P&gt;&lt;P&gt;    procedure "SET_METHOD" "(METHOD)", nor was it propagated by a RAISING clause.&lt;/P&gt;&lt;P&gt;    Since the caller of the procedure could not have anticipated that the&lt;/P&gt;&lt;P&gt;    exception would occur, the current program is terminated.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    You attempted to use a 'NULL' object reference (points to 'nothing')&lt;/P&gt;&lt;P&gt;    access a component.&lt;/P&gt;&lt;P&gt;    An object reference must point to an object (an instance of a class)&lt;/P&gt;&lt;P&gt;    before it can be used to access components.&lt;/P&gt;&lt;P&gt;    Either the reference was never set or it was set to 'NULL' using the&lt;/P&gt;&lt;P&gt;    CLEAR statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know why this exception is executed and what is your solution or if I have to open a sap note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 14:52:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-ref-is-initial-error/m-p/6462329#M1415703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T14:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: CX_SY_REF_IS_INITIAL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-ref-is-initial-error/m-p/6462330#M1415704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to open any SAP note for this. It is a common error which you can simply fix by using&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
create object ref_var.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This you probably somewhere ommit, causing that your reference varibale is initialized while you want to access class method. &lt;/P&gt;&lt;P&gt;Ensure (by debugging) that you are instantiating the object with above statement and it is not &lt;EM&gt;initialized/is bound&lt;/EM&gt; when it is accessed. This will surely help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 22:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-ref-is-initial-error/m-p/6462330#M1415704</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-01-13T22:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: CX_SY_REF_IS_INITIAL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-ref-is-initial-error/m-p/6462331#M1415705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi keps31,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this happens (why did you not tell us????????) in an XI/PI interface, it is probably a customizing error. I remember in the proxy configuration you assign classes to the inbound message which are used for the inbound processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the class does not exist, system  can not create an object and invok the processing method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your interfaces. Sorry I don't have the details for you, but you also don't give the details to us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the dump, the active programs are listed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jan 2010 14:53:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-ref-is-initial-error/m-p/6462331#M1415705</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-01-17T14:53:08Z</dc:date>
    </item>
  </channel>
</rss>

