<?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: Core runtime crashes when opening geodatabase file in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450591#M3869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried to send you a private message with a link to download the geodatabase file but you have private messaging disabled. Can you provide an alternate way for me to get the file to you? I cannot post the data publicly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2014 19:33:18 GMT</pubDate>
    <dc:creator>JamesRichards1</dc:creator>
    <dc:date>2014-05-07T19:33:18Z</dc:date>
    <item>
      <title>Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450588#M3866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created a geodatabase file in ArcMap using the Share As - Runtime Content menu option. After sideloading the geodatabse to a sample app, the app is crashing when attempting to open the file with the code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;NSString *gdbPath = [self gdbDocumentsPath]; NSError *error = nil; self.geodatabase = [[AGSGDBGeodatabase alloc] initWithPath:gdbPath error:&amp;amp;error]; if (error) { &amp;nbsp;&amp;nbsp;&amp;nbsp; NSLog(@"error loading geodatabase: %@", [error localizedDescription]); }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The crash is logged to the XCode Console as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;libc++abi.dylib: terminating with uncaught exception of type Esri_runtimecore::Geodatabase::geodatabase_error: std::exception&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A few notes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;The mxd passed validation (i.e. - Analyze) prior to sharing the runtime content and no warnings or errors were given&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;I would expect an NSError to be passed back from the initWithPath:error: method, but instead the app never gets beyond this line - It just crashes&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The console log message gives no clue as to what the problem might be&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;I also tried publishing the mxd to a Feature Service, and creating the geodatabase replica via ArcGIS Server and got the same result&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;By repeatedly removing layers from my mxd and recreating the geodatabase I have narrowed the problem down to some specific layers. I can provide a runtime geodatabase with one of these layers if you need it to reproduce the error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 18:46:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450588#M3866</guid>
      <dc:creator>JamesRichards1</dc:creator>
      <dc:date>2014-05-07T18:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450589#M3867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you provide these details?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Are you including the geodatabase in your app bundle or in documents folder? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Are you testing with simulator or device? If device, can you try with simulator and tell what happens?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, do share the geodatabase&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 18:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450589#M3867</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2014-05-07T18:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450590#M3868</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;1. I am including the geodatabase in the app bundle and copying it to the documents folder on startup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I was testing in the simulator. I tried on a device and the app does not crash. Instead an NSError is returned and the following is logged to the XCode Console:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;error loading geodatabase: The operation couldn�??t be completed. (com.esri.arcgis.runtime.error error 19.)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there documentation for the error codes that might be returned such as "error 19"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will send you a PM with a link to the geodatabase file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 19:29:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450590#M3868</guid>
      <dc:creator>JamesRichards1</dc:creator>
      <dc:date>2014-05-07T19:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450591#M3869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried to send you a private message with a link to download the geodatabase file but you have private messaging disabled. Can you provide an alternate way for me to get the file to you? I cannot post the data publicly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 19:33:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450591#M3869</guid>
      <dc:creator>JamesRichards1</dc:creator>
      <dc:date>2014-05-07T19:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450592#M3870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please try now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 20:29:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450592#M3870</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2014-05-08T20:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450593#M3871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Message sent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 20:34:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450593#M3871</guid>
      <dc:creator>JamesRichards1</dc:creator>
      <dc:date>2014-05-08T20:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450594#M3872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also experiencing this issue with a geodatabase created using the desktop workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Geodatabase contains one polygon layer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 20:50:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450594#M3872</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2014-05-09T20:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450595#M3873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just updated to 12.2.3 and the error changed.&amp;nbsp; New error is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;2014-05-09 13:58:48.747 AGDC-CSurvey[92497:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'This AGSFeatureTable is backed by a non-spatial table. A spatial table is required to be rendered in a layer.'&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 21:00:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450595#M3873</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2014-05-09T21:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450596#M3874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;James,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue might be with 'FACILITYDIAGRAM' field in the feature class. This field is declared as 32 bit int, where as many of its subtypes have the default value of float. It might have happened if you typed 0.0 instead of 0 in one of the previous versions of the destop. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try reassigning the default values in ArcCatalog and try creating the runtime package again?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 19:59:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450596#M3874</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2014-05-14T19:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450597#M3875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Also experiencing this issue with a geodatabase created using the desktop workflow.&lt;BR /&gt;&lt;BR /&gt;Geodatabase contains one polygon layer&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Micheal, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This seems to be a different issue. This error is returned if you try to add a non-spatial table to a AGSFeatureTableLayer. Can you confirm this in your data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the issue still exists, can you share your data?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 20:03:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450597#M3875</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2014-05-14T20:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450598#M3876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I was getting the error I was attempting to implement the offline geodatabase layer using the code in the guide section of the developer site.&amp;nbsp; After taking a step back (and having a stiff drink) I realized I needed to be initializing the localFeatureTable as self.localFeatureTable... that cleared things up nicely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our iPads are now happily drawing a 13k polygon land ownership layer and making it look easy!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 23:48:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450598#M3876</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2014-05-14T23:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450599#M3877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When I was getting the error I was attempting to implement the offline geodatabase layer using the code in the guide section of the developer site.&amp;nbsp; After taking a step back (and having a stiff drink) I realized I needed to be initializing the localFeatureTable as self.localFeatureTable... that cleared things up nicely.&lt;BR /&gt;&lt;BR /&gt;Our iPads are now happily drawing a 13k polygon land ownership layer and making it look easy!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Glad it worked out for you. Yes, if you had declared the localFeatureTable as a property, you initialize it using self.localFeatureTable (except in init method in which case you use the instance variable _localFeatureTable)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 00:01:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450599#M3877</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2014-05-15T00:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450600#M3878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;James,&lt;BR /&gt;The issue might be with 'FACILITYDIAGRAM' field in the feature class. This field is declared as 32 bit int, where as many of its subtypes have the default value of float. It might have happened if you typed 0.0 instead of 0 in one of the previous versions of the destop. &lt;BR /&gt;&lt;BR /&gt;Can you try reassigning the default values in ArcCatalog and try creating the runtime package again?&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I went through this feature class and recalculated every unique value in every subtype and domain field to make sure that they are all integers. I am still getting the same error 19 when trying to initialize the geodatabase with the Runtime SDK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I placed a new copy of the geodatabase file at the same download location that I previously sent you via private message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you take another look to see if something else might be wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 19:27:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450600#M3878</guid>
      <dc:creator>JamesRichards1</dc:creator>
      <dc:date>2014-05-16T19:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Core runtime crashes when opening geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450601#M3879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It still looks like the FACILITYDIAGRAM field has issue. Let me send you the details of the schema over a private message.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 17:31:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/core-runtime-crashes-when-opening-geodatabase-file/m-p/450601#M3879</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2014-05-19T17:31:55Z</dc:date>
    </item>
  </channel>
</rss>

