Expand my Community achievements bar.

SOLVED

Rebuilding client libs error in acs-commons 6.5.21

Avatar

Level 3

Hi,

When we rebuild our client libs it is failing at 2 libraries 

1) /apps/acs-commons/clientlibs/main.css...error: java.lang.StackOverflowError

2) /apps/acs-commons/clientlibs/main.min.css...error: java.lang.StackOverflowError

 

any help? we are in acs-aem-commons-all-6.4.0.zip version. and we just migrated to 6.5.21

1 Accepted Solution

Avatar

Correct answer by
Level 5

You can try to update the "HTML Library Manager" OSGi configuration as a workaround.

First, open the configuration settings at /system/console/configMgr. Look for the property named htmllibmanager.processor.js and change its value to min:yui.

Screenshot 2025-02-28 at 00.48.51.png

After that, navigate to /libs/granite/ui/content/dumplibs.rebuild.html to reinvalidate the libraries. Monitor the process to ensure it completes successfully. Once it's finished, you can first check that your site is working fine and revert the value of the property htmllibmanager.processor.js back to min:gcc.

View solution in original post

3 Replies

Avatar

Community Advisor

@ASP_Corp Probably some infinite recursion scenario and the stack is getting blown away. Do you see any more details in the error log?

Avatar

Level 3

@Harwinder-singh , thank you for the reply, rebuilding the client lib fixed the error. but now i see another error in another lib?, is this normal to fail when re-building client libs? now the error is at error: java.io.IOException: Error while reading cached library: javax.jcr.RepositoryException: Error during assembly of /apps/settings/wcm/designs/myproject/clientlib-site.js

Avatar

Correct answer by
Level 5

You can try to update the "HTML Library Manager" OSGi configuration as a workaround.

First, open the configuration settings at /system/console/configMgr. Look for the property named htmllibmanager.processor.js and change its value to min:yui.

Screenshot 2025-02-28 at 00.48.51.png

After that, navigate to /libs/granite/ui/content/dumplibs.rebuild.html to reinvalidate the libraries. Monitor the process to ensure it completes successfully. Once it's finished, you can first check that your site is working fine and revert the value of the property htmllibmanager.processor.js back to min:gcc.