Problem introduced in driver version 3.0.1.
Drivers used: mongo-driver-code-3.0.1, mongo-driver-3.0.1, bson-3.0.1
Trying to save a file to a GridFS database give the following error: com.mongodb.MongoException: couldn't save chunks
Caused by: java.io.IOException: Stream Closed
for this one:
as in older versions.
I do not know the reason for the changes in the 3.0.1 version. I did some tests after the changes and it seems it do not affect the rest of the class.
This is my first post. I'm new to MongoDb, so excuse me if I did something wrong in this post.