Details
-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
2.7.0
-
Security Level: Public
-
None
-
Blake 27
-
5
Description
I have been experiencing an intermittent issue with Blobs in the past few days. We have recently upgraded to Couchbase 2.6.2 in one of our Android products from Couchbase 1.4, and occasionally when a new document with a Blob (Attachment) is added to the database, the following exception is thrown by Couchbase.
E/CouchbaseLite/DATABASE: Failed to obtain content from BlobStore. digest=sha1-okx6R09eHAUoJT8krhJvNWT8Kkc=: LiteCoreException{domain=1, code=7, msg=No such file or directory}
|
E/PageView$PageThread: Exception drawing overlay
|
java.lang.IllegalStateException: Failed to obtain content from BlobStore. digest=sha1-okx6R09eHAUoJT8krhJvNWT8Kkc=
|
at com.couchbase.lite.Blob.getBytesFromDatabase(Blob.java:588)
|
at com.couchbase.lite.Blob.getContent(Blob.java:300)
|
at com.[redacted].Attachment.getContent(Attachment.java:44)
|
at com.[redacted].ImageRenderer.draw(ImageRenderer.java:45)
|
at com.[redacted].BackgroundRenderer.draw(BackgroundRenderer.java:50)
|
at com.[redacted].ui.widget.overlay.BackgroundOverlay.draw(BackgroundOverlay.java:75)
|
at com.[redacted].ui.widget.PageView$PageThread.run(PageView.java:492)
|
Caused by: LiteCoreException{domain=1, code=7, msg=No such file or directory}
|
at com.couchbase.lite.internal.core.C4BlobStore.getContents(Native Method)
|
at com.couchbase.lite.internal.core.C4BlobStore.getContents(C4BlobStore.java:102)
|
at com.couchbase.lite.Blob.getBytesFromDatabase(Blob.java:572)
|
at com.couchbase.lite.Blob.getContent(Blob.java:300)
|
at com.[redacted].Attachment.getContent(Attachment.java:44)
|
at com.[redacted].ImageRenderer.draw(ImageRenderer.java:45)
|
at com.[redacted].BackgroundRenderer.draw(BackgroundRenderer.java:50)
|
at [redacted].widget.overlay.BackgroundOverlay.draw(BackgroundOverlay.java:75)
|
at com.[redacted].ui.widget.PageView$PageThread.run(PageView.java:492)
|
Original issue: https://github.com/couchbase/couchbase-lite-java-ce-root/issues/5