Hello. We’re getting this error on a Sync Gateway console when requesting a document with several conflicts from our mobile app, which crashes after getting the error. Does this look familiar to anyone?
2016-12-01T08:27:23.732-05:00 Changes+: MultiChangesFeed waiting... (to doc_4322ddd7515d4a55a1c6f03565015c97)
2016-12-01T08:27:23.733-05:00 Changes+: Waiting for "zm_database"'s count to pass 153
2016-12-01T08:27:23.732-05:00 Changes: sending 1 change(s)
2016-12-01T08:27:23.808-05:00 HTTP: #706: POST /zm_database/_bulk_get?revs=true&attachments=true (as doc_4322ddd7515d4a55a1c6f03565015c97)
2016-12-01T08:27:23.890-05:00 HTTP: #707: POST /zm_database/_bulk_get?revs=true&attachments=true (as doc_4322ddd7515d4a55a1c6f03565015c97)
2016-12-01T08:27:24.414-05:00 HTTP: #708: POST /zm_database/_bulk_get?revs=true&attachments=true (as doc_4322ddd7515d4a55a1c6f03565015c97)
2016-12-01T08:27:27.638-05:00 HTTP: #709: PUT /zm_database/_local/95782a2f8cac657eaab4dc694e9386bb85063ecc (as doc_4322ddd7515d4a55a1c6f03565015c97)
2016-12-01T08:27:27.640-05:00 HTTP+: #709: --> 201 (3.0 ms)
2016-12-01T08:27:29.407-05:00 HTTP: #710: PUT /zm_database/_local/1166ff49b87bd73d756a6ce47244d139078bee45 (as doc_4322ddd7515d4a55a1c6f03565015c97)
2016-12-01T08:27:29.409-05:00 HTTP+: #710: --> 201 (3.0 ms)
2016-12-01T08:27:30.402-05:00 CRUD+: No old revision "-9m2-0QlNOaGVH9qaEQUKnf" / "8-66567699bc9e2fb6c6b212a06107a0ee"
2016-12-01T08:27:30.761-05:00 HTTP+: #708: --> 200 (6369.3 ms)
2016-12-01T08:27:31.918-05:00 HTTP: #711: POST /zm_database/_bulk_get?revs=true&attachments=true (as doc_4322ddd7515d4a55a1c6f03565015c97)
2016/12/01 08:27:32 http: panic serving 10.10.2.69:49758: interface conversion: interface is nil, not string
goroutine 1033 [running]:
net/http.(*conn).serve.func1(0xc088840000, 0x1d64030, 0xc082056f58)
c:/go/src/net/http/server.go:1287 +0xbc
github.com/couchbase/sync_gateway/db.(*Database).loadBodyAttachments(0xc08ee8a9c0, 0xc08b98a540, 0x1, 0xc, 0x0, 0x0)
c:/jenkins/workspace/sync-gateway-dev-build/app-under-test/sync_gateway/src/github.com/couchbase/sync_gateway/db/attachment.go:123 +0x293
github.com/couchbase/sync_gateway/db.(*Database).GetRev(0xc08ee8a9c0, 0xc08ee8aac0, 0x17, 0xc08e75d0b0, 0x23, 0x1, 0xc08f13f350, 0x0, 0x0, 0xc08e75de90, ...)
c:/jenkins/workspace/sync-gateway-dev-build/app-under-test/sync_gateway/src/github.com/couchbase/sync_gateway/db/crud.go:166 +0xa78
github.com/couchbase/sync_gateway/rest.(*handler).handleBulkGet.func1(0xc08e75de30, 0x0, 0x0)
c:/jenkins/workspace/sync-gateway-dev-build/app-under-test/sync_gateway/src/github.com/couchbase/sync_gateway/rest/bulk_api.go:364 +0x6dd
github.com/couchbase/sync_gateway/rest.(*handler).writeMultipart(0xc086796360, 0xd96c50, 0x5, 0xc08f13f798, 0x0, 0x0)
c:/jenkins/workspace/sync-gateway-dev-build/app-under-test/sync_gateway/src/github.com/couchbase/sync_gateway/rest/handler.go:516 +0x3a1
github.com/couchbase/sync_gateway/rest.(*handler).handleBulkGet(0xc086796360, 0x0, 0x0)
c:/jenkins/workspace/sync-gateway-dev-build/app-under-test/sync_gateway/src/github.com/couchbase/sync_gateway/rest/bulk_api.go:380 +0x49f
github.com/couchbase/sync_gateway/rest.(*handler).invoke(0xc086796360, 0xfd4d20, 0x0, 0x0)
c:/jenkins/workspace/sync-gateway-dev-build/app-under-test/sync_gateway/src/github.com/couchbase/sync_gateway/rest/handler.go:201 +0x7bb
github.com/couchbase/sync_gateway/rest.makeHandler.func1(0x3317c0, 0xc08206ac60, 0xc08ab95420)
c:/jenkins/workspace/sync-gateway-dev-build/app-under-test/sync_gateway/src/github.com/couchbase/sync_gateway/rest/handler.go:90 +0x7e
net/http.HandlerFunc.ServeHTTP(0xc0820364c0, 0x3317c0, 0xc08206ac60, 0xc08ab95420)
c:/go/src/net/http/server.go:1422 +0x41
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0823a2550, 0x3317c0, 0xc08206ac60, 0xc08ab95420)
c:/jenkins/workspace/sync-gateway-dev-build/app-under-test/sync_gateway/src/github.com/gorilla/mux/mux.go:86 +0x2ad
github.com/couchbase/sync_gateway/rest.wrapRouter.func1(0x3317c0, 0xc08206ac60, 0xc08ab95420)
c:/jenkins/workspace/sync-gateway-dev-build/app-under-test/sync_gateway/src/github.com/couchbase/sync_gateway/rest/routing.go:301 +0x334
net/http.HandlerFunc.ServeHTTP(0xc08230a320, 0x3317c0, 0xc08206ac60, 0xc08ab95420)
c:/go/src/net/http/server.go:1422 +0x41
net/http.serverHandler.ServeHTTP(0xc082327800, 0x3317c0, 0xc08206ac60, 0xc08ab95420)
c:/go/src/net/http/server.go:1862 +0x1a5
net/http.(*conn).serve(0xc088840000)
c:/go/src/net/http/server.go:1361 +0xbf5
created by net/http.(*Server).Serve
c:/go/src/net/http/server.go:1910 +0x3fd
Thanks!