<?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: DrawTool Error in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705376#M15725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason for the error is the same and I guess it is happening when you are trying to add new vertices to an existing polygon/polyline. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know this would take out the functionality of adding vertices to existing features, but can you try setting EditTool.allowAddVertices(&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tools/EditTool.html#allowAddVertices"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tools/EditTool.html#allowAddVertices&lt;/A&gt;&lt;SPAN&gt;) to false to see if the error goes away?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2011 17:06:25 GMT</pubDate>
    <dc:creator>SarthakDatt</dc:creator>
    <dc:date>2011-04-20T17:06:25Z</dc:date>
    <item>
      <title>DrawTool Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705368#M15717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been working to diagnose this error for 2 days now and thought I would see if any one could give me a clue as to where to look or what to check in my app that is causing this issue.&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.ags.tools::DrawTool/checkForSnapping()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.tools::DrawTool/map_mouseMoveFirstHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 15:12:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705368#M15717</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-20T15:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: DrawTool Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705369#M15718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using some projection other than web mercator or geographic? If you are using either one of them, then can you make sure that the spatialReference is set properly/correctly?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 15:55:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705369#M15718</guid>
      <dc:creator>SarthakDatt</dc:creator>
      <dc:date>2011-04-20T15:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: DrawTool Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705370#M15719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sarthak,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I am using wkid="102629" as I am only using my local data. I do not specifically set this anywhere in the code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 16:10:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705370#M15719</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-20T16:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: DrawTool Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705371#M15720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The snapping functionality right now,unfortunately is relying on the wkid to be 102113,102100,3857(web mercator) and 4326(geographic).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a bug right now, and would be fixed in the next version.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 16:23:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705371#M15720</guid>
      <dc:creator>SarthakDatt</dc:creator>
      <dc:date>2011-04-20T16:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: DrawTool Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705372#M15721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sarthak,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; So for those of us that are using different WKIDs is there anything we can do to avoid the error when someone is using the drawing tool and presses the ctrl key?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 16:27:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705372#M15721</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-20T16:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: DrawTool Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705373#M15722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can set the snapDistance = 0 (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tools/DrawTool.html#snapDistance"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tools/DrawTool.html#snapDistance&lt;/A&gt;&lt;SPAN&gt;), this would turn off snapping and hence not throw the error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 16:32:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705373#M15722</guid>
      <dc:creator>SarthakDatt</dc:creator>
      <dc:date>2011-04-20T16:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: DrawTool Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705374#M15723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sarthak,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Thanks for the info. That issue would have definitely kept me from using the new 2.3 API, now a can just move forward with the other great enhancements and wait for you guys to get snapping working for those using more location specific WKIDs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 16:39:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705374#M15723</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-20T16:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: DrawTool Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705375#M15724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sarthak,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Well I guess I spoke to early... Now I get this error when I use the EditTool and my wkid.&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.ags.tools::EditTool/map_mouseMoveHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 16:43:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705375#M15724</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-20T16:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: DrawTool Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705376#M15725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason for the error is the same and I guess it is happening when you are trying to add new vertices to an existing polygon/polyline. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know this would take out the functionality of adding vertices to existing features, but can you try setting EditTool.allowAddVertices(&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tools/EditTool.html#allowAddVertices"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tools/EditTool.html#allowAddVertices&lt;/A&gt;&lt;SPAN&gt;) to false to see if the error goes away?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 17:06:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705376#M15725</guid>
      <dc:creator>SarthakDatt</dc:creator>
      <dc:date>2011-04-20T17:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: DrawTool Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705377#M15726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sarthak,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; That does remove the error, but these small steps backwards is not looking to good for this API release... Maybe these bugs will encourage a quick re-release. Thanks for your help in diagnosing this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 17:13:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705377#M15726</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-20T17:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: DrawTool Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705378#M15727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're planning to release a 2.3.1 version later this week which should fix this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 17:48:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/drawtool-error/m-p/705378#M15727</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2011-04-26T17:48:06Z</dc:date>
    </item>
  </channel>
</rss>

