Select to view content in your preferred language

FATAL EXCEPTION: java.util.concurrent.TimeoutException: com.esri.arcgisruntime.internal.jni.CoreFeatureLayer.finalize() timed out after 10 s

1270
1
04-18-2022 10:43 AM
Dhruvin
Emerging Contributor

Android 11 device
ArcGIS Runtime API for Android version 100.13.0
 
Scenario:
Loaded 4 feature layers to the ArcgisMap

Crash seen during interaction: zooming, panning, click on layer item which is when we open callout, etc.
Performance was good, didn't see laggy behavior.
Unable to reproduce again.

Has anyone else seen this ?

The backtrace definitely is an ESRI crash, but what can we do in the app to prevent this if anything ?

 

Crash Backtrace:
03-29 18:42:40.124  6215  6244 E AndroidRuntime: FATAL EXCEPTION: FinalizerWatchdogDaemon
03-29 18:42:40.124  6215  6244 E AndroidRuntime: Process: com.motorolasolutions.mapping.astro.converged, PID: 6215
03-29 18:42:40.124  6215  6244 E AndroidRuntime: java.util.concurrent.TimeoutException: com.esri.arcgisruntime.internal.jni.CoreFeatureLayer.finalize() timed out after 10 seconds
03-29 18:42:40.124  6215  6244 E AndroidRuntime:     at com.esri.arcgisruntime.internal.jni.CoreLayer.nativeDestroy(Native Method)
03-29 18:42:40.124  6215  6244 E AndroidRuntime:     at com.esri.arcgisruntime.internal.jni.CoreLayer.o(SourceFile:4)
03-29 18:42:40.124  6215  6244 E AndroidRuntime:     at com.esri.arcgisruntime.internal.jni.CoreLayer.finalize(SourceFile:1)
03-29 18:42:40.124  6215  6244 E AndroidRuntime:     at com.esri.arcgisruntime.internal.jni.CoreFeatureLayer.finalize(SourceFile:7)
03-29 18:42:40.124  6215  6244 E AndroidRuntime:     at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:291)
03-29 18:42:40.124  6215  6244 E AndroidRuntime:     at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:278)
03-29 18:42:40.124  6215  6244 E AndroidRuntime:     at java.lang.Daemons$Daemon.run(Daemons.java:139)
03-29 18:42:40.124  6215  6244 E AndroidRuntime:     at java.lang.Thread.run(Thread.java:923)

Tags (3)
0 Kudos
1 Reply
KristofferS
Emerging Contributor

We have a similar issue at 200.1.0 

Android 11
Lenovo Tab M10 HD (2nd Gen)

 

Testing the latest runtime.

Fatal Exception: java.util.concurrent.TimeoutException: com.arcgismaps.internal.jni.CoreServiceFeatureTable.finalize() timed out after 10 seconds
at com.arcgismaps.internal.jni.CoreFeatureTable.nativeDestroy(CoreFeatureTable.java)
at com.arcgismaps.internal.jni.CoreFeatureTable.disposeInner(CoreFeatureTable.java:713)
at com.arcgismaps.internal.jni.CoreFeatureTable.finalize(CoreFeatureTable.java)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:291)
at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:278)
at java.lang.Daemons$Daemon.run(Daemons.java:139)
at java.lang.Thread.run(Thread.java:923)

 

0 Kudos