Are you getting this error with the unmodified GrocerySync code? Can you post a minimal code example that reproduces this issue?
On Tue, Feb 11, 2014 at 3:01 AM, Pankaj Jakhar <[email protected]>wrote: > I am trying to update a document on my local device. What might be the > source and cause of this error. > > 02-11 16:25:36.921: E/Database(25313): java.lang.IllegalStateException: > attempt to re-open an already-closed object: SQLiteDatabase: > /data/data/com.couchbase.grocerysync/files/sync_gateway.cblite > 02-11 16:25:36.921: E/Database(25313): at > android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:55) > 02-11 16:25:36.921: E/Database(25313): at > android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1416) > 02-11 16:25:36.921: E/Database(25313): at > android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1359) > 02-11 16:25:36.921: E/Database(25313): at > com.couchbase.lite.storage.AndroidSQLiteStorageEngine.rawQuery(AndroidSQLiteStorageEngine.java:104) > 02-11 16:25:36.921: E/Database(25313): at > com.couchbase.lite.Database.findMissingRevisions(Database.java:3613) > 02-11 16:25:36.921: E/Database(25313): at > com.couchbase.lite.replicator.Puller.processInbox(Puller.java:215) > 02-11 16:25:36.921: E/Database(25313): at > com.couchbase.lite.replicator.Replication$1.process(Replication.java:169) > 02-11 16:25:36.921: E/Database(25313): at > com.couchbase.lite.support.Batcher.processNow(Batcher.java:57) > 02-11 16:25:36.921: E/Database(25313): at > com.couchbase.lite.support.Batcher$1.run(Batcher.java:31) > 02-11 16:25:36.921: E/Database(25313): at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390) > 02-11 16:25:36.921: E/Database(25313): at > java.util.concurrent.FutureTask.run(FutureTask.java:234) > 02-11 16:25:36.921: E/Database(25313): at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:153) > 02-11 16:25:36.921: E/Database(25313): at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) > 02-11 16:25:36.921: E/Database(25313): at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) > 02-11 16:25:36.921: E/Database(25313): at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) > 02-11 16:25:36.921: E/Database(25313): at > java.lang.Thread.run(Thread.java:856) > 02-11 16:25:36.921: V/Database(25313): *** > com.couchbase.lite.replicator.Replication$1@424a3c88: BEGIN processInbox > (1 sequences) > 02-11 16:25:36.931: W/Database(25313): Puller[ > http://192.168.1.4:5984/sync_gateway] no new remote revisions to fetch > 02-11 16:25:36.936: V/Database(25313): Puller[ > http://192.168.1.4:5984/sync_gateway]: Setting lastSequence to 11 from( > 10) > 02-11 16:25:36.936: V/Database(25313): *** > com.couchbase.lite.replicator.Replication$1@424a3c88: END processInbox > (lastSequence=11 > 02-11 16:25:38.396: V/Database(25313): Pusher[ > http://192.168.1.4:5984/sync_gateway] checkpointing sequence=11 > 02-11 16:25:38.936: V/Database(25313): Puller[ > http://192.168.1.4:5984/sync_gateway] checkpointing sequence=11 > > > -- > You received this message because you are subscribed to the Google Groups > "Couchbase Mobile" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mobile-couchbase/95d23f11-0f1f-4f72-ad3d-ea3430a893e8%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCF1tOBncFhh2g7Pw_Tfio%2BH-%3DjqABf7DXGXyLWd_axbcQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
