You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a warning every time I save a blob in my model:
10:19:51,968 WARN ~ error load blob by key[MyStoredBlob_53971403a31057eb1c0aefd6]
java.io.IOException: File is a directory or not readable
at org.osgl.storage.impl.SObject.of(SObject.java:156)
at org.osgl.storage.impl.SObject.valueOf(SObject.java:166)
at org.osgl.storage.impl.FileSystemService.get(FileSystemService.java:84)
at play.modules.morphia.BlobStorageService.get(BlobStorageService.java:172)
at play.modules.morphia.Blob.load(Blob.java:179)
at models.MyBlob.loadBlobs(MyBlob.java)
at play.modules.morphia.Model._h_Loaded(Model.java:950)
at play.modules.morphia.MorphiaPlugin$1.postLoad(MorphiaPlugin.java:588)
at org.mongodb.morphia.mapping.MappedClass.callGlobalInterceptors(MappedClass.java:458)
at org.mongodb.morphia.mapping.MappedClass.callLifecycleMethods(MappedClass.java:421)
at org.mongodb.morphia.mapping.Mapper.fromDb(Mapper.java:597)
at org.mongodb.morphia.mapping.Mapper.fromDBObject(Mapper.java:296)
at org.mongodb.morphia.query.MorphiaIterator.convertItem(MorphiaIterator.java:78)
at org.mongodb.morphia.query.MorphiaIterator.processItem(MorphiaIterator.java:65)
at org.mongodb.morphia.query.MorphiaIterator.next(MorphiaIterator.java:60)
at org.mongodb.morphia.query.QueryImpl.get(QueryImpl.java:415)
at play.modules.morphia.Model$MorphiaQuery.get(Model.java:1580)
at play.modules.morphia.Model.findById(Model.java:747)
at models.MyBlob.findById(MyBlob.java)
at controllers.StorageApi.saveMyBlob(StorageApi.java:158)
at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:557)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:508)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:484)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:479)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:161)
at Invocation.HTTP Request(Play!)
The file is committed to the file system just fine and I can retrieve it.
The file is in a time stamped directory and has the file extension. I suspect the key fed to the osgl reader is missing the directory or the file extension.
#117 closed already, so you mean the issue is still there? Or the fix to #117 caused this issue? Sorry I don't have too much time on play-morphia for the moment
Version: Play-morphia 1.5.0a
I get a warning every time I save a blob in my model:
The file is committed to the file system just fine and I can retrieve it.
The file is in a time stamped directory and has the file extension. I suspect the key fed to the osgl reader is missing the directory or the file extension.
My configuration:
The text was updated successfully, but these errors were encountered: