Select to view content in your preferred language

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

1036
4
06-19-2017 04:40 AM
KestutisKaladinskas
Emerging 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
Honored Contributor

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

This should be called when that object is garbage collected

0 Kudos
KestutisKaladinskas
Emerging Contributor

I am not calling finalize() manually,

ShapefileFeatureTable mTable = new ShapefileFeatureTable(mSdcard);

Above line of code causing it randomly

0 Kudos
AlexanderNohe1
Honored Contributor

Which version of the runtime are you using?

0 Kudos
KestutisKaladinskas
Emerging Contributor

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

0 Kudos