Adaptive form submission error | Community
Skip to main content
Balu_M
Level 3
Feb 23, 2017 10:31 AM UTC
Question

Adaptive form submission error

We are getting error while submitting adaptive form.how to resolve this issue? i have attached complete error.log file . 

Client side we are getting popup with below error

[AF] [AEM-AF-901-004] Encountered an internal error while submitting the form

 

Error log details:

23.02.2017 15:37:52.829 *ERROR* [0:0:0:0:0:0:0:1 [1487844472814] POST /content/forms/af/qr/customer-care/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.utils.SubmitDataCollector Unable to create JSON for Submit
javax.xml.xpath.XPathExpressionException: javax.xml.transform.TransformerException: Unable to evaluate expression using this context

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Balu_M
Balu_MAuthor
Level 3
Mar 4, 2017 6:41 AM UTC

We are getting this error only for few forms. as suggested by LeSutton please verify your xml format .when there is mismatch on form xml then only we will get error. 

Translate
Employee
Mar 3, 2017 7:06 PM UTC

You may want to check the XML data you're populating with versus the schema you're using in the form. Pay particular attention to all of the bindings in any of your panels. Make sure they are linked to repeating elements in the schema if they are repeating and if they are not repeating, the min and max values in the panel should be blank (not 0, specifically blank).

Translate
New Participant
Mar 3, 2017 1:26 PM UTC

Thank you for your answer. We are pre-populate the form as well. Did you get the error every time on submission?

Translate
Balu_M
Balu_MAuthor
Level 3
Mar 3, 2017 12:59 PM UTC

Hi, 

We are placing "data" xml file in slingrequest to enable form field pre-population functionality.

https://helpx.adobe.com/aem-forms/6-2/prepopulate-adaptive-form-fields.html

Please read "Setting data attribute in slingRequest" section for more details. We have removed this functionality and form submission working for us.

One of the reason(I am not sure) for getting this error,during form submission its unable to replace data object already placed in request attribute. so we have implemented this functionality in different way. 

Translate
sudhansh
Employee
Feb 26, 2017 8:49 AM UTC

Hi Balu M,

Can you please share the form with which you are getting the error.

Thanks & Regards,

-Sudhanshu

Translate