Hello Team,
I am getting a random error from ShapefileFeatureTable.finalize() timed out after 10 seconds
I have no idea how to fix it, Please suggest?
The exception logs are described below:
i.e. AndroidRuntime: FATAL EXCEPTION: FinalizerWatchdogDaemon
Process: com.mylakemaps, PID: 25548
java.util.concurrent.TimeoutException: com.esri.core.geodatabase.ShapefileFeatureTable.finalize() timed out after 10 seconds
at com.esri.core.geodatabase.Geodatabase.nativeRelease(Native Method)
at com.esri.core.geodatabase.Geodatabase.d(SourceFile:309)
at com.esri.core.geodatabase.Geodatabase.dispose(SourceFile:304)
at com.esri.core.geodatabase.ShapefileFeatureTable.dispose(SourceFile:323)
at com.esri.core.geodatabase.ShapefileFeatureTable.finalize(SourceFile:329)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:229)
at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:207)
at java.lang.Thread.run(Thread.java:818)
Is there a reason why you are calling finalize() manually?
This should be called when that object is garbage collected
I am not calling finalize() manually,
ShapefileFeatureTable mTable = new ShapefileFeatureTable(mSdcard);
Above line of code causing it randomly
Which version of the runtime are you using?
i'm using arcgis-android:10.2.8-1 version.