<?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 Re: Access via 'NULL' object reference not possible in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-via-null-object-reference-not-possible/m-p/6714372#M1454292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Suhas for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this program is already executed successfully in a week back. Now, it is going short dump. Me and User bit surprised on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am fully worried about this...please help me on this. Why it is going to dump. Same code, no one can change this code. This is user high priority object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Mar 2010 12:01:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-10T12:01:17Z</dc:date>
    <item>
      <title>Access via 'NULL' object reference not possible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-via-null-object-reference-not-possible/m-p/6714370#M1454290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My basic requirement is, Need to download data into one excel sheet with multiple worksheets(15 worksheets) from different internal tables. I wrote a program using interfaces and methods. Now the problem is, one time it is working fine and after some time it is getting dump. The dump information is 'Access via 'NULL' object reference not possible.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;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 "ADD_SHEET" "(FORM)", 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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched in SCN forum, but I didn't get any answer. What is this error? How can I get rid of this error?&lt;/P&gt;&lt;P&gt;Please help me....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 05:38:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-via-null-object-reference-not-possible/m-p/6714370#M1454290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-10T05:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Access via 'NULL' object reference not possible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-via-null-object-reference-not-possible/m-p/6714371#M1454291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Posting the code where you get the short dump will be helpful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But from the ST22 analysis you can get the fact that you have not created an instance of the class &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; You have missed the CREATE OBJECT &amp;lt;class_name&amp;gt; statement before calling the instance method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 06:01:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-via-null-object-reference-not-possible/m-p/6714371#M1454291</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-03-10T06:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Access via 'NULL' object reference not possible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-via-null-object-reference-not-possible/m-p/6714372#M1454292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Suhas for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this program is already executed successfully in a week back. Now, it is going short dump. Me and User bit surprised on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am fully worried about this...please help me on this. Why it is going to dump. Same code, no one can change this code. This is user high priority object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 12:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-via-null-object-reference-not-possible/m-p/6714372#M1454292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-10T12:01:17Z</dc:date>
    </item>
  </channel>
</rss>

