<?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 100.10 Crashes in UpdateCurrentPosition on Android in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/100-10-crashes-in-updatecurrentposition-on-android/m-p/1024544#M9775</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We recently upgraded one of our Xamarin apps to 100.10 and during testing we are periodically getting some System Null Reference exceptions in what looks like a core method. We haven't found a specific way to reproduce it yet, and so far it only looks like an issue on Android.&lt;/P&gt;&lt;P&gt;Here's what we could capture of the call stack.&lt;/P&gt;&lt;P&gt;System.NullReferenceException: Object reference not set to an instance of an object&lt;/P&gt;&lt;DIV class="_5v9TQ26cx _40QpML6Bx"&gt;&lt;SPAN&gt;&lt;SPAN class="_74lp5NARx"&gt;Geolocator&lt;/SPAN&gt;.&lt;SPAN class="_4aOJzE27x"&gt;UpdateCurrentPosition&lt;/SPAN&gt;&amp;nbsp;(&lt;SPAN class="_1Kkr3ZhAx"&gt;Android.Locations.Location location, System.Boolean isLastKnown&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="_74lp5NARx"&gt;Geolocator&lt;/SPAN&gt;.&lt;SPAN class="_4aOJzE27x"&gt;OnLocationChanged&lt;/SPAN&gt;&amp;nbsp;(&lt;SPAN class="_1Kkr3ZhAx"&gt;Android.Locations.Location location&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="_74lp5NARx"&gt;ILocationListenerInvoker&lt;/SPAN&gt;.&lt;SPAN class="_4aOJzE27x"&gt;n_OnLocationChanged_Landroid_location_Location_&lt;/SPAN&gt;&amp;nbsp;(&lt;SPAN class="_1Kkr3ZhAx"&gt;System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_location&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;(wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.214(intptr,intptr,intptr)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="_5v9TQ26cx _40QpML6Bx"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="_5v9TQ26cx _40QpML6Bx"&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="_5v9TQ26cx _40QpML6Bx"&gt;&lt;SPAN&gt;Mike...&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 08 Feb 2021 19:24:28 GMT</pubDate>
    <dc:creator>MikeBHamsa</dc:creator>
    <dc:date>2021-02-08T19:24:28Z</dc:date>
    <item>
      <title>100.10 Crashes in UpdateCurrentPosition on Android</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-10-crashes-in-updatecurrentposition-on-android/m-p/1024544#M9775</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We recently upgraded one of our Xamarin apps to 100.10 and during testing we are periodically getting some System Null Reference exceptions in what looks like a core method. We haven't found a specific way to reproduce it yet, and so far it only looks like an issue on Android.&lt;/P&gt;&lt;P&gt;Here's what we could capture of the call stack.&lt;/P&gt;&lt;P&gt;System.NullReferenceException: Object reference not set to an instance of an object&lt;/P&gt;&lt;DIV class="_5v9TQ26cx _40QpML6Bx"&gt;&lt;SPAN&gt;&lt;SPAN class="_74lp5NARx"&gt;Geolocator&lt;/SPAN&gt;.&lt;SPAN class="_4aOJzE27x"&gt;UpdateCurrentPosition&lt;/SPAN&gt;&amp;nbsp;(&lt;SPAN class="_1Kkr3ZhAx"&gt;Android.Locations.Location location, System.Boolean isLastKnown&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="_74lp5NARx"&gt;Geolocator&lt;/SPAN&gt;.&lt;SPAN class="_4aOJzE27x"&gt;OnLocationChanged&lt;/SPAN&gt;&amp;nbsp;(&lt;SPAN class="_1Kkr3ZhAx"&gt;Android.Locations.Location location&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="_74lp5NARx"&gt;ILocationListenerInvoker&lt;/SPAN&gt;.&lt;SPAN class="_4aOJzE27x"&gt;n_OnLocationChanged_Landroid_location_Location_&lt;/SPAN&gt;&amp;nbsp;(&lt;SPAN class="_1Kkr3ZhAx"&gt;System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_location&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;(wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.214(intptr,intptr,intptr)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="_5v9TQ26cx _40QpML6Bx"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="_5v9TQ26cx _40QpML6Bx"&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="_5v9TQ26cx _40QpML6Bx"&gt;&lt;SPAN&gt;Mike...&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Feb 2021 19:24:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-10-crashes-in-updatecurrentposition-on-android/m-p/1024544#M9775</guid>
      <dc:creator>MikeBHamsa</dc:creator>
      <dc:date>2021-02-08T19:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: 100.10 Crashes in UpdateCurrentPosition on Android</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-10-crashes-in-updatecurrentposition-on-android/m-p/1026328#M9790</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We took a look the API code for Geolocator.UpdateCurrentPosition but we should be handling any potential NullReferenceException on Android in that method. We'll double check, but in the meantime let us know if you get any more info on this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 16:05:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-10-crashes-in-updatecurrentposition-on-android/m-p/1026328#M9790</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2021-02-12T16:05:56Z</dc:date>
    </item>
  </channel>
</rss>

