Adaptive form submission error | Community
Skip to main content
Balu_M
Level 3
February 23, 2017
Question

Adaptive form submission error

  • February 23, 2017
  • 5 replies
  • 7270 views

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

sudhansh
Adobe Employee
Adobe Employee
February 26, 2017

Hi Balu M,

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

Thanks & Regards,

-Sudhanshu

Balu_M
Balu_MAuthor
Level 3
March 3, 2017

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. 

March 3, 2017

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

Adobe Employee
March 3, 2017

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).

Balu_M
Balu_MAuthor
Level 3
March 4, 2017

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.