Error Reading Image File in Liferay Document Library

Issue

  • I am getting the following error in the console log for an unidentified image:
ERROR [https-jsse-nio-443-exec-7][ImageImpl:69] Error reading image 54130
com.liferay.document.library.kernel.exception.NoSuchFileException:
{companyId=0, repositoryId=0, fileName=54130.gif, cause=java.io.FileNotFoundException:
C:\Liferay7.2\liferay-dxp-tomcat-7.3.10-ga1\liferay-dxp-7.3.10-ga1\data\document_library\0\0\54130.gif\1.0
(The system cannot find the path specified)}

Environment

  • DXP 7.0
  • DXP 7.1
  • DXP 7.2
  • DXP 7.3
  • DXP 7.4

Resolution

  • Copy and Rename one of the existing logo image files in the [Tomcat_Home]\data\document library\0\0\  folder to be the same as the file name it claims it cannot find. For example: 12345.gif

Additional Information 

  • Based on the file path and file name the system is essentially looking for a default Liferay image file that no longer exists. This happens sometimes as a result of upgrades that still have some memory of older versions of the site.
  • This does not constitute any major concern and could be safely ignored, but of course, if you prefer to have no errors hanging over your bundle the resolution above is the way to go. 
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助