POST
|
We went back to ArcGIS version 100.7 to resolve this issue as 100.7 doesn't use TextureView. Thanks.
... View more
08-12-2020
07:23 PM
|
0
|
0
|
1345
|
POST
|
We started using 100.7 ArcGIS version as we couldn't resolve this issue.
... View more
08-12-2020
07:22 PM
|
0
|
0
|
2149
|
POST
|
Hi Gunther, Our Application is quite big. If you ask any particular API call we are making, I could provide. Actual code which is causing the exception is as below: @Override
protected void onDestroy() { super.onDestroy();
LOGGER.warn(" AbstractMapContainingActivity: onDestroy ");
mMapView.getMapView().dispose();
mIDPEventsRenderingManager.terminate();
mWrappingOnLocationChangeListener.removeLocationListener(mMapLocationListener);
mConnectionRestoredListener.unregisterConnectionStatusChangedListener(mCurrentDeviceHidingPlugin);
mConnectionRestoredListener.unregisterConnectionStatusChangedListener(this);
mGraphicsServiceConnection.safelyUnbindService();
} This is the line which leads to the crash: 07-08 17:21:55.821 2741 2797 I TextureView: RenderingThread - Disposing started 07-08 17:21:55.824 2741 2797 E AndroidRuntime: FATAL EXCEPTION: Rendering thread 07-08 17:21:55.824 2741 2797 E AndroidRuntime: Process: com.example.map, PID: 2741 07-08 17:21:55.824 2741 2797 E AndroidRuntime: com.esri.arcgisruntime.ArcGISRuntimeException: Null pointer: object cannot be null. 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.internal.jni.CoreGeoView.nativePause(Native Method) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.internal.jni.CoreGeoView.a(SourceFile:575) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.internal.h.b.g.c(SourceFile:1058) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.b(SourceFile:1175) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.lambda$BRrsZ2XB9Y4rOvLRx6U82gkIAIs(Unknown Source:0) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.-$$Lambda$GeoView$RenderingThread$BRrsZ2XB9Y4rOvLRx6U82gkIAIs.run(Unknown Source:2) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:883) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.run(SourceFile:1210) 07-08 17:21:55.827 1342 3651 W ActivityTaskManager: Force finishing activity com.example.map/com.example.mapping.ICEHandlingMappingActivity Please note that same code works fine when we use 100.5 library. As we are migrating to Android10 (100.5 is not compatible with Android10), we have to move to 100.8 ArcGIS. We doubt that this exception happends in 100.8 as it has started using TextureView. Please note the first line before the crash: 07-08 17:21:55.821 2741 2797 I TextureView: RenderingThread - Disposing started Let me know if you need any particular information from our code. Thank you.
... View more
07-10-2020
07:21 AM
|
0
|
1
|
2149
|
POST
|
We are seeing a below crash after upgrading to 100.8 ArcGIS: 07-08 17:21:55.821 2741 2797 I TextureView: RenderingThread - Disposing started 07-08 17:21:55.824 2741 2797 E AndroidRuntime: FATAL EXCEPTION: Rendering thread 07-08 17:21:55.824 2741 2797 E AndroidRuntime: Process: com.example.map, PID: 2741 07-08 17:21:55.824 2741 2797 E AndroidRuntime: com.esri.arcgisruntime.ArcGISRuntimeException: Null pointer: object cannot be null. 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.internal.jni.CoreGeoView.nativePause(Native Method) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.internal.jni.CoreGeoView.a(SourceFile:575) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.internal.h.b.g.c(SourceFile:1058) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.b(SourceFile:1175) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.lambda$BRrsZ2XB9Y4rOvLRx6U82gkIAIs(Unknown Source:0) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.-$$Lambda$GeoView$RenderingThread$BRrsZ2XB9Y4rOvLRx6U82gkIAIs.run(Unknown Source:2) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:883) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214) 07-08 17:21:55.824 2741 2797 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.run(SourceFile:1210) 07-08 17:21:55.827 1342 3651 W ActivityTaskManager: Force finishing activity com.example.map/com.example.mapping.ICEHandlingMappingActivity This crash appears from our Activity's onDestroy() when we have called MapView.dispose() (in turn calling the GeoView class's RenderingThread's dispose() method) As this exception occurs in a different thread, we are unable to catch this exception. Any ideas what causes this crash?
... View more
07-09-2020
10:29 PM
|
1
|
4
|
1637
|
POST
|
We are seeing a similar crash after migrating to 100.8 ArcGIS: 07-04 01:27:36.273 13638 13719 E AndroidRuntime: FATAL EXCEPTION: Rendering thread 07-04 01:27:36.273 13638 13719 E AndroidRuntime: Process: com.our.application, PID: 13638 07-04 01:27:36.273 13638 13719 E AndroidRuntime: com.esri.arcgisruntime.ArcGISRuntimeException: Null pointer: object cannot be null. 07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.internal.jni.CoreGeoView.nativePause(Native Method) 07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.internal.jni.CoreGeoView.a(SourceFile:575) 07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.internal.h.b.g.c(SourceFile:1058) 07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.b(SourceFile:1175) 07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.lambda$BRrsZ2XB9Y4rOvLRx6U82gkIAIs(Unknown Source:0) 07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.-$$Lambda$GeoView$RenderingThread$BRrsZ2XB9Y4rOvLRx6U82gkIAIs.run(Unknown Source:2) 07-04 01:27:36.273 13638 13719 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:883) 07-04 01:27:36.273 13638 13719 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100) 07-04 01:27:36.273 13638 13719 E AndroidRuntime: at android.os.Looper.loop(Looper.java:237) 07-04 01:27:36.273 13638 13719 E AndroidRuntime: at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.run(SourceFile:1210) 07-04 01:27:36.274 5825 5947 D ViewRootImpl@458289e[map]: dispatchDetachedFromWindow Edit: We realised this crash appears from our Activity's onDestroy() when we have called MapView.dispose() (From the GeoView class's RenderingThread's dispose() method) As this exception occurs in a different thread, we are unable to catch this exception. Any ideas what causes this crash?
... View more
07-06-2020
12:55 AM
|
0
|
3
|
2149
|
Title | Kudos | Posted |
---|---|---|
1 | 07-09-2020 10:29 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|