<?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: Fatal Exception: com.esri.arcgisruntime.ArcGISRuntimeException in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fatal-exception-com-esri-arcgisruntime/m-p/344204#M2242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be able to share some simplified reproducer code and steps with us?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Gunther&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2020 11:33:51 GMT</pubDate>
    <dc:creator>GuntherHeppner</dc:creator>
    <dc:date>2020-07-10T11:33:51Z</dc:date>
    <item>
      <title>Fatal Exception: com.esri.arcgisruntime.ArcGISRuntimeException</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fatal-exception-com-esri-arcgisruntime/m-p/344202#M2240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;I am using ESRI map in my Android app with&lt;PRE class="lia-code-sample line-numbers language-none"&gt;esriMapVersion = &lt;SPAN style="color: #6a8759;"&gt;'100.8.0' &lt;/SPAN&gt;&lt;/PRE&gt;The app is crashing due to this error, I don't know why it is happening. May I know the reason for this?&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Fatal Exception: com.esri.arcgisruntime.ArcGISRuntimeException: Null pointer
       at com.esri.arcgisruntime.internal.jni.CoreMapView.nativeGetMagnifierEnabled(CoreMapView.java)
       at com.esri.arcgisruntime.internal.jni.CoreMapView.r(CoreMapView.java:190)
       at com.esri.arcgisruntime.internal.h.b.p.t(p.java:304)
       at com.esri.arcgisruntime.mapping.view.MapView.isMagnifierEnabled(MapView.java:397)
       at com.esri.arcgisruntime.mapping.view.DefaultMapViewOnTouchListener.onLongPress(DefaultMapViewOnTouchListener.java:659)
       at com.esri.arcgisruntime.mapping.view.DefaultMapViewOnTouchListener$2.run(DefaultMapViewOnTouchListener.java:176)
       at android.os.Handler.handleCallback(Handler.java:873)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:214)
       at android.app.ActivityThread.main(ActivityThread.java:7080)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)&lt;/PRE&gt;&lt;P&gt;More info:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Fatal Exception: com.esri.arcgisruntime.ArcGISRuntimeException: Null pointer
       at com.esri.arcgisruntime.internal.jni.CoreGeoView.nativePause(CoreGeoView.java)
       at com.esri.arcgisruntime.internal.jni.CoreGeoView.a(CoreGeoView.java:575)
       at com.esri.arcgisruntime.internal.h.b.g.c(g.java:1058)
       at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.b(GeoView.java:1175)
       at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.lambda$4H6K_b9I57wxvILOLXOzXwoSpac(GeoView.java)
       at com.esri.arcgisruntime.mapping.view.-$$Lambda$GeoView$RenderingThread$BRrsZ2XB9Y4rOvLRx6U82gkIAIs.run(-.java:2)
       at android.os.Handler.handleCallback(Handler.java:873)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:214)
       at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.run(GeoView.java:1210)&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if need any further info. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:13:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fatal-exception-com-esri-arcgisruntime/m-p/344202#M2240</guid>
      <dc:creator>ShylendraMadda</dc:creator>
      <dc:date>2021-12-11T16:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Exception: com.esri.arcgisruntime.ArcGISRuntimeException</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fatal-exception-com-esri-arcgisruntime/m-p/344203#M2241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are seeing a similar crash after migrating to 100.8 ArcGIS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: FATAL EXCEPTION: Rendering thread&lt;BR /&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: Process: com.our.application, PID: 13638&lt;BR /&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: com.esri.arcgisruntime.ArcGISRuntimeException: Null pointer: object cannot be null.&lt;BR /&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.internal.jni.CoreGeoView.nativePause(Native Method)&lt;BR /&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.internal.jni.CoreGeoView.a(SourceFile:575)&lt;BR /&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.internal.h.b.g.c(SourceFile:1058)&lt;BR /&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.b(SourceFile:1175)&lt;BR /&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.lambda$BRrsZ2XB9Y4rOvLRx6U82gkIAIs(Unknown Source:0)&lt;BR /&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.-$$Lambda$GeoView$RenderingThread$BRrsZ2XB9Y4rOvLRx6U82gkIAIs.run(Unknown Source:2)&lt;BR /&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:883)&lt;BR /&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)&lt;BR /&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: at android.os.Looper.loop(Looper.java:237)&lt;BR /&gt;07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.run(SourceFile:1210)&lt;BR /&gt;07-04 01:27:36.274 5825 5947 D ViewRootImpl@458289e[map]: dispatchDetachedFromWindow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: We realised this crash appears from our Activity's onDestroy() when we have called&amp;nbsp; MapView.dispose() (From the GeoView class's&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;RenderingThread's dispose() method)&lt;/PRE&gt;&lt;P&gt;As this exception occurs in a different thread, we are unable to catch this exception.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any ideas what causes this crash?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2020 07:55:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fatal-exception-com-esri-arcgisruntime/m-p/344203#M2241</guid>
      <dc:creator>NandKishore</dc:creator>
      <dc:date>2020-07-06T07:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Exception: com.esri.arcgisruntime.ArcGISRuntimeException</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fatal-exception-com-esri-arcgisruntime/m-p/344204#M2242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be able to share some simplified reproducer code and steps with us?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Gunther&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 11:33:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fatal-exception-com-esri-arcgisruntime/m-p/344204#M2242</guid>
      <dc:creator>GuntherHeppner</dc:creator>
      <dc:date>2020-07-10T11:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Exception: com.esri.arcgisruntime.ArcGISRuntimeException</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fatal-exception-com-esri-arcgisruntime/m-p/344205#M2243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gunther,&lt;/P&gt;&lt;P&gt;Our Application is quite big. If you ask any particular API call we are making, I could provide.&lt;/P&gt;&lt;P&gt;Actual code which is causing the exception is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #808000;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;protected void &lt;/SPAN&gt;onDestroy() {&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;super&lt;/SPAN&gt;.onDestroy();
&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;LOGGER&lt;/SPAN&gt;.warn(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;" AbstractMapContainingActivity: onDestroy "&lt;/SPAN&gt;);&lt;SPAN style="color: #808080;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;mMapView.getMapView().dispose();&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mIDPEventsRenderingManager&lt;/SPAN&gt;.terminate();
&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mWrappingOnLocationChangeListener&lt;/SPAN&gt;.removeLocationListener(&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mMapLocationListener&lt;/SPAN&gt;);
&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mConnectionRestoredListener&lt;/SPAN&gt;.unregisterConnectionStatusChangedListener(&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mCurrentDeviceHidingPlugin&lt;/SPAN&gt;);
&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mConnectionRestoredListener&lt;/SPAN&gt;.unregisterConnectionStatusChangedListener(&lt;SPAN style="color: #000080; font-weight: bold;"&gt;this&lt;/SPAN&gt;);
&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mGraphicsServiceConnection&lt;/SPAN&gt;.safelyUnbindService();
}&lt;/PRE&gt;&lt;P&gt;This is the line which leads to the crash:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.821 2741 2797 I TextureView: RenderingThread - Disposing started&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: FATAL EXCEPTION: Rendering thread&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: Process: com.example.map, PID: 2741&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: com.esri.arcgisruntime.ArcGISRuntimeException: Null pointer: object cannot be null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.internal.jni.CoreGeoView.nativePause(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.internal.jni.CoreGeoView.a(SourceFile:575)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.internal.h.b.g.c(SourceFile:1058)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.b(SourceFile:1175)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.lambda$BRrsZ2XB9Y4rOvLRx6U82gkIAIs(Unknown Source:0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.-$$Lambda$GeoView$RenderingThread$BRrsZ2XB9Y4rOvLRx6U82gkIAIs.run(Unknown Source:2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:883)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.run(SourceFile:1210)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;07-08 17:21:55.827 1342 3651 W ActivityTaskManager: Force finishing activity&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="border: 0px;"&gt;com.example.map&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;/com.example.mapping.ICEHandlingMappingActivity&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Please note that same code works fine when we use 100.5 library.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;As we are migrating to Android10 (100.5 is not compatible with Android10), we have to move to 100.8 ArcGIS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;We doubt that this exception happends in 100.8 as it has started using TextureView.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Please note the first line before the crash:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;07-08 17:21:55.821 2741 2797 I TextureView: RenderingThread - Disposing started&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Let me know if you need any particular information from our code.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:13:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fatal-exception-com-esri-arcgisruntime/m-p/344205#M2243</guid>
      <dc:creator>NandKishore</dc:creator>
      <dc:date>2021-12-11T16:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Exception: com.esri.arcgisruntime.ArcGISRuntimeException</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fatal-exception-com-esri-arcgisruntime/m-p/344206#M2244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We started using 100.7 ArcGIS version as we couldn't resolve this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2020 02:22:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fatal-exception-com-esri-arcgisruntime/m-p/344206#M2244</guid>
      <dc:creator>NandKishore</dc:creator>
      <dc:date>2020-08-13T02:22:03Z</dc:date>
    </item>
  </channel>
</rss>

