Exceptions After Syncing: cursor not closed.
(Doc ID 1413715.1)
Last updated on FEBRUARY 25, 2019
Applies to:Oracle Database Mobile Server - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
On : 22.214.171.124.0 version, with Sync Client For Android.
When attempting to Synchronize
the following error occurs.
12-20 09:04:37.428: E/Cursor(3121): Finalizing a Cursor that has not been deactivated or closed. database = <PATH>/sqlite_db/5361/<APPDB>_PUB.db, table = null, query = SELECT TEXT FROM C$SCRIPTS WHERE SCRIPT_TYPE = 'NETCONFIG'
12-20 09:04:37.428: E/Cursor(3121): android.database.sqlite.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
The issue can be reproduced at will with the following steps:
1. Install Mobile Server 126.96.36.199.0 and start it.
2. Compile the simple sync sample application in 11g and launch it from another Activity.
3. when It exits the MainAct.java activty, this Error occurs:
12-20 09:08:21.944: E/MapActivity(3331): Couldn't get connection factory client
12-20 09:08:21.967: E/ActivityThread(3331): Activity no.mesta.mipss.felt.activity.common.SynchronizeActivity has leaked IntentReceiver oracle.opensync.syncagent.android.AndroidPowerManager$1@45e197c0 that was originally registered here. Are you missing a call to unregisterReceiver()?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document