Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-37433

com.liferay.portal.image.ImageToolImpl.encodeGIF fails on updated JDK

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed

      Description

      When launching LP 6.1 GA2 on a JDK/JRE 7 U 25 (june 2013), we have an error on com.liferay.portal.image.ImageToolImpl.encodeGIF() :

      java.awt.image.RasterFormatException: Incorrect scanline stride: 32
      at sun.awt.image.ByteComponentRaster.verify(ByteComponentRaster.java:894)

      (full stack trace on attachment)

      I think it comes from a change in the JDK, dating of april 2013 (post JDK 7U15), correcting the security alert CVE-2013-0809.

      (cf : http://hardik05.wordpress.com/category/java-0-day-analysis/)

      The only workaround I see is to deploy on apas JDK (7U15 seem fine)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 4 days ago