Expand my Community achievements bar.

SOLVED

Error While Authoring Dialog in Nested Multifield Component

Avatar

Level 1

Hi,

We are having a nested multifield component with 4 Levels where we are facing error while authoring the dialog.

The previous version of this component contains a checkbox which works fine.

For this version we have added few checkboxes for a new requirement, by then we are facing this while authoring the dialog.

Compared the XML of both the versions, couldn't spot anything that is causing this.

The Previous version faced the same issue when i added the checkboxes that are present in new version to the older version.

Any suggestion to resolve it, if so please help.

/libs/granite/ui/components/coral/foundation/form/checkbox/checkbox.jsp

Cannot serve request to /mnt/override/apps/"..."/components/content/"...."/_cq_dialog.html/content/"...."/language-master/en/"...."/jcr:content/contentpar/"...."/libs/granite/ui/components/coral/foundation/container/container.jsp

Exception:

org.apache.sling.api.request.TooManyCallsException: /libs/granite/ui/components/coral/foundation/form/checkbox/checkbox.jsp
	at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:563)
	at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:88)
	at com.day.cq.wcm.core.impl.WCMDeveloperModeFilter.doFilter(WCMDeveloperModeFilter.java:119)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:138)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:165)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.core.impl.page.PageLockFilter.doFilter(PageLockFilter.java:91)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:94)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.adobe.granite.csrf.impl.CSRFFilter.doFilter(CSRFFilter.java:217)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:283)
	at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProcessorImpl.java:323)
	at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatcher.java:211)
	at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatcher.java:104)
	at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponentFilter.java:516)
	at org.apache.sling.scripting.jsp.taglib.IncludeTagHandler.dispatch(IncludeTagHandler.java:54)
	at org.apache.sling.scripting.jsp.taglib.AbstractDispatcherTagHandler.doEndTag(AbstractDispatcherTagHandler.java:128)
	at org.apache.jsp.libs.granite.ui.components.coral.foundation.container.container_jsp._jspService(container_jsp.java:167)
	at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
	at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)
	at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449)
	at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:339)
	at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:97)
	at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:600)
	at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:388)
	at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:184)
	at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:491)
	at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:579)
	at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@Nikhil98  You can increase the "Number of calls per request" to 2500 in OSGi configurations it will work

Jagadeesh_Prakash_0-1695648735057.png

 

But this is not recommended way to do it. I suggest you not to have a very complex nested multifield this might result in complex authoring and above mentioned difficulties. 

 

Try to change your design 

 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

@Nikhil98  You can increase the "Number of calls per request" to 2500 in OSGi configurations it will work

Jagadeesh_Prakash_0-1695648735057.png

 

But this is not recommended way to do it. I suggest you not to have a very complex nested multifield this might result in complex authoring and above mentioned difficulties. 

 

Try to change your design 

 

Avatar

Community Advisor

@Nikhil98 

I would suggest to review your code and resources for any inefficiencies that might be causing a high number of concurrent requests. Look for any infinite loops, resource-intensive operations, or excessive usage of system resources. Optimize your code to reduce the overall load.

Thanks

 

Avatar

Administrator

@Nikhil98 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni