i want to create an image whit the follow code: cms.createResource("/system/"+f.getName,CmsResourceTypeImage.getStaticTypeId (),content,Collections.EMPTY_LIST); cms is a CmsObject object f is a File object content is a content of the file when the istruction is invoked... his result is null!!! why??? can you help me?