Hi all, I have an error, when I replicate my CouchDB (which contains documents with attachments) server with my PhoneGap apps using CBL plugin.
My question is : This is normal or I do something wrong? Thanks. Regards -- 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/778f7c0c-acb0-49dd-b3d9-07df7f7c1ddd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
05-12 18:10:12.963: W/linker(9502): libcom_couchbase_touchdb_TDCollateJSON.so has text relocations. This is wasting memory and is a security risk. Please fix. 05-12 18:10:13.523: W/Database(9502): Puller[http://my.couchdb.server:5984/db] starting ChangeTracker with since=null 05-12 18:10:13.543: I/chromium(9502): [INFO:CONSOLE(559)] " 17.722 [error] error call of replicate", source: file:///android_asset/www/js/c8o.core.js (559) 05-12 18:10:13.673: E/Database(9502): Got error 412 05-12 18:10:13.673: E/Database(9502): Request was for: org.apache.http.client.methods.HttpPut@423b1798 05-12 18:10:13.673: E/Database(9502): Status reason: Precondition Failed 05-12 18:10:15.253: I/Database(9502): Puller[http://my.couchdb.server:5984/db] inserting 3 revisions... 05-12 18:10:15.253: I/CBLSQL(9502): pool-3-thread-1 Begin transaction (level 1) 05-12 18:10:15.253: I/CBLSQL(9502): pool-3-thread-1 Begin transaction (level 2) 05-12 18:10:15.313: I/CBLSQL(9502): pool-3-thread-1 Committing transaction (level 2) 05-12 18:10:15.313: I/CBLSQL(9502): pool-3-thread-1 Begin transaction (level 2) 05-12 18:10:15.313: I/CBLSQL(9502): pool-3-thread-1 Committing transaction (level 2) 05-12 18:10:15.313: I/CBLSQL(9502): pool-3-thread-1 Begin transaction (level 2) 05-12 18:10:15.323: I/CBLSQL(9502): pool-3-thread-1 CANCEL transaction (level 2) 05-12 18:10:15.323: I/CBLSQL(9502): pool-3-thread-1 CANCEL transaction (level 1) 05-12 18:10:15.353: E/Database(9502): BatchProcessor throw exception 05-12 18:10:15.353: E/Database(9502): java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long 05-12 18:10:15.353: E/Database(9502): at com.couchbase.lite.Database.getAttachmentsFromRevision(Database.java:3267) 05-12 18:10:15.353: E/Database(9502): at com.couchbase.lite.Database.forceInsert(Database.java:3387) 05-12 18:10:15.353: E/Database(9502): at com.couchbase.lite.replicator.Puller.insertRevisions(Puller.java:388) 05-12 18:10:15.353: E/Database(9502): at com.couchbase.lite.replicator.Puller$1.process(Puller.java:117) 05-12 18:10:15.353: E/Database(9502): at com.couchbase.lite.support.Batcher.processNow(Batcher.java:57) 05-12 18:10:15.353: E/Database(9502): at com.couchbase.lite.support.Batcher$1.run(Batcher.java:31) 05-12 18:10:15.353: E/Database(9502): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 05-12 18:10:15.353: E/Database(9502): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 05-12 18:10:15.353: E/Database(9502): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152) 05-12 18:10:15.353: E/Database(9502): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265) 05-12 18:10:15.353: E/Database(9502): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 05-12 18:10:15.353: E/Database(9502): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 05-12 18:10:15.353: E/Database(9502): at java.lang.Thread.run(Thread.java:841)
