Hi I have form embedded on page with AEM Form component and one of the option is to "Refresh page on Submission". if I enable that option then i'm getting an error during submission. I have setup the form to redirect to another page on submission. if I don't enable that option then redirect page is loaded within Iframe. To properly redirect to another page I need to enable that option "Refresh page on submission".
Please note, this issue only occur in publisher. In author it's submitting and redirecting to another page without any issue
This is the error it's giving in publisher logs.
*ERROR* [10.43.0.90 [1725630518401] POST /content/forms/af/forms/contact-form/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.adobe.aemds.guide.servlet.GuideSubmitServlet Could not complete Submit Action due to null
java.lang.NullPointerException: null