Adaptive form submission error

Avatar

Avatar

Balu_M

Avatar

Balu_M

Balu_M

23-02-2017

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

Accepted Solutions (0)

Answers (5)

Answers (5)

Avatar

Avatar

sudhanshu_singh

Avatar

sudhanshu_singh

sudhanshu_singh

26-02-2017

Hi Balu M,

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

Thanks & Regards,

-Sudhanshu

Avatar

Avatar

Balu_M

Avatar

Balu_M

Balu_M

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

Avatar

Avatar

lesutton1

Avatar

lesutton1

lesutton1

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

Avatar

Avatar

rn

Avatar

rn

rn

03-03-2017

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

Avatar

Avatar

Balu_M

Avatar

Balu_M

Balu_M

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