2014-01-21 15:37:41,248 ERROR [Nuxeo-Work-pictureViewsGeneration-6] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: PictureViewsGenerationWork(79ae51f8-2750-4384-9e19-3ea037d84988, , Progress(?%, ?/0), Saving) org.nuxeo.ecm.core.api.ClientException: Failed to save document DocumentModelImpl(79ae51f8-2750-4384-9e19-3ea037d84988, path=/default-domain/UserWorkspaces/Administrator/ciboulette.jpg, title=ciboulette.jpg) at org.nuxeo.ecm.core.api.AbstractSession.saveDocument(AbstractSession.java:2015) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:136) at com.sun.proxy.$Proxy101.saveDocument(Unknown Source) at org.nuxeo.ecm.platform.picture.PictureViewsGenerationWork.work(PictureViewsGenerationWork.java:86) at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:65) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: org.nuxeo.ecm.core.api.DocumentException: org.nuxeo.ecm.core.storage.StorageException: java.io.IOException: Stream Closed at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getBinary(SQLSession.java:1188) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLContentProperty.setValue(SQLContentProperty.java:80) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLComplexProperty.setValue(SQLComplexProperty.java:101) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLComplexListProperty.setList(SQLComplexListProperty.java:278) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLComplexListProperty.setValue(SQLComplexListProperty.java:86) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLComplexProperty.setPropertyValue(SQLComplexProperty.java:222) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.writeDocumentPart(SQLDocumentLive.java:178) at org.nuxeo.ecm.core.api.DocumentModelFactory.writeDocumentModel(DocumentModelFactory.java:298) at org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:557) at org.nuxeo.ecm.core.api.AbstractSession.saveDocument(AbstractSession.java:1987) ... 11 more Caused by: org.nuxeo.ecm.core.storage.StorageException: java.io.IOException: Stream Closed at org.nuxeo.ecm.core.storage.sql.SessionImpl.getBinary(SessionImpl.java:334) at org.nuxeo.ecm.core.storage.sql.ra.ConnectionImpl.getBinary(ConnectionImpl.java:169) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getBinary(SQLSession.java:1186) ... 20 more Caused by: java.io.IOException: Stream Closed at java.io.FileInputStream.available(Native Method) at org.nuxeo.ecm.core.storage.sql.AbstractBinaryManager.storeAndDigest(AbstractBinaryManager.java:97) at org.nuxeo.ecm.core.storage.sql.LocalBinaryManager.storeAndDigest(LocalBinaryManager.java:176) at org.nuxeo.ecm.core.storage.sql.LocalBinaryManager.getBinary(LocalBinaryManager.java:114) at org.nuxeo.ecm.core.storage.sql.SessionImpl.getBinary(SessionImpl.java:332) ... 22 more