Expand my Community achievements bar.

6.3 Authoring stopped working.

Avatar

Level 5

Hey guys,

 

Yesterday authoring stopped working in the middle of the day. No changes had been made that we are aware of. 

 

Navigating to the page through sites.html seems to work find but when you select a page and click edit, you just get a blank screen. Chrome's dev-tools shows the following errors:

Screen Shot 2020-04-22 at 10.11.44.png

When I look through the author logs, I see these exceptions:

 

2020-04-22 08:34:09,783 *ERROR* [96.37.61.251 [1587562449589] GET /libs/clientlibs/granite/richtext.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl Error during assembly of library.
org.mozilla.javascript.EvaluatorException: Compilation produced 27 syntax errors.
	at com.adobe.granite.ui.clientlibs.impl.YUIScriptProcessor$1.runtimeError(YUIScriptProcessor.java:146)
	at org.mozilla.javascript.Parser.parse(Parser.java:396)
	at org.mozilla.javascript.Parser.parse(Parser.java:340)
	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:315)
	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:536)
	at com.adobe.granite.ui.clientlibs.impl.YUIScriptProcessor.minifyJS(YUIScriptProcessor.java:122)
	at com.adobe.granite.ui.clientlibs.impl.YUIScriptProcessor.process(YUIScriptProcessor.java:117)
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryBuilderImpl.processSources(HtmlLibraryBuilderImpl.java:122)
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryBuilderImpl.processSources(HtmlLibraryBuilderImpl.java:87)
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryBuilderImpl.build(HtmlLibraryBuilderImpl.java:135)
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.update(HtmlLibraryManagerImpl.java:1411)
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.getOrCreateCacheResource(HtmlLibraryManagerImpl.java:1352)
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.send(HtmlLibraryManagerImpl.java:1283)
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryWriter.send(HtmlLibraryWriter.java:571)
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryImpl.send(HtmlLibraryImpl.java:170)
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryServlet.doGet(HtmlLibraryServlet.java:91)
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:266)
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:342)
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:374)
	at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552)
	at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:77)
	...
2020-04-22 08:34:09,784 *INFO* [96.37.61.251 [1587562449589] GET /libs/clientlibs/granite/richtext.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Invalidating library /libs/clientlibs/granite/richtext
2020-04-22 08:34:09,793 *INFO* [96.37.61.251 [1587562449589] GET /libs/clientlibs/granite/richtext.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl detected [JS, CSS] library: /libs/clientlibs/granite/richtext, sourced from 50 files.
2020-04-22 08:34:09,793 *ERROR* [96.37.61.251 [1587562449589] GET /libs/clientlibs/granite/richtext.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl Error while saving changes: javax.jcr.RepositoryException: Error during assembly of /libs/clientlibs/granite/richtext.js. reverting.
2020-04-22 08:34:09,793 *ERROR* [96.37.61.251 [1587562449589] GET /libs/clientlibs/granite/richtext.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl Error while sending cached library: javax.jcr.RepositoryException: Error during assembly of /libs/clientlibs/granite/richtext.js
2020-04-22 08:34:09,794 *ERROR* [96.37.61.251 [1587562449589] GET /libs/clientlibs/granite/richtext.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.HtmlLibraryServlet Cannot create library for /libs/clientlibs/granite/richtext.min.js
java.io.IOException: Error while sending cached library: javax.jcr.RepositoryException: Error during assembly of /libs/clientlibs/granite/richtext.js
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.send(HtmlLibraryManagerImpl.java:1301)
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryWriter.send(HtmlLibraryWriter.java:571)
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryImpl.send(HtmlLibraryImpl.java:170)
	at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryServlet.doGet(HtmlLibraryServlet.java:91)
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:266)
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:342)
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:374)
	at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552)
	at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:77)
	at com.adobe.acs.commons.wcm.impl.ComponentErrorHandlerImpl.doFilter(ComponentErrorHandlerImpl.java:192)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
	at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:138)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
	at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:375)
	at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:190)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
	at com.day.cq.wcm.core.impl.PageLockFilter.doFilter(PageLockFilter.java:91)
	..

 

Any help is much appreciated!!! 

12 Replies

Avatar

Community Advisor

Hi,

Is it resolved? 



Arun Patidar

Avatar

Level 5
Yes, but it wasn't me who resolved it.It was a coworker. I'll ask him what he did so I can post a solution.

Avatar

Administrator
@jkpanera Please share the solution for posterity.


Kautuk Sahni

Avatar

Level 2

@jkpanera - Could you please share the solution. 

Even we are facing the same problem on AEM 6.5.

 

Thank you for your time.

Avatar

Level 2

@jkpanera Could you share your solution? I'm facing the same issue, WIN10, 64 system, JDK11

 

@arunpatidar Arun, do you have any ideas on this?

Avatar

Level 2

@eamon-zhang @Jeanmaradiaga @kautuk_sahni @arunpatidar 

 

Please try using Google Closure Compiler (GCC) for minification.

 

Steps:

---------

1) Go to /system/console/configMgr/com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl

2) Set the value of property "JS Processor Default Configs" to "min:gcc;obfuscate=true"

3) Set the value of property "CSS Processor Default Configs" to "min:gcc;obfuscate=true"

 

I hope this helps. Please try and confirm.

Avatar

Level 4

I had the old broken environment saved so I can confirm this did work for me.

Avatar

Level 2

Thanks for sharing, it was not solved, I tried to rebuild all the clientlibs with this rebuild tool, but the error still was happened.

http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html

 

building /libs/clientlibs/granite/richtext.min.js...error: java.io.IOException: Error while reading cached library: javax.jcr.RepositoryException: Error during assembly of /libs/clientlibs/granite/richtext.js

 

building /libs/clientlibs/granite/richtext/core.min.js...error: java.io.IOException: Error while reading cached library: javax.jcr.RepositoryException: Error during assembly of /libs/clientlibs/granite/richtext/core.js

 

 

Avatar

Level 2

Hi @eamon-zhang ,

 

Please try following steps:

 

1) After making the suggested changes mentioned in my initial comment, restart your AEM           instance.

2) Once AEM is up and running, visit             http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html

3) Click on "Invalidate Caches" button.

4) Then click on "Rebuild Libraries" button.

5) Once above step is completed, open page in a Chrome incognito mode ( private mode ) so that browser cache is not used.

 

Please try and confirm. 

 

Best Regards,

Ananta

Avatar

Level 1

I couldn't find com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl now, but I saw it before, it's stange. but now I can find Adobe Granite HTML Library Manager

habu2046_2-1645059544801.png

 

habu2046_1-1645059173874.png

set the value of property "JS Processor Default Configs" to "min:gcc;obfuscate=true", but this didn't work for me.

 

However, I tried to add  jsProcessor in CRXDE on this node "/libs/clientlibs/granite/richtext", it was resolved.

habu2046_3-1645059752512.png