<?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: Null pointer on Mapview when activity OnResume occures in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/null-pointer-on-mapview-when-activity-onresume/m-p/1053955#M5480</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;Could you repro the problem with the following sample?&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/navigate-route" target="_blank" rel="noopener"&gt;https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/navigate-route&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If so, do you see it on all devices or seeing this behavior on any specific device. Also can you provide the logcat info when you get this error.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rama&lt;/P&gt;</description>
    <pubDate>Mon, 03 May 2021 20:06:19 GMT</pubDate>
    <dc:creator>RamaChintapalli</dc:creator>
    <dc:date>2021-05-03T20:06:19Z</dc:date>
    <item>
      <title>Null pointer on Mapview when activity OnResume occures</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/null-pointer-on-mapview-when-activity-onresume/m-p/1052846#M5474</link>
      <description>&lt;P&gt;I have a mapView and I'm navigating along a route. I switch to another app then back to my navigation app the onResume fires.&amp;nbsp; ArcGIS runtime is 100.11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;@Override
    protected void onResume() {
        super.onResume();
        if (mMapView != null) {
            mMapView.resume();
        }
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The mMapView.resume() is executed and I get this:&lt;/P&gt;&lt;P&gt;Caused by: com.esri.arcgisruntime.ArcGISRuntimeException: Null pointer.: object cannot be null.&lt;BR /&gt;at com.esri.arcgisruntime.internal.jni.CoreGeoView.nativeResume(Native Method)&lt;BR /&gt;at com.esri.arcgisruntime.internal.jni.CoreGeoView.b(SourceFile:5)&lt;BR /&gt;at com.esri.arcgisruntime.a.i.f.g.d(SourceFile:3)&lt;BR /&gt;at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.resume(SourceFile:4)&lt;BR /&gt;at com.esri.arcgisruntime.mapping.view.MapView.resume(SourceFile:1)&lt;BR /&gt;at com.thevillages.maplib.MapNavActivity.onResume(MapNavActivity.java:816)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 18:07:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/null-pointer-on-mapview-when-activity-onresume/m-p/1052846#M5474</guid>
      <dc:creator>JayBowman12</dc:creator>
      <dc:date>2021-04-29T18:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer on Mapview when activity OnResume occures</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/null-pointer-on-mapview-when-activity-onresume/m-p/1053955#M5480</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Could you repro the problem with the following sample?&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/navigate-route" target="_blank" rel="noopener"&gt;https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/navigate-route&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If so, do you see it on all devices or seeing this behavior on any specific device. Also can you provide the logcat info when you get this error.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rama&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 20:06:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/null-pointer-on-mapview-when-activity-onresume/m-p/1053955#M5480</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2021-05-03T20:06:19Z</dc:date>
    </item>
  </channel>
</rss>

