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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

javax.xml.stream.XMLStreamException: Maximum Element Depth limit (1000) Exceeded
at com.ctc.wstx.sr.InputElementStack.push(InputElementStack.java:327)
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:3020)
at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2912)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1115)
at org.codehaus.stax2.ri.Stax2EventReaderImpl.nextEvent(Stax2EventReaderImpl.java:255)
at org.sbml.jsbml.xml.stax.SBMLReader.readXMLFromXMLEventReader(SBMLReader.java:568)
at org.sbml.jsbml.xml.stax.SBMLReader.readXMLFromStream(SBMLReader.java:533)
at org.sbml.jsbml.xml.stax.SBMLReader.readSBMLFromString(SBMLReader.java:834)
at org.sbml.jsbml.xml.stax.SBMLReader.readSBMLFromString(SBMLReader.java:848)
at org.sbml.jsbml.SBMLReader.readSBMLFromString(SBMLReader.java:267)
at org.sbml.jsbml.SBMLReader.read(SBMLReader.java:143)
at org.sbml.jsbml.JSBML.readSBMLFromString(JSBML.java:381)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.