Expand my Community achievements bar.

NoSuchMethodError for GuideSubmitUtils.getRedirectParameters on Form submission

Avatar

Level 3

I have an AEM Form that submits to a REST endpoint and redirects to a thank-you page. When the form is submitted, I get the following errors (same error twice in a row) and the form data is not submitted to the endpoint. It does redirect to the the thank-you page regardless.

 

16.01.2025 08:42:13.923 *ERROR* [[0:0:0:0:0:0:0:1] [1737034933885] POST /content/forms/af/poster-api-registration/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.WCMDebugFilter Error during include of SlingRequestPathInfo: path='/content/forms/af/poster-api-registration/jcr:content/guideContainer', selectorString='post', extension='jsp', suffix='null'
org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: java.lang.NoSuchMethodError: 'java.util.Map com.adobe.aemds.guide.utils.GuideSubmitUtils.getRedirectParameters(org.apache.sling.api.SlingHttpServletRequest)'
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:416) [org.apache.sling.scripting.core:2.3.2]
...
Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: java.lang.NoSuchMethodError: 'java.util.Map com.adobe.aemds.guide.utils.GuideSubmitUtils.getRedirectParameters(org.apache.sling.api.SlingHttpServletRequest)'
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:691) [org.apache.sling.scripting.jsp:2.3.6]
...
Caused by: java.lang.NoSuchMethodError: 'java.util.Map com.adobe.aemds.guide.utils.GuideSubmitUtils.getRedirectParameters(org.apache.sling.api.SlingHttpServletRequest)'
at org.apache.jsp.libs.fd.af.components.guidesubmittype.restendpoint.post_POST_jsp._jspService(post_POST_jsp.java:415)
...
16.01.2025 08:42:13.926 *ERROR* [[0:0:0:0:0:0:0:1] [1737034933885] POST /content/forms/af/poster-api-registration/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.day.cq.wcm.core.impl.WCMDebugFilter Exception: javax.servlet.ServletException: java.lang.NoSuchMethodError: 'java.util.Map com.adobe.aemds.guide.utils.GuideSubmitUtils.getRedirectParameters(org.apache.sling.api.SlingHttpServletRequest)'
org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: java.lang.NoSuchMethodError: 'java.util.Map com.adobe.aemds.guide.utils.GuideSubmitUtils.getRedirectParameters(org.apache.sling.api.SlingHttpServletRequest)'
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:416) [org.apache.sling.scripting.core:2.3.2]
...
Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: java.lang.NoSuchMethodError: 'java.util.Map com.adobe.aemds.guide.utils.GuideSubmitUtils.getRedirectParameters(org.apache.sling.api.SlingHttpServletRequest)'
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:691) [org.apache.sling.scripting.jsp:2.3.6]
...
Caused by: java.lang.NoSuchMethodError: 'java.util.Map com.adobe.aemds.guide.utils.GuideSubmitUtils.getRedirectParameters(org.apache.sling.api.SlingHttpServletRequest)'
at org.apache.jsp.libs.fd.af.components.guidesubmittype.restendpoint.post_POST_jsp._jspService(post_POST_jsp.java:415)
...
16.01.2025 08:42:13.929 *INFO* [[0:0:0:0:0:0:0:1] [1737034933885] POST /content/forms/af/poster-api-registration/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.adobe.aem.transaction.core.impl.TransactionRecorder transactionCount=1 transactionType=SUBMIT transactionSubType=null resourceType=FORM resourceSubType=ADAPTIVE-FORM serviceId=null operationId=null resourceId=/content/forms/af/poster-api-registration/jcr:content/guideContainer resourceName=Poster API Registration internalService=null internalOperation=null startTime=1737034933890 endTime=1737034933929
1

 

2 Replies

Avatar

Level 9

Hi @wizard04wsu 

You are getting the run time error. Cehck all your bundles are active or not.

 

Avatar

Level 3

I have seven bundles with status "Fragment". The rest are active.

503 Adobe - XMPFiles Worker platform fragment linuxcom.adobe.xmp.worker.files.native.fragment.linux 1.0.10 Fragment
504 Adobe - XMPFiles Worker platform fragment macosxcom.adobe.xmp.worker.files.native.fragment.macosx 1.0.10 Fragment
505 Adobe - XMPFiles Worker platform fragment wincom.adobe.xmp.worker.files.native.fragment.win 1.0.10 Fragment
671 AEMDS xerces fragment for day-commons-jstladobe-aemds-core-xerces-fragment 1.0.8 Fragment
71 Day Communique 5 License Brandingcom.day.cq.cq-licensebranding 6.5.2 cq5 Fragment
750 JJWT :: Extensions :: Jacksonio.jsonwebtoken.jjwt-jackson 0.11.2 Fragment
749 JJWT :: Implio.jsonwebtoken.jjwt-impl 0.11.2 Fragment