Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Uncaught RangeError: Maximum call stack size exceeded

Avatar

Level 4

I can't tell what is causing this error in my AEM 6.1 instances.

I hate asking for help in cases where there is no clear way to recreate the problem, because half the time I load the page, it doesn't error out, but the other half of the time it does.

I am really looking for any advice to help DEBUG the issue. I have googled it and it appears I am not the only one having the issue, but that it mainly has to do with the multifield.

Anyone out there seeing this javascript error and/op found a solution to it or have an approach to debug it?

-Tyler

6 Replies

Avatar

Employee

What do you in the logfile at the time it is happening?

Also can you share details like java-version and other details you might have.

Avatar

Level 10

I have seen this browser error previously. Can you install SP1

Also clearing browser and AEM cache should solve this.

Avatar

Level 4

Readding deleted comment:

AEM Error.log:

04.10.2016 16:59:50.839 *INFO* [0:0:0:0:0:0:0:1 [1475621990838] GET /content/site/en/personal/dev/jcr:content/main/content_block_contai/content_block_par/general_button.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /content/site/en/personal/dev/jcr:content/main/content_block_contai/content_block_par/general_button.html not found 04.10.2016 16:59:51.819 *ERROR* [0:0:0:0:0:0:0:1 [1475621991818] GET /etc/segmentation.segment.js HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension js, cannot render resource JcrNodeResource, type=rep:ACL, superType=null, path=/etc/segmentation/aam/rep:policy 04.10.2016 16:59:51.819 *ERROR* [0:0:0:0:0:0:0:1 [1475621991818] GET /etc/segmentation.segment.js HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension js, cannot render resource JcrNodeResource, type=rep:ACL, superType=null, path=/etc/segmentation/rep:policy 04.10.2016 16:59:51.968 *WARN* [0:0:0:0:0:0:0:1 [1475621991965] GET /etc/clientcontext/default/content/jcr:content/stores.init.js HTTP/1.1] com.adobe.cq.commerce.common.AbstractJcrCommerceSession Unable to extract locale from page /content/zbc/site/en/personal/bank/dev, falling back to default locale en_US. 04.10.2016 16:59:52.172 *WARN* [0:0:0:0:0:0:0:1 [1475621992131] GET /libs/wcm/core/content/pageinfo.json HTTP/1.1] com.day.cq.wcm.webservicesupport.impl.ConfigurationManagerImpl Resource with path [] does not exist! 04.10.2016 16:59:52.235 *INFO* [0:0:0:0:0:0:0:1 [1475621992216] GET /libs/wcm/core/content/components.1475621977658.html HTTP/1.1] com.day.cq.wcm.core.impl.components.ComponentServlet provided components. 04.10.2016 16:59:57.818 *INFO* [Apache Sling Resource Resolver Finalizer Thread] com.adobe.granite.repository Service [6418, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent UNREGISTERING 04.10.2016 16:59:58.642 *INFO* [0:0:0:0:0:0:0:1 [1475621998641] GET /content/site/en/personal/dev/jcr:content/main/content_block_contai/content_block_par/general_button.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /content/site/en/personal/dev/jcr:content/main/content_block_contai/content_block_par/general_button.html not found 04.10.2016 16:59:59.294 *ERROR* [0:0:0:0:0:0:0:1 [1475621999293] GET /etc/segmentation.segment.js HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension js, cannot render resource JcrNodeResource, type=rep:ACL, superType=null, path=/etc/segmentation/aam/rep:policy 04.10.2016 16:59:59.294 *ERROR* [0:0:0:0:0:0:0:1 [1475621999293] GET /etc/segmentation.segment.js HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension js, cannot render resource JcrNodeResource, type=rep:ACL, superType=null, path=/etc/segmentation/rep:policy 04.10.2016 16:59:59.434 *WARN* [0:0:0:0:0:0:0:1 [1475621999432] GET /etc/clientcontext/default/content/jcr:content/stores.init.js HTTP/1.1] com.adobe.cq.commerce.common.AbstractJcrCommerceSession Unable to extract locale from page /content/zbc/site/en/personal/bank/dev, falling back to default locale en_US. 04.10.2016 16:59:59.634 *WARN* [0:0:0:0:0:0:0:1 [1475621999584] GET /libs/wcm/core/content/pageinfo.json HTTP/1.1] com.day.cq.wcm.webservicesupport.impl.ConfigurationManagerImpl Resource with path [] does not exist! 04.10.2016 16:59:59.938 *INFO* [0:0:0:0:0:0:0:1 [1475621999872] GET /libs/wcm/core/content/components.1475621977658.html HTTP/1.1] com.day.cq.wcm.core.impl.components.ComponentServlet provided components.

Browser Error:

JS Line giving error:

Avatar

Level 10

This looks like a bug in the AEM JS libs used, I would open a support ticket so Eng teams are aware of this issue. 

Avatar

Level 1

Might be an unrelated issue but:


I hit this error when using large tweens because the Javascript code puts each tween change on the same line.  I had a longer animation (2 min) with 4000 frames and an object moving throughout.  The JS code had a line that was over 120,000 characters long.  In simple terms Chrome (and other browsers) can't handle that much code on the same line.  If you break up your tweens like you suggested the code also breaks them up into different lines.  The Adobe team can easily fix this problem by checking how many frames a tween has then simply used multiple lines in the Javascript code.