java.awt.image.RasterFormatException

(x + width) is outside of Raster

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web52

  • (x + width) is outside of Raster
  • (x + width) is outside of Raster
  • (x + width) is outside of Raster
  • Stack trace

    • 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.day.image.Layer.crop(Layer.java:1569) at com.day.cq.commons.ImageResource.crop(ImageResource.java:553) at com.adobe.acs.commons.images.impl.NamedTransformImageServlet.getLayer(NamedTransformImageServlet.java:423) at com.adobe.acs.commons.images.impl.NamedTransformImageServlet.doGet(NamedTransformImageServlet.java:214) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:269)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago