The image is actually stored on disk in \deployment\data\files in the related subfolder by identifier of the object, so even if the object is in the database, it could still be missing there. That's also what the exception indicates, that it can't find the actual file on disk that's supposed to be there.
The cause of this eludes me though. Normally when an image object is deleted from the database, the relevant file is also deleted. But because the record seems to be there, I don't know why this would happen. Is there anything you do manually in terms of copying application folders around or something similar? Perhaps even backupping the deployment folder and database individually while running the application?
I am bumping this because OP pretty much exactly describes my problem. We had System.Images associated with Users and now we cannot see the images. I get this error:
The file 'b32a6010-884b-4a44-ad97-xxxxxxxxxxx' could not be found.
com.mendix.systemwideinterfaces.MendixRuntimeException: FileDataStore:: File does not exist: 14775
at com.mendix.storage.localfilesystem.internal.LocalFileSystemStore.com$mendix$storage$localfilesystem
I tried retrieving the file from the specialised System.Image entity by the name 'b32a6010-884b-4a44-ad97-xxxxxxxxxxx' and I can find it and it does have contents. If I search for this file on my system, I also find it in /deployment/data/files
However, in the app itself, the image does not show.
Is a reference to the file broken or something? Any idea on how I can resolve this?
Thank you
I have exactly the same problem. Anybody?