<?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: api 2.3 crash on adding graphic object to featurelayer in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/api-2-3-crash-on-adding-graphic-object-to/m-p/295373#M7601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What was the error message? I am not able to reproduce this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you check that the FeatureSet returned from your query match geometry type and attributes of your FeatureLayer? Also, are you adding features after the layer has been initialized?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2011 18:07:36 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2011-12-14T18:07:36Z</dc:date>
    <item>
      <title>api 2.3 crash on adding graphic object to featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/api-2-3-crash-on-adding-graphic-object-to/m-p/295372#M7600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi to all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a featurelayer on map, likje this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureLayer f = _Map.Layers["MyLayer"] as FeatureLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also a query task who give me a featureset of graphics objects: then i add these graphics objects to f like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;foreach (Graphic graphic in args.FeatureSet.Features)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f.Graphics.Add(graphic);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;after these the application crash. if i rem these last 2 lines of code all works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same code work fine on the same layer if i use API 2.2 beta&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone notice that whith api 2.3 ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 14:49:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/api-2-3-crash-on-adding-graphic-object-to/m-p/295372#M7600</guid>
      <dc:creator>MarcoRosa</dc:creator>
      <dc:date>2011-12-13T14:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: api 2.3 crash on adding graphic object to featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/api-2-3-crash-on-adding-graphic-object-to/m-p/295373#M7601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What was the error message? I am not able to reproduce this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you check that the FeatureSet returned from your query match geometry type and attributes of your FeatureLayer? Also, are you adding features after the layer has been initialized?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 18:07:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/api-2-3-crash-on-adding-graphic-object-to/m-p/295373#M7601</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-12-14T18:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: api 2.3 crash on adding graphic object to featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/api-2-3-crash-on-adding-graphic-object-to/m-p/295374#M7602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jennifer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry for the late answer, i have restarted with a new environment on a fresh machine and all works good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 14:24:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/api-2-3-crash-on-adding-graphic-object-to/m-p/295374#M7602</guid>
      <dc:creator>MarcoRosa</dc:creator>
      <dc:date>2012-01-10T14:24:05Z</dc:date>
    </item>
  </channel>
</rss>

