We have an issue in our production env where some users got an Internal Server Error while accessing the page which contains an AEM form. On looking at the server logs we can see the below error.
com.adobe.aemds.guide.internal.impl.taglibs.GuideContainerLayoutHTML Some Problem While Posting to rest End Point
java.lang.NullPointerException: null
Can some one please help with what might be causing this error? This is intermittent and we have observed this happen for only 2 users so far. Can someone please guide what might be causing this error?
=========================================
XX.05.2024 15:03:19.203 *INFO* [ [1715216598606] GET /content/application-portal/us/en/home/renewal-form/jcr:content/root/responsivegrid/aemform.iframe.en.html HTTP/1.1] libs.fd.af.components.guideContainer.guideContainer$jsp Adaptive Form rendering started
https://XXXXXXXXXXX/content/application-portal/us/en/home/form/jcr:content/root/responsivegrid/aemfo...
XX.05.2024 15:03:19.213 *ERROR* [ [1715216598606] GET /content/application-portal/us/en/home/form/jcr:content/root/responsivegrid/aemform.iframe.en.html HTTP/1.1] com.adobe.aemds.guide.internal.impl.taglibs.GuideContainerLayoutHTML Some Problem While Posting to rest End Point
java.lang.NullPointerException: null
XX.05.2024 15:03:19.216 *ERROR* [ [1715216598606] GET /content/application-portal/us/en/home/form/jcr:content/root/responsivegrid/aemform.iframe.en.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
org.apache.sling.scripting.sightly.SightlyException: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.api.scripting.ScriptEvaluationException:
at com.adobe.cq.sightly.WCMScriptHelper.includeScript(WCMScriptHelper.java:227) [com.adobe.cq.sightly.cq-wcm-sightly-extension:1.6.0]
at com.adobe.cq.sightly.internal.extensions.IncludeExtension.call(IncludeExtension.java:72) [com.adobe.cq.sightly.cq-wcm-sightly-extension:1.6.0]
at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.call(RenderContextImpl.java:77) [org.apache.sling.scripting.sightly:1.1.2.1_4_0]
at org.apache.sling.scripting.sightly.libs.fd.af.components.aemform.iframe_html.render(iframe_html.java:76)
at org.apache.sling.scripting.sightly.render.RenderUnit.render(RenderUnit.java:50) [org.apache.sling.scripting.sightly.runtime:1.1.0.1_4_0]
at org.apache.sling.scripting.sightly.impl.engine.SightlyCompiledScript.eval(SightlyCompiledScript.java:60) [org.apache.sling.scripting.sightly:1.1.2.1_4_0]
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:386) [org.apache.sling.scripting.core:2.3.2]
at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:184) [org.apache.sling.scripting.core:2.3.2]
at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:491) [org.apache.sling.scripting.core:2.3.2]
at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:579) [org.apache.sling.engine:2.7.10.B0004]
at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45) [org.apache.sling.engine:2.7.10.B0004]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:88) [org.apache.sling.engine:2.7.10.B0004]
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:138) [com.day.cq.wcm.cq-wcm-core:5.12.230]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:375) [com.day.cq.wcm.cq-wcm-core:5.12.230]
at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:190) [com.day.cq.wcm.cq-wcm-core:5.12.230]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
at com.day.cq.wcm.core.impl.page.PageLockFilter.doFilter(PageLockFilter.java:91) [com.day.cq.wcm.cq-wcm-core:5.12.230]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:94) [com.day.cq.cq-personalization:5.12.48]
Caused by: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.api.scripting.ScriptEvaluationException:
at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:510) [org.apache.sling.scripting.core:2.3.2]
at com.adobe.cq.sightly.WCMScriptHelper.includeScript(WCMScriptHelper.java:222) [com.adobe.cq.sightly.cq-wcm-sightly-extension:1.6.0]
... 157 common frames omitted
Caused by: org.apache.sling.scripting.sightly.SightlyException: org.apache.sling.api.scripting.ScriptEvaluationException:
at com.adobe.cq.sightly.WCMScriptHelper.includeResource(WCMScriptHelper.java:184) [com.adobe.cq.sightly.cq-wcm-sightly-extension:1.6.0]
at com.adobe.cq.sightly.internal.extensions.ResourceExtension.call(ResourceExtension.java:138) [com.adobe.cq.sightly.cq-wcm-sightly-extension:1.6.0]
Caused by: com.adobe.aemds.guide.service.GuideException: null
at com.adobe.aemds.guide.internal.impl.taglibs.GuideContainerLayoutHTML.doStartTag(GuideContainerLayoutHTML.java:116) [com.adobe.aemds.guide.aemds-guide-core-impl:6.0.564]
at org.apache.jsp.libs.fd.af.components.guideContainer.guideContainer_jsp._jspx_meth_guide_005fguideContainerLayoutHTML_005f0(guideContainer_jsp.java:2005)
at org.apache.jsp.libs.fd.af.components.guideContainer.guideContainer_jsp._jspService(guideContainer_jsp.java:918)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [org.apache.sling.scripting.jsp:2.3.6]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) [org.apache.felix.http.servlet-api:1.2.0]
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502) [org.apache.sling.scripting.jsp:2.3.6]
... 196 common frames omitted
Caused by: java.lang.NullPointerException: null
Views
Replies
Total Likes
We have a similar issue sometime back. Clearing forms cache will resolve it temporarily. Looks like when a server is restarted, the existing forms cache for that particular form will be corrupted and needs to cleared every time the server is restarted. If not, we will see these kind of errors intermittently.
Views
Replies
Total Likes
How do we achieve post to a path say at /bin for forms ?
Thanks,
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies