adobe / aem-core-wcm-components

Standardized components to build websites with AEM.
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/introduction.html
Apache License 2.0
723 stars 737 forks source link

Drag and drop on image or container results in error Couldn't read magic numbers to guess format. #2774

Open shajiahmed opened 3 weeks ago

shajiahmed commented 3 weeks ago

Bug Report

Current Behavior Drag and drop a component results in error 05.06.2024 00:07:40.877 ERROR [[0:0:0:0:0:0:0:1] [1717560460846] GET /content/we-retail/us/en/test-content/jcr%3acontent/root/responsivegrid/image_2055121917.coreimg.82.128.png/1717560460594.png HTTP/1.1] com.day.cq.wcm.core.impl.WCMDebugFilter Exception: Couldn't read magic numbers to guess format. java.lang.IllegalArgumentException: Couldn't read magic numbers to guess format. at org.apache.commons.imaging.Imaging.guessFormat(Imaging.java:217) [org.apache.commons.commons-imaging:1.0.0.alpha3] at org.apache.commons.imaging.internal.Util.getImageParser(Util.java:59) [org.apache.commons.commons-imaging:1.0.0.alpha3] at org.apache.commons.imaging.Imaging.getBufferedImage(Imaging.java:839) [org.apache.commons.commons-imaging:1.0.0.alpha3] at org.apache.commons.imaging.Imaging.getBufferedImage(Imaging.java:835) [org.apache.commons.commons-imaging:1.0.0.alpha3] at com.day.cq.dam.commons.handler.StandardImageHandler.getImage(StandardImageHandler.java:245) [com.day.cq.dam.cq-dam-commons:5.12.174] at com.day.cq.dam.commons.handler.StandardImageHandler.getImage(StandardImageHandler.java:220) [com.day.cq.dam.cq-dam-commons:5.12.174] at com.adobe.cq.wcm.core.components.internal.servlets.AdaptiveImageServlet.transformAndStreamAsset(AdaptiveImageServlet.java:401) [com.adobe.cq.core.wcm.components.core:2.3.2] Expected behavior/code A clear and concise description of what you expected to happen.

Environment

Possible Solution

Additional context / Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.