getting ShapefileFeatureTable.finalize() timed out after 10 seconds exception

876
4
06-19-2017 04:40 AM
KestutisKaladinskas
New Contributor

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)


0 Kudos
4 Replies
AlexanderNohe1
Occasional Contributor III

Is there a reason why you are calling finalize() manually?

This should be called when that object is garbage collected

0 Kudos
KestutisKaladinskas
New Contributor

I am not calling finalize() manually,

ShapefileFeatureTable mTable = new ShapefileFeatureTable(mSdcard);

Above line of code causing it randomly

0 Kudos
AlexanderNohe1
Occasional Contributor III

Which version of the runtime are you using?

0 Kudos
KestutisKaladinskas
New Contributor

i'm using arcgis-android:10.2.8-1 version.

0 Kudos