08/07 12:10:49: Launching app $ adb shell am start -n "com.couchbase.TestServerApp/com.couchbase.CouchbaseLiteServ.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.couchbase.TestServerApp.test | com.couchbase.TestServerApp Waiting for application to come online: com.couchbase.TestServerApp.test | com.couchbase.TestServerApp Waiting for application to come online: com.couchbase.TestServerApp.test | com.couchbase.TestServerApp Connecting to com.couchbase.TestServerApp Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. W/ActivityThread: Application com.couchbase.TestServerApp is waiting for the debugger on port 8100... I/System.out: Sending WAIT chunk I/art: Debugger is active I/System.out: Debugger has connected I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... Connected to the target VM, address: 'localhost:8622', transport: 'socket' I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: debugger has settled (1339) I/InstantRun: starting instant run server: is main process D/MAIN: intf_name: ifb0 intf_name: ifb1 D/MAIN: intf_name: sit0 intf_name: lo intf_name: eth0 intf_name: eth1 W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable I/art: Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener; I/art: at void android.support.v4.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2341) at void android.support.v7.widget.ActionBarContainer.(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62) at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2) at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430) at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:645) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:787) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:727) at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:858) at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:821) at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:518) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:426) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:377) at android.view.ViewGroup android.support.v7.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607) at void android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518) at void android.support.v7.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466) at void android.support.v7.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140) at void com.couchbase.CouchbaseLiteServ.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:30) at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6679) at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2618) at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2726) at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1477) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102) at void android.os.Looper.loop() (Looper.java:154) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6119) at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2) at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:886) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:776) Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.couchbase.TestServerApp-2/base.apk", zip file "/data/app/com.couchbase.TestServerApp-2/split_lib_dependencies_apk.apk", zip file "/data/app/com.couchbase.TestServerApp-2/split_lib_slice_0_apk.apk", zip file "/data/app/com.couchbase.TestServerApp-2/split_lib_slice_1_apk.apk", zip file "/data/app/com.couchbase.TestServerApp-2/split_lib_slice_2_apk.apk", zip file "/data/app/com.couchbase.TestServerApp-2/split_lib_slice_3_apk.apk", zip file "/data/app/com.couchbase.TestServerApp-2/split_lib_slice_4_apk.apk", zip file "/data/app/com.couchbase.TestServerApp-2/split_lib_slice_5_apk.apk", zip file "/data/app/com.couchbase.TestServerApp-2/split_lib_slice_6_apk.apk", zip file "/data/app/com.couchbase.TestServerApp-2/split_lib_slice_7_apk.apk", zip file "/data/app/com.couchbase.TestServerApp-2/split_lib_slice_8_apk.apk", zip file "/data/app/com.couchbase.TestServer at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56) at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380) at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) at void android.support.v4.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2341) at void android.support.v7.widget.ActionBarContainer.(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62) at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2) at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430) at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:645) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:787) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:727) at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:858) at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:821) at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:518) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:426) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:377) at android.view.ViewGroup android.support.v7.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607) at void android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518) at void android.support.v7.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466) at void android.support.v7.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140) at void com.couchbase.CouchbaseLiteServ.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:30) at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6679) at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2618) at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2726) at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1477) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102) at void android.os.Looper.loop() (Looper.java:154) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6119) at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2) at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:886) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:776) I/art: Starting a blocking GC Instrumentation W/art: Verification of org.nanohttpd.protocols.http.response.Response com.couchbase.CouchbaseLiteServ.server.Server.handle(org.nanohttpd.protocols.http.IHTTPSession) took 437.701ms I/SERVER: Running! Point your Mobile browser to http://172.16.1.147:8080/ D/: HostConnection::get() New Host Connection established 0xd187e3c0, tid 1974 W/: Process pipe failed D/libEGL: Emulator has host GPU support, qemu.gles is set to 1. E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found D/libEGL: loaded /system/lib/egl/libEGL_emulation.so D/libEGL: loaded /system/lib/egl/libGLESv1_CM_emulation.so D/libEGL: loaded /system/lib/egl/libGLESv2_emulation.so D/: HostConnection::get() New Host Connection established 0xd187e8c0, tid 1993 I/OpenGLRenderer: Initialized EGL, version 1.4 D/OpenGLRenderer: Swap behavior 1 I/ViewConfigCompat: Could not find method getScaledScrollFactor() on ViewConfiguration E/EGL_emulation: tid 1993: eglSurfaceAttrib(1174): error 0x3009 (EGL_BAD_MATCH) W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xe5a54320, error=EGL_BAD_MATCH W/art: Before Android 4.1, method int android.support.v7.widget.DropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView I/SERVER: Request URI: /logging_configure I/LOGREQHANDLER: File logging configured at: /data/user/0/com.couchbase.TestServerApp/files/logs_1565160050 I/SERVER: Request URI: /logging_getDirectory I/SERVER: Request URI: /databaseConfiguration_configure I/SERVER: Request URI: /database_create I/CouchbaseLite/DATABASE: CouchbaseLite Android v2.6.0-152 (EE/release Build/152 Commit/db7c71c Core/2.6.0 (152) at 2019-08-06T17:32:31.144Z on 65177c1da816) on Java; Android 7.1.1; Google I/CouchbaseLite/DATABASE: Opening Database{@6e66e7f, name='cbl_db1565160067.81'} at path /data/user/0/com.couchbase.TestServerApp/files/cbl_db1565160067.81.cblite2 I/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#1}==> N8litecore8DataFile6SharedE 0xd18bf1a8 @0xd18bf1a8 {N8litecore8DataFile6SharedE#1} instantiated on /data/data/com.couchbase.TestServerApp/files/cbl_db1565160067.81.cblite2/db.sqlite3 D/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#1} created for DataFile 0xea526a90 at /data/data/com.couchbase.TestServerApp/files/cbl_db1565160067.81.cblite2/db.sqlite3 I/CouchbaseLite/DATABASE: {DB#2}==> N8litecore14SQLiteDataFileE /data/user/0/com.couchbase.TestServerApp/files/cbl_db1565160067.81.cblite2/db.sqlite3 @0xea526a90 {DB#2} Opening database V/CouchbaseLite/DATABASE: {DB#2} begin transaction {DB#2} KeyStore(info) set versioning V/CouchbaseLite/DATABASE: {DB#2} KeyStore(info) set publicUUID {DB#2} KeyStore(info) set privateUUID {DB#2} commit transaction {DB#2} Next expiration time is 0 V/CouchbaseLite/DATABASE: No pending doc expirations I/SERVER: Request URI: /database_getName I/SERVER: Request URI: /database_getPath I/SERVER: Request URI: /database_getName I/SERVER: Request URI: /database_deleteDB I/CouchbaseLite/DATABASE: Deleting Database{@6e66e7f, name='cbl_db1565160067.81'} at path /data/user/0/com.couchbase.TestServerApp/files/cbl_db1565160067.81.cblite2/ V/CouchbaseLite/DATABASE: Preparing to delete DataFile /data/data/com.couchbase.TestServerApp/files/cbl_db1565160067.81.cblite2/db.sqlite3 {DB#2} Pre-close housekeeping: 0 of 6 pages free (0%) V/CouchbaseLite/DATABASE: {DB#2} Closed SQLite database I/CouchbaseLite/DATABASE: {DB#2} Closing database Deleting database file /data/data/com.couchbase.TestServerApp/files/cbl_db1565160067.81.cblite2/db.sqlite3 (with -wal and -shm) D/CouchbaseLite/DATABASE: ...finished deleting database file /data/data/com.couchbase.TestServerApp/files/cbl_db1565160067.81.cblite2/db.sqlite3 (with -wal and -shm) I/DBHANDLER: database deleted I/SERVER: Request URI: /databaseConfiguration_configure I/SERVER: Request URI: /database_getPreBuiltDb I/art: Do partial code cache collection, code=28KB, data=18KB I/art: After code cache collection, code=28KB, data=18KB Increasing code cache capacity to 128KB I/SERVER: Request URI: /database_copy I/CouchbaseLite/DATABASE: Copying prebuilt database from /data/user/0/com.couchbase.TestServerApp/files/PrebuiltDB.cblite2/ to /data/user/0/com.couchbase.TestServerApp/files/copiedDB1565160068.13.cblite2/ I/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#3}==> N8litecore8DataFile6SharedE 0xd18bfec8 @0xd18bfec8 {N8litecore8DataFile6SharedE#3} instantiated on /data/data/com.couchbase.TestServerApp/cache/CouchbaseLiteTemp/HxHllI/db.sqlite3 D/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#3} created for DataFile 0xdd24a850 at /data/data/com.couchbase.TestServerApp/cache/CouchbaseLiteTemp/HxHllI/db.sqlite3 I/CouchbaseLite/DATABASE: {DB#4}==> N8litecore14SQLiteDataFileE /data/user/0/com.couchbase.TestServerApp/cache/CouchbaseLiteTemp/HxHllI/db.sqlite3 @0xdd24a850 {DB#4} Opening database V/CouchbaseLite/DATABASE: {DB#4} begin transaction {DB#4} KeyStore(info) set previousPrivateUUID V/CouchbaseLite/DATABASE: {DB#4} KeyStore(info) set publicUUID V/CouchbaseLite/DATABASE: {DB#4} KeyStore(info) set privateUUID {DB#4} commit transaction {DB#4} Pre-close housekeeping: 0 of 9 pages free (0%) V/CouchbaseLite/DATABASE: {DB#4} Closed SQLite database I/CouchbaseLite/DATABASE: {DB#4} Closing database Moving source DB to destination DB... I/SERVER: Request URI: /database_create I/CouchbaseLite/DATABASE: Opening Database{@fe9f28, name='copiedDB1565160068.13'} at path /data/user/0/com.couchbase.TestServerApp/files/copiedDB1565160068.13.cblite2 {N8litecore8DataFile6SharedE#5}==> N8litecore8DataFile6SharedE 0xd18bfe08 @0xd18bfe08 {N8litecore8DataFile6SharedE#5} instantiated on /data/data/com.couchbase.TestServerApp/files/copiedDB1565160068.13.cblite2/db.sqlite3 D/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#5} created for DataFile 0xdd24abd0 at /data/data/com.couchbase.TestServerApp/files/copiedDB1565160068.13.cblite2/db.sqlite3 I/CouchbaseLite/DATABASE: {DB#6}==> N8litecore14SQLiteDataFileE /data/user/0/com.couchbase.TestServerApp/files/copiedDB1565160068.13.cblite2/db.sqlite3 @0xdd24abd0 {DB#6} Opening database V/CouchbaseLite/DATABASE: {DB#6} Next expiration time is 0 No pending doc expirations I/SERVER: Request URI: /database_getDocIds V/CouchbaseLite/QUERY: Query encoded as {"WHAT":[["._id"]],"OFFSET":0,"LIMIT":1000} I/CouchbaseLite/QUERY: {Query#7}==> N8litecore11SQLiteQueryE 0xd18c0a78 @0xd18c0a78 {Query#7} Compiling JSON query: {"WHAT":[["._id"]],"OFFSET":0,"LIMIT":1000} {Query#7} Compiled as SELECT fl_result(_doc.key) FROM kv_default AS _doc WHERE (_doc.flags & 1 = 0) LIMIT MAX(0, 1000) OFFSET MAX(0, 0) I/CouchbaseLite/QUERY: {QueryEnum#8}==> N8litecore21SQLiteQueryEnumeratorE 0xd18c0bac @0xd18c0bac I/CouchbaseLite/QUERY: {QueryEnum#8} Created on {Query#7} with 10 rows (154 bytes) in 0.147ms V/CouchbaseLite/QUERY: {QueryEnum#8} --> ["cbl_2"] V/CouchbaseLite/QUERY: {QueryEnum#8} --> ["cbl_1"] {QueryEnum#8} --> ["cbl_3"] {QueryEnum#8} --> ["cbl_4"] {QueryEnum#8} --> ["cbl_0"] {QueryEnum#8} --> ["cbl2_3"] V/CouchbaseLite/QUERY: {QueryEnum#8} --> ["cbl2_0"] {QueryEnum#8} --> ["cbl2_2"] {QueryEnum#8} --> ["cbl2_4"] {QueryEnum#8} --> ["cbl2_1"] {QueryEnum#8} END I/CouchbaseLite/QUERY: End of query enumeration I/SERVER: Request URI: /database_getDocIds V/CouchbaseLite/QUERY: Query encoded as {"WHAT":[["._id"]],"OFFSET":0,"LIMIT":1000} W/SERVER: Request failed java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at com.couchbase.CouchbaseLiteServ.server.Server.handle(Server.java:212) at org.nanohttpd.protocols.http.HTTPSession.execute(HTTPSession.java:418) at org.nanohttpd.protocols.http.ClientHandler.run(ClientHandler.java:75) at java.lang.Thread.run(Thread.java:761) Caused by: java.lang.IllegalStateException: Attempt to perform an operation on a closed database at com.couchbase.lite.AbstractDatabase.mustBeOpen(AbstractDatabase.java:822) at com.couchbase.lite.AbstractDatabase.getC4Database(AbstractDatabase.java:879) at com.couchbase.lite.AbstractQuery.check(AbstractQuery.java:299) at com.couchbase.lite.AbstractQuery.execute(AbstractQuery.java:138) at com.couchbase.lite.Limit.execute(Limit.java:27) at com.couchbase.CouchbaseLiteServ.server.RequestHandler.DatabaseRequestHandler.getDocIds(DatabaseRequestHandler.java:283) at java.lang.reflect.Method.invoke(Native Method)  at com.couchbase.CouchbaseLiteServ.server.Server.handle(Server.java:212)  at org.nanohttpd.protocols.http.HTTPSession.execute(HTTPSession.java:418)  at org.nanohttpd.protocols.http.ClientHandler.run(ClientHandler.java:75)  at java.lang.Thread.run(Thread.java:761)  I/SERVER: Request URI: /database_exists I/SERVER: Request URI: /flushMemory I/CouchbaseLite/QUERY: {QueryEnum#8} Deleted V/CouchbaseLite/DATABASE: {DB#6} Pre-close housekeeping: 0 of 9 pages free (0%) V/CouchbaseLite/DATABASE: {DB#6} Closed SQLite database I/CouchbaseLite/DATABASE: {DB#6} Closing database I/SERVER: Request URI: /logging_configure I/LOGREQHANDLER: File logging configured at: /data/user/0/com.couchbase.TestServerApp/files/logs_1565160111 I/SERVER: Request URI: /logging_getDirectory I/SERVER: Request URI: /databaseConfiguration_configure I/SERVER: Request URI: /database_create I/CouchbaseLite/DATABASE: Opening Database{@dce5fcc, name='cbl_db1565160128.52'} at path /data/user/0/com.couchbase.TestServerApp/files/cbl_db1565160128.52.cblite2 I/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#9}==> N8litecore8DataFile6SharedE 0xd1615428 @0xd1615428 {N8litecore8DataFile6SharedE#9} instantiated on /data/data/com.couchbase.TestServerApp/files/cbl_db1565160128.52.cblite2/db.sqlite3 D/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#9} created for DataFile 0xdd24a770 at /data/data/com.couchbase.TestServerApp/files/cbl_db1565160128.52.cblite2/db.sqlite3 I/CouchbaseLite/DATABASE: {DB#10}==> N8litecore14SQLiteDataFileE /data/user/0/com.couchbase.TestServerApp/files/cbl_db1565160128.52.cblite2/db.sqlite3 @0xdd24a770 {DB#10} Opening database V/CouchbaseLite/DATABASE: {DB#10} begin transaction {DB#10} KeyStore(info) set versioning {DB#10} KeyStore(info) set publicUUID {DB#10} KeyStore(info) set privateUUID V/CouchbaseLite/DATABASE: {DB#10} commit transaction {DB#10} Next expiration time is 0 No pending doc expirations I/SERVER: Request URI: /database_getName I/SERVER: Request URI: /database_getPath I/SERVER: Request URI: /database_getName I/SERVER: Request URI: /database_deleteDB I/CouchbaseLite/DATABASE: Deleting Database{@dce5fcc, name='cbl_db1565160128.52'} at path /data/user/0/com.couchbase.TestServerApp/files/cbl_db1565160128.52.cblite2/ V/CouchbaseLite/DATABASE: Preparing to delete DataFile /data/data/com.couchbase.TestServerApp/files/cbl_db1565160128.52.cblite2/db.sqlite3 {DB#10} Pre-close housekeeping: 0 of 6 pages free (0%) V/CouchbaseLite/DATABASE: {DB#10} Closed SQLite database I/CouchbaseLite/DATABASE: {DB#10} Closing database Deleting database file /data/data/com.couchbase.TestServerApp/files/cbl_db1565160128.52.cblite2/db.sqlite3 (with -wal and -shm) D/CouchbaseLite/DATABASE: ...finished deleting database file /data/data/com.couchbase.TestServerApp/files/cbl_db1565160128.52.cblite2/db.sqlite3 (with -wal and -shm) I/DBHANDLER: database deleted I/SERVER: Request URI: /databaseConfiguration_configure I/SERVER: Request URI: /database_getPreBuiltDb I/SERVER: Request URI: /database_copy I/CouchbaseLite/DATABASE: Copying prebuilt database from /data/user/0/com.couchbase.TestServerApp/files/PrebuiltDB.cblite2/ to /data/user/0/com.couchbase.TestServerApp/files/copiedDB1565160128.73.cblite2/ I/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#11}==> N8litecore8DataFile6SharedE 0xd1615308 @0xd1615308 {N8litecore8DataFile6SharedE#11} instantiated on /data/data/com.couchbase.TestServerApp/cache/CouchbaseLiteTemp/JjxGTG/db.sqlite3 D/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#11} created for DataFile 0xdd24b8f0 at /data/data/com.couchbase.TestServerApp/cache/CouchbaseLiteTemp/JjxGTG/db.sqlite3 I/CouchbaseLite/DATABASE: {DB#12}==> N8litecore14SQLiteDataFileE /data/user/0/com.couchbase.TestServerApp/cache/CouchbaseLiteTemp/JjxGTG/db.sqlite3 @0xdd24b8f0 {DB#12} Opening database V/CouchbaseLite/DATABASE: {DB#12} begin transaction {DB#12} KeyStore(info) set previousPrivateUUID V/CouchbaseLite/DATABASE: {DB#12} KeyStore(info) set publicUUID {DB#12} KeyStore(info) set privateUUID V/CouchbaseLite/DATABASE: {DB#12} commit transaction V/CouchbaseLite/DATABASE: {DB#12} Pre-close housekeeping: 0 of 9 pages free (0%) V/CouchbaseLite/DATABASE: {DB#12} Closed SQLite database I/CouchbaseLite/DATABASE: {DB#12} Closing database I/CouchbaseLite/DATABASE: Moving source DB to destination DB... I/SERVER: Request URI: /database_create I/CouchbaseLite/DATABASE: Opening Database{@baa7ecd, name='copiedDB1565160128.73'} at path /data/user/0/com.couchbase.TestServerApp/files/copiedDB1565160128.73.cblite2 {N8litecore8DataFile6SharedE#13}==> N8litecore8DataFile6SharedE 0xd1615428 @0xd1615428 {N8litecore8DataFile6SharedE#13} instantiated on /data/data/com.couchbase.TestServerApp/files/copiedDB1565160128.73.cblite2/db.sqlite3 D/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#13} created for DataFile 0xdd24bc70 at /data/data/com.couchbase.TestServerApp/files/copiedDB1565160128.73.cblite2/db.sqlite3 I/CouchbaseLite/DATABASE: {DB#14}==> N8litecore14SQLiteDataFileE /data/user/0/com.couchbase.TestServerApp/files/copiedDB1565160128.73.cblite2/db.sqlite3 @0xdd24bc70 {DB#14} Opening database V/CouchbaseLite/DATABASE: {DB#14} Next expiration time is 0 V/CouchbaseLite/DATABASE: No pending doc expirations I/SERVER: Request URI: /database_getDocIds V/CouchbaseLite/QUERY: Query encoded as {"WHAT":[["._id"]],"OFFSET":0,"LIMIT":1000} I/CouchbaseLite/QUERY: {Query#15}==> N8litecore11SQLiteQueryE 0xd16158b8 @0xd16158b8 {Query#15} Compiling JSON query: {"WHAT":[["._id"]],"OFFSET":0,"LIMIT":1000} I/CouchbaseLite/QUERY: {Query#15} Compiled as SELECT fl_result(_doc.key) FROM kv_default AS _doc WHERE (_doc.flags & 1 = 0) LIMIT MAX(0, 1000) OFFSET MAX(0, 0) {QueryEnum#16}==> N8litecore21SQLiteQueryEnumeratorE 0xd16159ec @0xd16159ec {QueryEnum#16} Created on {Query#15} with 10 rows (154 bytes) in 0.049ms V/CouchbaseLite/QUERY: {QueryEnum#16} --> ["cbl_2"] {QueryEnum#16} --> ["cbl_1"] V/CouchbaseLite/QUERY: {QueryEnum#16} --> ["cbl_3"] {QueryEnum#16} --> ["cbl_4"] {QueryEnum#16} --> ["cbl_0"] {QueryEnum#16} --> ["cbl2_3"] {QueryEnum#16} --> ["cbl2_0"] {QueryEnum#16} --> ["cbl2_2"] {QueryEnum#16} --> ["cbl2_4"] V/CouchbaseLite/QUERY: {QueryEnum#16} --> ["cbl2_1"] {QueryEnum#16} END I/CouchbaseLite/QUERY: End of query enumeration I/SERVER: Request URI: /database_getDocIds V/CouchbaseLite/QUERY: Query encoded as {"WHAT":[["._id"]],"OFFSET":0,"LIMIT":1000} I/CouchbaseLite/QUERY: {Query#17}==> N8litecore11SQLiteQueryE 0xd1615858 @0xd1615858 {Query#17} Compiling JSON query: {"WHAT":[["._id"]],"OFFSET":0,"LIMIT":1000} {Query#17} Compiled as SELECT fl_result(_doc.key) FROM kv_default AS _doc WHERE (_doc.flags & 1 = 0) LIMIT MAX(0, 1000) OFFSET MAX(0, 0) I/CouchbaseLite/QUERY: {QueryEnum#18}==> N8litecore21SQLiteQueryEnumeratorE 0xd161598c @0xd161598c {QueryEnum#18} Created on {Query#17} with 10 rows (154 bytes) in 0.024ms V/CouchbaseLite/QUERY: {QueryEnum#18} --> ["cbl_2"] {QueryEnum#18} --> ["cbl_1"] {QueryEnum#18} --> ["cbl_3"] {QueryEnum#18} --> ["cbl_4"] {QueryEnum#18} --> ["cbl_0"] V/CouchbaseLite/QUERY: {QueryEnum#18} --> ["cbl2_3"] {QueryEnum#18} --> ["cbl2_0"] {QueryEnum#18} --> ["cbl2_2"] {QueryEnum#18} --> ["cbl2_4"] {QueryEnum#18} --> ["cbl2_1"] {QueryEnum#18} END I/CouchbaseLite/QUERY: End of query enumeration I/SERVER: Request URI: /database_getDocuments I/SERVER: Request URI: /database_deleteDB I/CouchbaseLite/DATABASE: Deleting Database{@baa7ecd, name='copiedDB1565160128.73'} at path /data/user/0/com.couchbase.TestServerApp/files/copiedDB1565160128.73.cblite2/ V/CouchbaseLite/DATABASE: Preparing to delete DataFile /data/data/com.couchbase.TestServerApp/files/copiedDB1565160128.73.cblite2/db.sqlite3 V/CouchbaseLite/DATABASE: {DB#14} Pre-close housekeeping: 0 of 9 pages free (0%) {DB#14} SQLite::Database 0xd182c360 close deferred due to open sqlite_stmt: SELECT fl_result(_doc.key) FROM kv_default AS _doc WHERE (_doc.flags & 1 = 0) LIMIT MAX(0, 1000) OFFSET MAX(0, 0) {DB#14} SQLite::Database 0xd182c360 close deferred due to open sqlite_stmt: SELECT fl_result(_doc.key) FROM kv_default AS _doc WHERE (_doc.flags & 1 = 0) LIMIT MAX(0, 1000) OFFSET MAX(0, 0) {DB#14} Closed SQLite database I/CouchbaseLite/DATABASE: {DB#14} Closing database Deleting database file /data/data/com.couchbase.TestServerApp/files/copiedDB1565160128.73.cblite2/db.sqlite3 (with -wal and -shm) D/CouchbaseLite/DATABASE: ...finished deleting database file /data/data/com.couchbase.TestServerApp/files/copiedDB1565160128.73.cblite2/db.sqlite3 (with -wal and -shm) I/DBHANDLER: database deleted I/SERVER: Request URI: /database_exists I/SERVER: Request URI: /flushMemory I/SERVER: Request URI: /databaseConfiguration_configure I/SERVER: Request URI: /database_create I/CouchbaseLite/DATABASE: Opening Database{@7ec7a01, name='PrebuiltDB-encrypted'} at path /data/user/0/com.couchbase.TestServerApp/files/PrebuiltDB-encrypted.cblite2 {N8litecore8DataFile6SharedE#19}==> N8litecore8DataFile6SharedE 0xd076eb08 @0xd076eb08 {N8litecore8DataFile6SharedE#19} instantiated on /data/data/com.couchbase.TestServerApp/files/PrebuiltDB-encrypted.cblite2/db.sqlite3 D/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#19} created for DataFile 0xe5a18020 at /data/data/com.couchbase.TestServerApp/files/PrebuiltDB-encrypted.cblite2/db.sqlite3 I/CouchbaseLite/DATABASE: {DB#20}==> N8litecore14SQLiteDataFileE /data/user/0/com.couchbase.TestServerApp/files/PrebuiltDB-encrypted.cblite2/db.sqlite3 @0xe5a18020 {DB#20} Opening database V/CouchbaseLite/DATABASE: {DB#20} begin transaction V/CouchbaseLite/DATABASE: {DB#20} KeyStore(info) set versioning {DB#20} KeyStore(info) set publicUUID {DB#20} KeyStore(info) set privateUUID {DB#20} commit transaction V/CouchbaseLite/DATABASE: {DB#20} Next expiration time is 0 No pending doc expirations I/SERVER: Request URI: /database_saveDocuments I/art: Do partial code cache collection, code=61KB, data=46KB After code cache collection, code=60KB, data=46KB Increasing code cache capacity to 256KB V/CouchbaseLite/DATABASE: {DB#20} begin transaction V/CouchbaseLite/DATABASE: {DB#20} Saved 'cbl_2' rev #1-9fe1787166a305ea37b1c78c670862c48cf6fe20 as seq 1 V/CouchbaseLite/DATABASE: {DB#20} Saved 'cbl_1' rev #1-ae718c1ead3f5ab75750c8a6956dddf537272c91 as seq 2 V/CouchbaseLite/DATABASE: {DB#20} Saved 'cbl_3' rev #1-c643565472d017e75688af4e8fb15057a1e82495 as seq 3 V/CouchbaseLite/DATABASE: {DB#20} Saved 'cbl_4' rev #1-a5ac95bb716627fc57cae84bc2b6c5a941d64e8b as seq 4 V/CouchbaseLite/DATABASE: {DB#20} Saved 'cbl_0' rev #1-6f9ea860efa52455c4322b5ea38cac331ee51ac6 as seq 5 V/CouchbaseLite/DATABASE: {DB#20} KeyStore(info) set SharedKeys {DB#20} commit transaction I/SERVER: Request URI: /database_saveDocuments V/CouchbaseLite/DATABASE: {DB#20} begin transaction V/CouchbaseLite/DATABASE: {DB#20} Saved 'cbl2_3' rev #1-33c29b5a7bc26f9baa66f254d0d780d3695cbb3e as seq 6 V/CouchbaseLite/DATABASE: {DB#20} Saved 'cbl2_0' rev #1-bd47cf6505de50b341765639d25443711bcfecbe as seq 7 V/CouchbaseLite/DATABASE: {DB#20} Saved 'cbl2_2' rev #1-a7904fd394ee9ffdbdd663a4d28f5408db30351a as seq 8 V/CouchbaseLite/DATABASE: {DB#20} Saved 'cbl2_4' rev #1-8e4d38412c9f8c2456ff962e43afa16a35cb131a as seq 9 V/CouchbaseLite/DATABASE: {DB#20} Saved 'cbl2_1' rev #1-44a5da4b20b822a314147ddaaa8d45366b70976c as seq 10 V/CouchbaseLite/DATABASE: {DB#20} commit transaction I/SERVER: Request URI: /database_getCount I/SERVER: Request URI: /database_getPath I/SERVER: Request URI: /database_copy I/art: Starting a blocking GC Instrumentation I/CouchbaseLite/DATABASE: Copying prebuilt database from /data/user/0/com.couchbase.TestServerApp/files/PrebuiltDB-encrypted.cblite2/ to /data/user/0/com.couchbase.TestServerApp/files/new_copied_db.cblite2/ I/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#21}==> N8litecore8DataFile6SharedE 0xd076f408 @0xd076f408 {N8litecore8DataFile6SharedE#21} instantiated on /data/data/com.couchbase.TestServerApp/cache/CouchbaseLiteTemp/yknhxq/db.sqlite3 D/CouchbaseLite/DATABASE: {N8litecore8DataFile6SharedE#21} created for DataFile 0xe5a18d40 at /data/data/com.couchbase.TestServerApp/cache/CouchbaseLiteTemp/yknhxq/db.sqlite3 I/CouchbaseLite/DATABASE: {DB#22}==> N8litecore14SQLiteDataFileE /data/user/0/com.couchbase.TestServerApp/cache/CouchbaseLiteTemp/yknhxq/db.sqlite3 @0xe5a18d40 {DB#22} Opening database E/CouchbaseLite/DATABASE: SQLite error (code 26): file is not a database in "SELECT count(*) FROM sqlite_master" E/CouchbaseLite/DATABASE: {DB#22} Could not decrypt database with no encryption W/SERVER: Request failed java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at com.couchbase.CouchbaseLiteServ.server.Server.handle(Server.java:209) at org.nanohttpd.protocols.http.HTTPSession.execute(HTTPSession.java:418) at org.nanohttpd.protocols.http.ClientHandler.run(ClientHandler.java:75) at java.lang.Thread.run(Thread.java:761) Caused by: CouchbaseLiteException{CouchbaseLite,20,'file is not a database (or encryption key is invalid/missing)'} at com.couchbase.lite.CBLStatus.convertException(CBLStatus.java:81) at com.couchbase.lite.CBLStatus.convertException(CBLStatus.java:32) at com.couchbase.lite.AbstractDatabase.copy(AbstractDatabase.java:180) at com.couchbase.CouchbaseLiteServ.server.RequestHandler.DatabaseRequestHandler.copy(DatabaseRequestHandler.java:340) at java.lang.reflect.Method.invoke(Native Method)  at com.couchbase.CouchbaseLiteServ.server.Server.handle(Server.java:209)  at org.nanohttpd.protocols.http.HTTPSession.execute(HTTPSession.java:418)  at org.nanohttpd.protocols.http.ClientHandler.run(ClientHandler.java:75)  at java.lang.Thread.run(Thread.java:761)  Caused by: LiteCoreException{domain=1, code=20, msg=file is not a database (or encryption key is invalid/missing)} at com.couchbase.lite.internal.core.C4Database.copy(Native Method) at com.couchbase.lite.AbstractDatabase.copy(AbstractDatabase.java:169) at com.couchbase.CouchbaseLiteServ.server.RequestHandler.DatabaseRequestHandler.copy(DatabaseRequestHandler.java:340)  at java.lang.reflect.Method.invoke(Native Method)  at com.couchbase.CouchbaseLiteServ.server.Server.handle(Server.java:209)  at org.nanohttpd.protocols.http.HTTPSession.execute(HTTPSession.java:418)  at org.nanohttpd.protocols.http.ClientHandler.run(ClientHandler.java:75)  at java.lang.Thread.run(Thread.java:761)