Com.couchbase.lite.CouchbaseLiteException: read failed: EBADF (Bad file number) + Document.update - java.lang.NullPointerException

@hideki,

No i can’t reconsider it. I have supplied you a lot of information.

My company and myself are preparing the release of the app before the end of the year. And it is a confidential project.

What i can tell you is that we choosed couchbase Mobile as it seemed reliable and one of the best in terms of performance.
But we are rather disappointed of the situation and to not obtain efficient support on this SIMPLE need.

After the launch, we were aimaing to subscribe to Enterprise editions, and eventually, to ask Couchbase some contracts and training on architecture/data management and deployment as the app could lead us to IMPORTANT needs.

But if we can’t have support on such a simple feature as adding an attachment, maybe my company will have to re-consider the database solution for our project.

We just want to upload an attachment to a document via an ASYNCTASK.
As i told you, the upload attachment code i gave you works.
The revision arrives to servers and the attachment is correctly saved.
But no more revision can be done until app is restarted = so i guess that closing the CBlite local databate and manager “solve” the issue.

Can you re-consider giving us a solution to do that ?