Details
-
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
6.2.0 CE B3, 6.2.0 CE GA1, 6.2.10 EE GA1
-
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: ad3b66740fa51eadca9d0b391d25b2a669861338.
Firefox & IE
-
6.2.x
-
Committed
-
7
-
4
-
Firefox 23, Internet Explorer 10
-
Regression Bug
Description
Steps for reproduce:
- Use FF or IE
- Click Test Test -> My Account.
- Click Change under the avatar.
- Upload an image and click Save.
Expected result:
Upload avatar successfully.
Actual result:
Errors displayed on the console when I click Save. Upload image failed.
01:58:40,444 ERROR [http-bio-9080-exec-2][render_portlet_jsp:97] null
java.awt.image.RasterFormatException: (x + width) is outside of Raster
at sun.awt.image.ByteInterleavedRaster.createWritableChild(ByteInterleavedRaster.java:1245)
at java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1203)
at com.liferay.portlet.portalsettings.action.EditCompanyLogoAction.getCroppedRenderedImage(EditCompanyLogoAction.java:204)
at com.liferay.portlet.portalsettings.action.EditCompanyLogoAction.saveTempImageFile(EditCompanyLogoAction.java:260)
at com.liferay.portlet.usersadmin.action.EditUserPortraitAction.processAction(EditUserPortraitAction.java:63)
at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:166)
at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:216)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:618)
at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:649)
at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:312)
at com.liferay.portlet.MonitoringPortlet.processAction(MonitoringPortlet.java:184)
at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:402)
at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:110)
at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:108)
at com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandler.java:88)
at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler.java:56)
at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:75)
at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:114)
Attachments
Issue Links
- relates
-
LPE-15570 Upload avatar failed
-
- Closed
-