首页 新闻 会员 周边 捐助

使用couchbase导致APP crash

0
悬赏园豆:50 [待解决问题]

最近设计的APP使用了Couchbase,但是运行一段时间以后就莫名的crash掉了。在网上一些说法:在数据库没有使用的时候要关闭,但是没有用,而且我的数据库是要一直和服务器同步的不能关闭。APP crash信息如下:

05-12 09:04:59.075: E/RemoteRequest(23521): at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
05-12 09:04:59.075: E/RemoteRequest(23521): at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:786)
05-12 09:04:59.075: E/RemoteRequest(23521): at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788)
05-12 09:04:59.075: E/RemoteRequest(23521): at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86)
05-12 09:04:59.075: E/RemoteRequest(23521): at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1494)
05-12 09:04:59.075: E/RemoteRequest(23521): at com.couchbase.lite.android.AndroidSQLiteStorageEngine.insertWithOnConflict(AndroidSQLiteStorageEngine.java:121)
05-12 09:04:59.075: E/RemoteRequest(23521): at com.couchbase.lite.Database.setLastSequence(Database.java:4067)
05-12 09:04:59.075: E/RemoteRequest(23521): at com.couchbase.lite.replicator.ReplicationInternal$7.onCompletion(ReplicationInternal.java:682)
05-12 09:04:59.075: E/RemoteRequest(23521): at com.couchbase.lite.support.RemoteRequestRetry$1.completed(RemoteRequestRetry.java:134)
05-12 09:04:59.075: E/RemoteRequest(23521): at com.couchbase.lite.support.RemoteRequestRetry$1.onCompletion(RemoteRequestRetry.java:145)
05-12 09:04:59.075: E/RemoteRequest(23521): at com.couchbase.lite.support.RemoteRequest.respondWithResult(RemoteRequest.java:305)
05-12 09:04:59.075: E/RemoteRequest(23521): at com.couchbase.lite.support.RemoteRequest.executeRequest(RemoteRequest.java:255)
05-12 09:04:59.075: E/RemoteRequest(23521): at com.couchbase.lite.support.RemoteRequest.run(RemoteRequest.java:101)
05-12 09:04:59.075: E/RemoteRequest(23521): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
05-12 09:04:59.075: E/RemoteRequest(23521): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-12 09:04:59.075: E/RemoteRequest(23521): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
05-12 09:04:59.075: E/RemoteRequest(23521): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
05-12 09:04:59.075: E/RemoteRequest(23521): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
05-12 09:04:59.075: E/RemoteRequest(23521): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
05-12 09:04:59.075: E/RemoteRequest(23521): at java.lang.Thread.run(Thread.java:841)

aleyds的主页 aleyds | 初学一级 | 园豆:108
提问于:2015-05-12 14:08
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册