Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

javax.xml.stream.XMLStreamException: Maximum Element Depth limit (1000) Exceeded

lynne March 19, 2025

confluence test version: 9.2.2

we encountered a special error with large page shows:

javax.xml.stream.XMLStreamException: Maximum Element Depth limit (1000) Exceeded

 

is there any way to enlarge the limit value , such as 10000? we try java parameter not work: -Dcom.ctc.wstx.maxEntityDepth=10000

 

or how can we resolve this?we installed the plugin source Editor,but not work,view source page only shows above error.

 

Thank you for any help

1 answer

0 votes
Cyrille Martin
Community Champion
March 19, 2025

Hi @lynne 

Based on this conversation : https://community.atlassian.com/forums/Confluence-questions/Maximum-Element-Depth-limit-1000-exception-in-Confluence-server/qaq-p/2293070, it seems to be a bug.
It is registered here : CONFSERVER-81464 but normally fixed on Confluence 8.3

You may need to comment on this ticket, you are not alone having this issue on a newer version of Confluence.

Regards,

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.2.2
TAGS
AUG Leaders

Atlassian Community Events