Hi,
I am no longer able to import images (basic small JPEG file) successfully due to the error dump below .. This used to work and I have already images in the system that preview (and were also imported via drag-and-drop using the same browser) to prove it
I also saw this similar (but not exact) question .. and the guy who logged that question seemed to have resolved his issues by modifying the code and or replacing some java libraries .. I hope this is not the only way this can be resolved.
I also asked the question linked here .. and I am not sure if the current issues I am having with image uploads/preview could be connected to not having a completely updated system.
How do I go about troubleshooting this ? Any suggestions would be much appreciated. Thanks in advance.
2014-02-07 12:46:35,226 WARN [Nuxeo-Work-pictureViewsGeneration-1] [it.tidalwave.image.java2d.ImplementationFactoryJ2D] JAI not available: java.lang.ClassNotFoundException: javax.media.jai.PlanarImage
2014-02-07 12:46:35,333 ERROR [Nuxeo-Work-pictureViewsGeneration-1] [it.tidalwave.image.EditableImage] Cannot load EXIF metadata: javax.imageio.IIOException: Inconsistent metadata read from stream
2014-02-07 12:46:36,540 ERROR [Nuxeo-Work-pictureViewsGeneration-1] [it.tidalwave.image.EditableImage] Cannot load EXIF metadata: javax.imageio.IIOException: Inconsistent metadata read from stream
2014-02-07 12:46:36,786 ERROR [Nuxeo-Work-pictureViewsGeneration-1] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: PictureViewsGenerationWork(27beb097-4b32-4da5-8565-2b9b241446fa, , Progress(?%, ?/0), Saving)
org.nuxeo.ecm.core.api.ClientException: Failed to save document DocumentModelImpl(27beb097-4b32-4da5-8565-2b9b241446fa, path=/asset-library/religious-people.jpg, title=religious-people.jpg)
at org.nuxeo.ecm.core.api.AbstractSession.saveDocument(AbstractSession.java:1996)
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:744)
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:1177)
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:1968)
... 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:1175)
... 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)