There are known issues with replication checkpoints:

* https://github.com/couchbase/couchbase-lite-java-core/issues/58
* https://github.com/couchbase/couchbase-lite-android/issues/108

Although I'm not sure if you are running into either of those issues or
something different altogether.

* Are you able to reproduce this every time, or is it sporadic?
* Can you reproduce this with the Grocery Sync demo code?
* Can you reproduce this again and post the full logs to Friendpaste.com
and send links to the logs?




On Tue, Feb 11, 2014 at 2:53 AM, Pankaj Jakhar <[email protected]>wrote:

> While updating a document on local device I am getting this exception.
>
> *I reproduce it with these steps:*
>
> *1. First time when I run the application I can perform all the createItem
> and updateExisting item operations.*
> *2. When I close the application and make changes for the second time then
> this Exception is thrown.*
>
> *What might be the exact cause of it?*
>
>
> 02-11 16:17:32.091: V/Database(24993):
> com.couchbase.lite.replicator.Replication$6@4260b018: Unable to save
> remote checkpoint
> 02-11 16:17:32.091: V/Database(24993):
> org.apache.http.client.HttpResponseException: Conflict
> 02-11 16:17:32.091: V/Database(24993): at
> com.couchbase.lite.support.RemoteRequest.executeRequest(RemoteRequest.java:145)
> 02-11 16:17:32.091: V/Database(24993): at
> com.couchbase.lite.support.RemoteRequest.run(RemoteRequest.java:83)
> 02-11 16:17:32.091: V/Database(24993): at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
> 02-11 16:17:32.091: V/Database(24993): at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
> 02-11 16:17:32.091: V/Database(24993): at
> java.lang.Thread.run(Thread.java:856)
> 02-11 16:17:32.531: V/Database(24993): Puller[
> http://192.168.1.4:5984/sync_gateway] checkpointing sequence=7
> 02-11 16:17:32.546: V/Database(24993): Puller[
> http://192.168.1.4:5984/sync_gateway] checkpointing sequence=7
> 02-11 16:17:32.576: E/Database(24993): Got error 409
> 02-11 16:17:32.576: E/Database(24993): Request was for:
> org.apache.http.client.methods.HttpPut@426c11a8
> 02-11 16:17:32.576: E/Database(24993): Status reason: Conflict
> 02-11 16:17:32.576: V/Database(24993):
> com.couchbase.lite.replicator.Replication$6@426bf5b8: Unable to save
> remote checkpoint
> 02-11 16:17:32.576: V/Database(24993):
> org.apache.http.client.HttpResponseException: Conflict
> 02-11 16:17:32.576: V/Database(24993): at
> com.couchbase.lite.support.RemoteRequest.executeRequest(RemoteRequest.java:145)
> 02-11 16:17:32.576: V/Database(24993): at
> com.couchbase.lite.support.RemoteRequest.run(RemoteRequest.java:83)
> 02-11 16:17:32.576: V/Database(24993): at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
> 02-11 16:17:32.576: V/Database(24993): at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
> 02-11 16:17:32.576: V/Database(24993): at
> java.lang.Thread.run(Thread.java:856)
>
>
>
>
>  --
> 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/77a6ce80-bb75-4c19-aef2-94a8b2c35dbd%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/CACSSHCGc4M%3DsyOXnKuqB3nOnBTLSTq%2BYuK2jDwWrFb0Gu1J%3DtA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to