<?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: Flex runtime error with Editor in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-runtime-error-with-editor/m-p/178035#M4195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Antoine,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is your Feature Service based on data hosted in an ArcSDE geodatabase?&amp;nbsp; That is a prerequisite for the edit function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Dec 2010 22:30:54 GMT</pubDate>
    <dc:creator>DavidTreat</dc:creator>
    <dc:date>2010-12-01T22:30:54Z</dc:date>
    <item>
      <title>Flex runtime error with Editor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-runtime-error-with-editor/m-p/178033#M4193</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since this morning i'm blocked cause a runtime Flex error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to create an Editor in a widget, with the following code :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;fx:Declarations&amp;gt;&amp;nbsp; 
&amp;nbsp; &amp;lt;esri:GeometryService id="myGeometryService"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="xyzxyzx"/&amp;gt;
 &amp;lt;/fx:Declarations&amp;gt;
 &amp;lt;esri:FeatureLayer url="xyz" id="featureLayer"/&amp;gt;
 &amp;lt;esri:Editor id="myEditor"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%" height="200"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryService="{myGeometryService}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map="{map}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayers="{[featureLayer]}"/&amp;gt;&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can create polygons. But when I do a double click to terminate the polygon, the following error occurs in the Flex application :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.esri.ags.components::Editor/drawTool_drawEndHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at com.esri.ags.tools::DrawTool/removeLayerEndDraw() at com.esri.ags.tools::DrawTool/map_doubleClickHandler()[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And next, all clicks in the map give errors like :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.esri.ags.components::Editor/map_mouseUpHandler()[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's very hard to debug because the error occurs in the Editor component...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have idea ? What can I try to investigate this problem ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Antoine&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 20:15:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-runtime-error-with-editor/m-p/178033#M4193</guid>
      <dc:creator>ADEade</dc:creator>
      <dc:date>2024-06-28T20:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Flex runtime error with Editor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-runtime-error-with-editor/m-p/178034#M4194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I know what is the property/method at the line 1776 in the class com.esri.ags.components.Editor ?I use the release 2.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Antoine&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 06:00:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-runtime-error-with-editor/m-p/178034#M4194</guid>
      <dc:creator>ADEade</dc:creator>
      <dc:date>2010-12-01T06:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Flex runtime error with Editor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-runtime-error-with-editor/m-p/178035#M4195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Antoine,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is your Feature Service based on data hosted in an ArcSDE geodatabase?&amp;nbsp; That is a prerequisite for the edit function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 22:30:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-runtime-error-with-editor/m-p/178035#M4195</guid>
      <dc:creator>DavidTreat</dc:creator>
      <dc:date>2010-12-01T22:30:54Z</dc:date>
    </item>
  </channel>
</rss>

