FEATURE_SECURE_PROCESSING error while create Document Fragment on AEM 6.5 | Community
Skip to main content
Level 2
May 8, 2022
Solved

FEATURE_SECURE_PROCESSING error while create Document Fragment on AEM 6.5

  • May 8, 2022
  • 3 replies
  • 4829 views
  1. Using AEM Forms - 6.5.12 on Windows OS
  2. I have a REST form data model.
  3. Create a document fragment
  4. Added data elements on to text document fragment.
  5. On saving it is failing with error [object Object]. Log shows following error. Screenshot attached too.

08.05.2022 10:02:08.307 *ERROR* [0:0:0:0:0:0:0:1 [1651984328245] POST /libs/fd/fdm/content/crud.fd.df.documentFragmentService.json HTTP/1.1] com.adobe.livecycle.content.repository.utils.XpathToEntityNodeConverter Wrong Xpath syntax - javax.xml.transform.TransformerException: JAXP0801002: the compiler encountered an XPath expression containing '101' operators that exceeds the '100' limit set by 'FEATURE_SECURE_PROCESSING'.
08.05.2022 10:02:08.311 *ERROR* [0:0:0:0:0:0:0:1 [1651984328245] POST /libs/fd/fdm/content/crud.fd.df.documentFragmentService.json HTTP/1.1] com.adobe.icc.dbforms.exceptions.ICCException Unexpected error
com.adobe.livecycle.content.repository.exception.RepositoryException: RepositoryException: {Code}-LCC-CFG-XPT-004, {Message}-RepositoryException: {Code}-LCC-CFG-XPT-004, {Message}-Wrong Xpath syntax - javax.xml.transform.TransformerException: JAXP0801002: the compiler encountered an XPath expression containing '101' operators that exceeds the '100' limit set by 'FEATURE_SECURE_PROCESSING'.

 

Any help appericated.

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

@vidhyabhushanbahl Please log a support case with the IC package. 

3 replies

Mayank_Gandhi
Adobe Employee
Mayank_GandhiAdobe EmployeeAccepted solution
Adobe Employee
May 10, 2022

@vidhyabhushanbahl Please log a support case with the IC package. 

Adobe Employee
May 31, 2022

@vidhyabhushanbahl , Can you please share the complete stack trace? What is the Java version you are using? This setting has been introduced in Java 1.8u331. Can you please try setting the following JVM property and see if it resolves your issue.

-Djdk.xml.xpathExprGrpLimit=100 -Djdk.xml.xpathExprOpLimit=2000
Level 2
May 31, 2022

Thanks Sharoon23,

 

I did make this change and it worked but I didn't update the forum. I was using OpenJDK 11.

 

Cheers

February 7, 2024

Can you please share where you made the changes?

Level 2
July 4, 2024

Hi Team,

I am facing similar issue while creating text/list file in Document Fragment on AEM 6.5

May I know a solution to fix this issue. Any help is appreciated.

Thanks in Advance!

 

Adobe Employee
July 5, 2024

@anushaat , please check the error.log file in crx-quickstart/logs folder of your AEM installation. If you see the exception specified in the origin then you are facing the same issue. You can solve this issue by setting the following JVM argument while starting AEM

-Djdk.xml.xpathExprGrpLimit=100 -Djdk.xml.xpathExprOpLimit=2000
Level 2
July 5, 2024

Hi,

Thanks for the response,

Here are the errors,

05.07.2024 05:53:36.249 *ERROR* [10.158.181.34 [1720173216239] GET /mnt/overlay/fd/cm/ma/gui/content/cmassets/jcr:content/views/card.0.20.html/content/apps/cm/modules/ucd/en/commercial HTTP/1.1] com.adobe.fd.df.fdinternal.core.ModificationTimeComparator Exception while fetching last modified time of resource: /content/apps/cm/modules/ucd/en/commercial/rep:policy
java.lang.NullPointerException: null

05.07.2024 05:53:29.448 *ERROR* [10.158.181.34 [1720173209426] POST /libs/fd/fdm/content/crud.fd.df.documentFragmentService.json HTTP/1.1] com.adobe.livecycle.content.repository.utils.XpathToEntityNodeConverter Wrong Xpath syntax - javax.xml.transform.TransformerException: JAXP0801002: the compiler encountered an XPath expression containing '101' operators that exceeds the '100' limit set by 'FEATURE_SECURE_PROCESSING'.
05.07.2024 05:53:29.449 *ERROR* [10.158.181.34 [1720173209426] POST /libs/fd/fdm/content/crud.fd.df.documentFragmentService.json HTTP/1.1] com.adobe.icc.dbforms.exceptions.ICCException Unexpected error
com.adobe.livecycle.content.repository.exception.RepositoryException: RepositoryException: {Code}-LCC-CFG-XPT-004, {Message}-RepositoryException: {Code}-LCC-CFG-XPT-004, {Message}-Wrong Xpath syntax - javax.xml.transform.TransformerException: JAXP0801002: the compiler encountered an XPath expression containing '101' operators that exceeds the '100' limit set by 'FEATURE_SECURE_PROCESSING'.

 

 

In my local, it was working fine. I am facing issue in our AEM instances. May I know where we have to add the property value. It will be helpful.

 

AEM version : 6.5.19

 

Regards,

Anusha