<?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: CoreMapView,CoreGeoView crashes since 100.7 in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80458#M611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am putting the most time into trying to discover whether a Mapview is called after it is disposed. &lt;/P&gt;&lt;P&gt;There is evidence that some of this is happening after onDestroy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the following is happening after onDestroy and it is not in my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fatal Exception: com.esri.arcgisruntime.ArcGISRuntimeException: Invalid argument&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.jni.CoreMapView.nativeInteractionDrag(SourceFile)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.jni.CoreMapView.a(SourceFile:304)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.h.b.o.b(SourceFile:186)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.mapping.view.MapView.drag(SourceFile:955)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.mapping.view.DefaultMapViewOnTouchListener$b.run(SourceFile:203)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.TimerThread.mainLoop(Timer.java:562)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.TimerThread.run(Timer.java:512)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why this would still be running after dispose.&lt;/P&gt;&lt;P&gt;This is the reason I tried to avoid it by inserting a Dummy Listener that does nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also using LeakCanary to look for leaks preventing the Activity from being garbage collected. Here is one of them. It is pointing to a reference in native code.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LeakCanary points to link in Native code. " class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/484741_Screenshot_20200308-110746_BackCountry Navigator XE.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2020 15:27:43 GMT</pubDate>
    <dc:creator>NathanMellor</dc:creator>
    <dc:date>2020-03-11T15:27:43Z</dc:date>
    <item>
      <title>CoreMapView,CoreGeoView crashes since 100.7</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80452#M605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Crash reports from the field indicate a huge increase in certain crashes since our update to 100.7 from 100.6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of this is in ArcGIS code. No, I can't give code to reproduce it but it is common from crash reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am hoping for are some insights.&lt;/P&gt;&lt;P&gt;What could trigger this?&lt;/P&gt;&lt;P&gt;What argument is out of range?&lt;/P&gt;&lt;P&gt;What argument is invalid?&lt;/P&gt;&lt;P&gt;I can't know those things without the source code.&lt;/P&gt;&lt;P&gt;How I can make them in range and valid?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fatal Exception: com.esri.arcgisruntime.ArcGISRuntimeException: Out of range&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.jni.CoreGeoView.nativeDraw(SourceFile)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.jni.CoreGeoView.a(SourceFile:346)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.h.b.o.a(SourceFile:132)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.mapping.view.MapView.onDrawFrame(SourceFile:156)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.mapping.view.GeoView$b.onDrawFrame(SourceFile:1363)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1575)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1271)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fatal Exception: com.esri.arcgisruntime.ArcGISRuntimeException: Invalid argument&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.jni.CoreMapView.nativeInteractionDrag(SourceFile)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.jni.CoreMapView.a(SourceFile:304)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.h.b.o.b(SourceFile:186)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.mapping.view.MapView.drag(SourceFile:980)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.mapping.view.DefaultMapViewOnTouchListener$b.run(SourceFile:215)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.TimerThread.mainLoop(Timer.java:562)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.TimerThread.run(Timer.java:512)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caused by com.esri.arcgisruntime.ArcGISRuntimeException: Invalid argument&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.jni.CoreMapView.nativeSetMap(SourceFile)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.jni.CoreMapView.a(SourceFile:215)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.h.b.o.a(SourceFile:448)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.mapping.view.MapView.setMap(SourceFile:594)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2020 01:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80452#M605</guid>
      <dc:creator>NathanMellor</dc:creator>
      <dc:date>2020-03-01T01:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: CoreMapView,CoreGeoView crashes since 100.7</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80453#M606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To narrow down the issue it would be helpful to have some questions answered please. What&amp;nbsp;models of devices are you seeing this on? What operating system versions are they running? What kind of data are you showing in your maps? Any insight to help us narrow down the issue and reproduce it would be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 16:00:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80453#M606</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2020-03-02T16:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: CoreMapView,CoreGeoView crashes since 100.7</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80454#M607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" data-test-desctext="" data-test-selectablecontent=""&gt;Various devices, but many are Samsung Tablets.&amp;nbsp; Android 8,9,10&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;ie Galaxy Tab A (8.0", 2019)&lt;/DIV&gt;&lt;DIV class=""&gt;Galaxy Note10+ 5G&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Galaxy Note8&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class="" data-test-desctext="" data-test-selectablecontent=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-test-desctext="" data-test-selectablecontent=""&gt;They are in the field, typically without network. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-test-desctext="" data-test-selectablecontent=""&gt;They are using an offline map., which means the basemap contains a subclass of ImageTiledLayer.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-test-desctext="" data-test-selectablecontent=""&gt;Map is moving with LocationDisplay using Moving direction. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The map may have 1-5 GraphicsOverlays which contain polylines and points.&lt;/P&gt;&lt;P&gt;In particular, one graphics overlay has a polyline that is frequently updated because they are recording there path.&lt;/P&gt;&lt;P&gt;Ie it is deleted from the GraphicsOverlay and replaced with a slightly longer polyline every few seconds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User reported that the app crashed randomly four times in 66 miles of offroading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible, for instance that the MapView handle is invalid because somehow the Activity isn't being garbage collected? I've been chasing down some leaks in Android Framework.&lt;/P&gt;&lt;P&gt;Just what is/could be invalid in those calls could help me track it down.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2020 01:31:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80454#M607</guid>
      <dc:creator>NathanMellor</dc:creator>
      <dc:date>2020-03-04T01:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: CoreMapView,CoreGeoView crashes since 100.7</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80455#M608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you confirm that you&amp;nbsp;forward the pause/resume/destroy events from your Activity or Fragment to the MapView they show? Here is a&amp;nbsp;sample of what this should look like:&lt;BR /&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-android/blob/master/kotlin/display-map/src/main/java/com/esri/arcgisruntime/sample/displaymap/MainActivity.kt#L51-L64" title="https://github.com/Esri/arcgis-runtime-samples-android/blob/master/kotlin/display-map/src/main/java/com/esri/arcgisruntime/sample/displaymap/MainActivity.kt#L51-L64"&gt;arcgis-runtime-samples-android/MainActivity.kt at master · Esri/arcgis-runtime-samples-android · GitHub&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also, since you are saying that these issues did not occur with the 100.6.0 SDK, has anything significant changed in your app code when you migrated to 100.7.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gunther&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 17:52:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80455#M608</guid>
      <dc:creator>GuntherHeppner</dc:creator>
      <dc:date>2020-03-06T17:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: CoreMapView,CoreGeoView crashes since 100.7</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80456#M609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There have always been some in our crash logs, and they have increased dramatically since the 100.7 rollout. &lt;/P&gt;&lt;P&gt;Users have noticed them consistently when using it for a few hours.&lt;/P&gt;&lt;P&gt;The other big change we made for 100.7 was to migrate from AppCompat to AndroidX, because this was required for 100.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the relevant portions.&lt;/P&gt;&lt;P&gt;Some things are in a slightly different order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice that we have a whole lot more in OnDestroy than mMapView.dispose()&lt;/P&gt;&lt;P&gt;While they are things that dispose should probably handle, at some point in the past I had to add all of those to avoid memory leaks.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;protected void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;onPause&lt;/SPAN&gt;() {
    Crashlytics.&lt;SPAN style="font-style: italic;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"BCHomeActivity --&amp;gt; Start onPause ----"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mMapView&lt;/SPAN&gt;.pause()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;//....&lt;/SPAN&gt;
    &lt;SPAN style="color: #cc7832;"&gt;super&lt;/SPAN&gt;.onPause()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;Crashlytics.&lt;SPAN style="font-style: italic;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"BCHomeActivity --&amp;gt; End onPause ----"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;}

&lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;protected void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;onResume&lt;/SPAN&gt;() {
    Crashlytics.&lt;SPAN style="font-style: italic;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"BCHomeActivity --&amp;gt; Start onResume ----"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    super&lt;/SPAN&gt;.onResume()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mMapView&lt;/SPAN&gt;.resume()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;   &lt;/SPAN&gt;Crashlytics.&lt;SPAN style="font-style: italic;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"BCHomeActivity --&amp;gt; End onResume ----"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;&lt;/SPAN&gt;
}


&lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;protected void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;onDestroy&lt;/SPAN&gt;() {
    Crashlytics.&lt;SPAN style="font-style: italic;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"BCHomeActivity --&amp;gt; Start onDestroy ----"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    try &lt;/SPAN&gt;{
        &lt;SPAN style="color: #808080;"&gt;//unusubscribe listeners.
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mMapView&lt;/SPAN&gt;.removeMapScaleChangedListener(&lt;SPAN style="color: #cc7832;"&gt;this&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;mScaleChangedListener&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mMapView&lt;/SPAN&gt;.removeNavigationChangedListener(&lt;SPAN style="color: #cc7832;"&gt;this&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;mNavChangedListener&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mMapView&lt;/SPAN&gt;.setOnTouchListener(&lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;BCDummyTouchListener())&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mMapView&lt;/SPAN&gt;.getLocationDisplay().stop()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mMapView&lt;/SPAN&gt;.dispose()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;}&lt;SPAN style="color: #cc7832;"&gt;catch&lt;/SPAN&gt;(ArcGISRuntimeException e){
        Crashlytics.&lt;SPAN style="font-style: italic;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"BCHomeActivity --&amp;gt; onDestroy ----" &lt;/SPAN&gt;+ e.getMessage())&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;}
//....
&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    super&lt;/SPAN&gt;.onDestroy()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;Crashlytics.&lt;SPAN style="font-style: italic;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"BCHomeActivity --&amp;gt; End onDestroy ----"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:05:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80456#M609</guid>
      <dc:creator>NathanMellor</dc:creator>
      <dc:date>2021-12-10T23:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: CoreMapView,CoreGeoView crashes since 100.7</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80457#M610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code in your onPause/onResume/onDestroy methods looks correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried a few scenarios to reproduce the exceptions you report above, but wasn't able to.&lt;/P&gt;&lt;P&gt;The `&lt;SPAN style="background-color: #ffffff;"&gt;ArcGISRuntimeException: Invalid argument&lt;/SPAN&gt;` exceptions have been observed in the past when a MapView is still referenced and called into after it has been disposed. Please double check that this isn't something that can occur in your code. In other words, make sure you don't hold on to the MapView after it has been disposed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this stage we can only debug this further if you could share some code or specific steps to reproduce these exceptions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gunther&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2020 22:49:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80457#M610</guid>
      <dc:creator>GuntherHeppner</dc:creator>
      <dc:date>2020-03-10T22:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: CoreMapView,CoreGeoView crashes since 100.7</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80458#M611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am putting the most time into trying to discover whether a Mapview is called after it is disposed. &lt;/P&gt;&lt;P&gt;There is evidence that some of this is happening after onDestroy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the following is happening after onDestroy and it is not in my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fatal Exception: com.esri.arcgisruntime.ArcGISRuntimeException: Invalid argument&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.jni.CoreMapView.nativeInteractionDrag(SourceFile)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.jni.CoreMapView.a(SourceFile:304)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.internal.h.b.o.b(SourceFile:186)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.mapping.view.MapView.drag(SourceFile:955)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgisruntime.mapping.view.DefaultMapViewOnTouchListener$b.run(SourceFile:203)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.TimerThread.mainLoop(Timer.java:562)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.TimerThread.run(Timer.java:512)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why this would still be running after dispose.&lt;/P&gt;&lt;P&gt;This is the reason I tried to avoid it by inserting a Dummy Listener that does nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also using LeakCanary to look for leaks preventing the Activity from being garbage collected. Here is one of them. It is pointing to a reference in native code.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LeakCanary points to link in Native code. " class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/484741_Screenshot_20200308-110746_BackCountry Navigator XE.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2020 15:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/coremapview-coregeoview-crashes-since-100-7/m-p/80458#M611</guid>
      <dc:creator>NathanMellor</dc:creator>
      <dc:date>2020-03-11T15:27:43Z</dc:date>
    </item>
  </channel>
</rss>

