<?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 Error applyedits on new Features in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/error-applyedits-on-new-features/m-p/63591#M460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem using ArcGISFeatureLayer.applyedits on new Features created in my Application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to send a self-created Graphic via applyedits to the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Graphic-Object is filled with a HashMap containing the attributes of the FeatureClass including the ObjectID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.put(featureLayer.getObjectIdField(), Integer.valueOf(items.get(i).getOBJECTID()));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to update a Feature it works, but when i want to transfer a new feature i get the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[objectID=-1, globalId=null, success=false, error=FeatureEditError[code=-2147216083, description=Error while inserting populated row into Insert Cursor]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ObjectID i put in my HashMap is not -1, i checked that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope anyone has an idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jul 2013 09:04:46 GMT</pubDate>
    <dc:creator>KevinGebhardt</dc:creator>
    <dc:date>2013-07-10T09:04:46Z</dc:date>
    <item>
      <title>Error applyedits on new Features</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/error-applyedits-on-new-features/m-p/63591#M460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem using ArcGISFeatureLayer.applyedits on new Features created in my Application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to send a self-created Graphic via applyedits to the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Graphic-Object is filled with a HashMap containing the attributes of the FeatureClass including the ObjectID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.put(featureLayer.getObjectIdField(), Integer.valueOf(items.get(i).getOBJECTID()));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to update a Feature it works, but when i want to transfer a new feature i get the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[objectID=-1, globalId=null, success=false, error=FeatureEditError[code=-2147216083, description=Error while inserting populated row into Insert Cursor]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ObjectID i put in my HashMap is not -1, i checked that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope anyone has an idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 09:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/error-applyedits-on-new-features/m-p/63591#M460</guid>
      <dc:creator>KevinGebhardt</dc:creator>
      <dc:date>2013-07-10T09:04:46Z</dc:date>
    </item>
  </channel>
</rss>

