Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

var/commerce/products scroll issue in column view after SP 6.4.7

Level 3
Level 3

We are using AEM 6.4 and recently installed Service pack 6.4.7. Since after that, product UI(/var/commerce/products/) scroll in column view is not working if you have a huge list of products(1400+)

The only error I am seeing is as below:


*ERROR* [ [1594219579524] GET /var/commerce/products/test/report/webAsset.thumbnailAsset.319.png/1592540110195.png HTTP/1.1] service: Uncaught Problem handling the request
javax.imageio.IIOException: No decoder available to load the image
at<init>( [day-commons-gfx:2.1.48]
at<init>( [day-commons-gfx:2.1.48]
at<init>( [day-commons-gfx:2.1.48]
at []
at []
at servlet.TestImageServlet.writeLayer(
at servlet.TestImageServlet.doGet(


Code Reference:



public class ProductImageServlet extends AbstractImageServlet {

protected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response)
throws ServletException, IOException {

//Instead of using req to get the resource, we will use resource resolver using system user.
ResourceResolver resourceResolver = ResourceResolverUtil.getResourceResolver(resourceResolverFactory);
try {
     String type = getImageType(request.getRequestPathInfo().getExtension());
       if (type == null) {
        response.sendError(404, "Image type not supported");
     ImageContext context = ImageContext(resourceResolver, type, request.getResource().getPath());
     Layer layer = createLayer(request.getResource(), resourceResolver);

     writeLayer(request, response, context, layer); //failing in Line 91




protected void writeLayer(SlingHttpServletRequest req, SlingHttpServletResponse resp, ImageContext context, Layer layer)
throws IOException, RepositoryException {

Image image = new Image(context.resource);


if ((image == null) || (!image.hasContent())) {
LOG.debug("The imagecontext has Content boolean : {}" , image.hasContent());
LOG.debug("The imageContext is {}" , context.toString());

// get pure layer
layer = image.getLayer(false, false, false);  // Failing in this line - Line 191


This same app code is working fine when we uninstall SP 6.4.7 and point to SP 6.4.3.

Can anyone help what is wrong here? and why product ui scroll is not working? When we scroll, it will load products and after two scrolls rest of the products are not getting loaded, that is the issue.


Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

There were some known issue related to scrolling in column view not loading all the items (when we have multiple items to display), but that's for XF UI. It seems to be a product issue, please open a case with Adobe team to check further.