<?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: Error #1009: Cannot access a property or method of a null object reference. in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621141#M18507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggestions Robert.&amp;nbsp; We are using same AGS flex api, Adobe Flex SDK, and have the same swcs in our folders.&amp;nbsp; I tried importing his entire project into my Flash Builder and compiled and still have the same problem.&amp;nbsp; I also created a blank Flex module and copied the code into it and that did not work either.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Nov 2012 14:53:44 GMT</pubDate>
    <dc:creator>TristanKnowlton</dc:creator>
    <dc:date>2012-11-14T14:53:44Z</dc:date>
    <item>
      <title>Error #1009: Cannot access a property or method of a null object reference.</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621139#M18505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After compiling my project and running the flex viewer, all of the widgets work except for one.&amp;nbsp; With one particular widget, I am geitting a WidgetManager.mxml error.&amp;nbsp; I get this error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.viewer.managers::WidgetManager/createWidget()[LOCAL_PATH\Flex_Workspace\FlexViewer_3\FlexViewer_COPY\s&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc\com\esri\viewer\managers\WidgetManager.mxml:407]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.viewer.managers::WidgetManager/runWidget()[LOCAL_PATH\Flex_Workspace\FlexViewer_3\FlexViewer_COPY\src\&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; com\esri\viewer\managers\WidgetManager.mxml:457]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.viewer.managers::WidgetManager/widgetReadyHandler()[LOCAL_PATH\Flex_Workspace\FlexViewer_3\FlexViewer_&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COPY\src\com\esri\viewer\managers\WidgetManager.mxml:525]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at ModuleInfoProxy/moduleEventHandler()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at ModuleInfo/readyHandler()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::FlexModuleFactory/update()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::FlexModuleFactory/docFrameHandler()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::FlexModuleFactory/docFrameListener()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&amp;nbsp; This widget will compile properly on another users computer and in fact that user provide a functioning swf file for me using the exact same code.&amp;nbsp; I've loaded a fresh flex viewer project, updated software, made sure the flex sdk is the same as the other user's.&amp;nbsp; I'm not sure what else to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 12:30:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621139#M18505</guid>
      <dc:creator>TristanKnowlton</dc:creator>
      <dc:date>2012-11-14T12:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error #1009: Cannot access a property or method of a null object reference.</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621140#M18506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Darryl,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Things to check:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Are you both using the same AGS Flex API?&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Are you both using the same Adobe Flex SDK (you have already said yes to this)?&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Do you both have the same SWCs in your libs folder?&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 12:40:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621140#M18506</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-11-14T12:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error #1009: Cannot access a property or method of a null object reference.</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621141#M18507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggestions Robert.&amp;nbsp; We are using same AGS flex api, Adobe Flex SDK, and have the same swcs in our folders.&amp;nbsp; I tried importing his entire project into my Flash Builder and compiled and still have the same problem.&amp;nbsp; I also created a blank Flex module and copied the code into it and that did not work either.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 14:53:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621141#M18507</guid>
      <dc:creator>TristanKnowlton</dc:creator>
      <dc:date>2012-11-14T14:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error #1009: Cannot access a property or method of a null object reference.</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621142#M18508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Darryl,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; And you have that particular widget added to your project as a module right? Do you see the whateverthewidgetnameis.swf in your bin-debug folder?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 15:06:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621142#M18508</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-11-14T15:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error #1009: Cannot access a property or method of a null object reference.</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621143#M18509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I do.&amp;nbsp; I have cleaned the project as well.&amp;nbsp; I am wits end I believe.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 16:20:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621143#M18509</guid>
      <dc:creator>TristanKnowlton</dc:creator>
      <dc:date>2012-11-14T16:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error #1009: Cannot access a property or method of a null object reference.</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621144#M18510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Darryl,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; It is going to be something simple... Is the spelling and the path of the widgets .swf and .xml correct in the main config.xml (make sure you check closely each letter)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 16:24:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621144#M18510</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-11-14T16:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error #1009: Cannot access a property or method of a null object reference.</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621145#M18511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;After compiling my project and running the flex viewer, all of the widgets work except for one.&amp;nbsp; With one particular widget, I am geitting a WidgetManager.mxml error.&amp;nbsp; I get this error message:&lt;BR /&gt;&lt;BR /&gt;TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;BR /&gt; at com.esri.viewer.managers::WidgetManager/createWidget()[LOCAL_PATH\Flex_Workspace\FlexViewer_3\FlexViewer_COPY\s&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc\com\esri\viewer\managers\WidgetManager.mxml:407]&lt;BR /&gt; at com.esri.viewer.managers::WidgetManager/runWidget()[LOCAL_PATH\Flex_Workspace\FlexViewer_3\FlexViewer_COPY\src\&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; com\esri\viewer\managers\WidgetManager.mxml:457]&lt;BR /&gt; at com.esri.viewer.managers::WidgetManager/widgetReadyHandler()[LOCAL_PATH\Flex_Workspace\FlexViewer_3\FlexViewer_&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COPY\src\com\esri\viewer\managers\WidgetManager.mxml:525]&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if this has anything to do with it, or if you modified the error message for privacy, but in all the null object reference errors I have "created", I have never seen it listed as [LOCAL_PATH\ and, I noticed some spaces in /s rc/com and /src/ com/ that have never been reported in my errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also, as Robert said, make sure you check letter by letter, especially if you are using the web server built into 10.1.&amp;nbsp; I just converted a flexapp to 10.1 yesterday and noticed that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;on IIS7&amp;nbsp;&amp;nbsp; icon="assets/images/legend32.png" or icon="assets/images/Legend32.png" will work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with AGS10.1, only this works icon="assets/images/legend32.png" (my legend32.png file is NOT Legend32.png).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 18:28:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621145#M18511</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2012-11-14T18:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error #1009: Cannot access a property or method of a null object reference.</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621146#M18512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggestions.&amp;nbsp; And Rhett, I did modify the file paths.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It turns out the widget was originally built in Flash Builder application version 4.6 and I was trying to compile with 4.0.0.&amp;nbsp; Once I installed 4.6 the widget works properly.&amp;nbsp; Seems odd to me but it works for now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 19:43:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-1009-cannot-access-a-property-or-method-of-a/m-p/621146#M18512</guid>
      <dc:creator>TristanKnowlton</dc:creator>
      <dc:date>2012-11-14T19:43:33Z</dc:date>
    </item>
  </channel>
</rss>

