<?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 ArcGIS Mobile SDK 10.1, Access violation reading location in Mobile GIS Questions</title>
    <link>https://community.esri.com/t5/mobile-gis-questions/arcgis-mobile-sdk-10-1-access-violation-reading/m-p/791612#M41</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to debug a gigantic old .NET application based on ArcGIS for mobile SDK 10.1.1. When loading the GIS component of the application, about 1/5 times, I'm getting the error &lt;EM&gt;Access violation reading location xxx&lt;/EM&gt; (see below). It comes at a random point in the code, so I'm suspecting a background thread running ESRIMobileCore.dll functions. Have you ever encountered issues with that library? Should my best guess would be to upgrade the ArcGIS Mobile SDK to a newer version? Thanks for your thoughts about how to debug that!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/120094_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 17:54:08 GMT</pubDate>
    <dc:creator>VincentThomas</dc:creator>
    <dc:date>2015-07-31T17:54:08Z</dc:date>
    <item>
      <title>ArcGIS Mobile SDK 10.1, Access violation reading location</title>
      <link>https://community.esri.com/t5/mobile-gis-questions/arcgis-mobile-sdk-10-1-access-violation-reading/m-p/791612#M41</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to debug a gigantic old .NET application based on ArcGIS for mobile SDK 10.1.1. When loading the GIS component of the application, about 1/5 times, I'm getting the error &lt;EM&gt;Access violation reading location xxx&lt;/EM&gt; (see below). It comes at a random point in the code, so I'm suspecting a background thread running ESRIMobileCore.dll functions. Have you ever encountered issues with that library? Should my best guess would be to upgrade the ArcGIS Mobile SDK to a newer version? Thanks for your thoughts about how to debug that!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/120094_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 17:54:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/mobile-gis-questions/arcgis-mobile-sdk-10-1-access-violation-reading/m-p/791612#M41</guid>
      <dc:creator>VincentThomas</dc:creator>
      <dc:date>2015-07-31T17:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Mobile SDK 10.1, Access violation reading location</title>
      <link>https://community.esri.com/t5/mobile-gis-questions/arcgis-mobile-sdk-10-1-access-violation-reading/m-p/791613#M42</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it working. I was not assigning correctly the value of a ESRI.ArcGIS.Mobile.FeatureCaching.MobileCache object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Friend Shared Sub SetService(ByRef service As ESRI.ArcGIS.Mobile.FeatureCaching.MobileCache)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;&lt;STRONG&gt;Before&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&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; service = mService&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;&lt;STRONG&gt;After&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&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; Dim tempServiceCache As ESRI.ArcGIS.Mobile.FeatureCaching.MobileCache = New&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; ESRI.ArcGIS.Mobile.FeatureCaching.MobileCache(Common.GetGISMainCachePath())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&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; tempServiceCache.Open()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&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; service = tempServiceCache&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To debug such error, one way is to comment out code until it doesn't break anymore and start from there, but since that error was a bit random, that wasn't an easy task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps someone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 15:45:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/mobile-gis-questions/arcgis-mobile-sdk-10-1-access-violation-reading/m-p/791613#M42</guid>
      <dc:creator>VincentThomas</dc:creator>
      <dc:date>2015-08-07T15:45:54Z</dc:date>
    </item>
  </channel>
</rss>

