<?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: Type Coercion Failed Error of the same Class - Unable to resolve in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/type-coercion-failed-error-of-the-same-class/m-p/151177#M4850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My flex viewer 2.2 application currently contains a number of Widgets that are managed by the Widget Manager. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I tried to fix the issue you solved above by loading all widgets into the same application domain as the loader:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wgtInfo.load(ApplicationDomain.currentDomain, null, null, moduleFactory);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I now get the following error whenever I attempt to load the Helper widget:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something?&amp;nbsp; Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2011 16:07:01 GMT</pubDate>
    <dc:creator>KyleTraff</dc:creator>
    <dc:date>2011-04-28T16:07:01Z</dc:date>
    <item>
      <title>Type Coercion Failed Error of the same Class</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/type-coercion-failed-error-of-the-same-class/m-p/151174#M4847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anyone ever received this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError:&amp;nbsp; Error #1034:&amp;nbsp; Type Coercion failed.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error goes on to list the two classes that it cannot convert between and they're the same class.&amp;nbsp; I've read that this has something to do with the swf loader and the application domain.&amp;nbsp; So my question is, how does this plan into the FlexViewer?&amp;nbsp; There is a message being sent from the main app to another module.&amp;nbsp; So how do I make sure this doesn't happen?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 16:49:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/type-coercion-failed-error-of-the-same-class/m-p/151174#M4847</guid>
      <dc:creator>DeonaEvans</dc:creator>
      <dc:date>2011-02-25T16:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Type Coercion Failed Error of the same Class</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/type-coercion-failed-error-of-the-same-class/m-p/151175#M4848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See my post on this thread:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/11960-com.esri.ags.symbols.TextSymbol-is-not-TextSymbol-in-FlexViewer-widget"&gt;http://forums.arcgis.com/threads/11960-com.esri.ags.symbols.TextSymbol-is-not-TextSymbol-in-FlexViewer-widget&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 20:01:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/type-coercion-failed-error-of-the-same-class/m-p/151175#M4848</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2011-02-25T20:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Type Coercion Failed Error of the same Class</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/type-coercion-failed-error-of-the-same-class/m-p/151176#M4849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That was the fix.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 13:24:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/type-coercion-failed-error-of-the-same-class/m-p/151176#M4849</guid>
      <dc:creator>DeonaEvans</dc:creator>
      <dc:date>2011-03-02T13:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Type Coercion Failed Error of the same Class - Unable to resolve</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/type-coercion-failed-error-of-the-same-class/m-p/151177#M4850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My flex viewer 2.2 application currently contains a number of Widgets that are managed by the Widget Manager. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I tried to fix the issue you solved above by loading all widgets into the same application domain as the loader:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wgtInfo.load(ApplicationDomain.currentDomain, null, null, moduleFactory);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I now get the following error whenever I attempt to load the Helper widget:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something?&amp;nbsp; Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 16:07:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/type-coercion-failed-error-of-the-same-class/m-p/151177#M4850</guid>
      <dc:creator>KyleTraff</dc:creator>
      <dc:date>2011-04-28T16:07:01Z</dc:date>
    </item>
  </channel>
</rss>

