-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 5.2.3, 5.2.9 EE, 6.0.6 GA, 6.0.11 EE
-
Fix Version/s: 5.2.X EE, --Sprint - SP, 6.0.12 EE, 6.1.0 CE RC1
-
Component/s: ~[Archived] WCM
-
Labels:
-
Environment:Liferay Portal 5.2x + Tomcat 6.0
-
Branch Version/s:6.0.x, 5.2.x
-
Backported to Branch:Committed
In portal-ext.properties:
image.default.company.logo=logo2.png
There is no logo2.png anywhere. When I start tomcat and open localhost:8080 page, the following exception is thrown:
05:42:54,649 ERROR [ImageLocalServiceImpl:78] Default company logo is not available
05:42:54,701 ERROR [ContextLoader:215] Context initialization failed
...
Caused by: java.lang.NullPointerException
at com.sun.media.jai.codecimpl.PNMCodec.isFormatRecognized(PNMCodec.java:152)
at com.liferay.portal.image.ImageProcessorImpl.read(ImageProcessorImpl.java:197)
at com.liferay.portal.kernel.image.ImageProcessorUtil.read(ImageProcessorUtil.java:69)
at com.liferay.portal.service.impl.ImageLocalServiceImpl.getImage(ImageLocalServiceImpl.java
:337)
at com.liferay.portal.service.impl.ImageLocalServiceImpl.getImage(ImageLocalServiceImpl.java
:222)
at com.liferay.portal.service.impl.ImageLocalServiceImpl.afterPropertiesSet(ImageLocalServic
eImpl.java:81)
...
The logs display that server startup, but portal can't startup in fact.
Note:This issue only occur in Liferay 5.2.x
- relates
-
LPE-4902 Missing default company logo is not handled properly
-
- Closed
-