Rebuilding client libs error in acs-commons 6.5.21 | Community
Skip to main content
Level 3
February 27, 2025
Solved

Rebuilding client libs error in acs-commons 6.5.21

  • February 27, 2025
  • 2 replies
  • 568 views

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

Best answer by giuseppebaglio

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.

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.

2 replies

Harwinder-singh
Community Advisor
Community Advisor
February 27, 2025

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

ASP_CorpAuthor
Level 3
February 27, 2025

@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

giuseppebaglio
giuseppebaglioAccepted solution
Level 10
February 27, 2025

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.

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.