Details

      Description

      Steps for reproduce:

      1. Use FF or IE
      2. Click Test Test -> My Account.
      3. Click Change under the avatar.
      4. 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

            Activity

              People

              Assignee:
              yunlin.sun Yunlin "Steven" Sun
              Reporter:
              yunlin.sun Yunlin "Steven" Sun
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 41 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M3