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

GitHub | matthiaskoenig | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    javax.xml Maximum Element Depth limit is exceeded for genome-scale models

    GitHub | 9 months ago | matthiaskoenig
    javax.xml.stream.XMLStreamException: Maximum Element Depth limit (1000) Exceeded

    Root Cause Analysis

    1. javax.xml.stream.XMLStreamException

      Maximum Element Depth limit (1000) Exceeded

      at com.ctc.wstx.sr.InputElementStack.push()
    2. Woodstox
      BasicStreamReader.next
      1. com.ctc.wstx.sr.InputElementStack.push(InputElementStack.java:327)
      2. com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:3020)
      3. com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2912)
      4. com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1115)
      4 frames
    3. Stax2 API
      Stax2EventReaderImpl.nextEvent
      1. org.codehaus.stax2.ri.Stax2EventReaderImpl.nextEvent(Stax2EventReaderImpl.java:255)
      1 frame
    4. org.sbml.jsbml
      JSBML.readSBMLFromString
      1. org.sbml.jsbml.xml.stax.SBMLReader.readXMLFromXMLEventReader(SBMLReader.java:568)
      2. org.sbml.jsbml.xml.stax.SBMLReader.readXMLFromStream(SBMLReader.java:533)
      3. org.sbml.jsbml.xml.stax.SBMLReader.readSBMLFromString(SBMLReader.java:834)
      4. org.sbml.jsbml.xml.stax.SBMLReader.readSBMLFromString(SBMLReader.java:848)
      5. org.sbml.jsbml.SBMLReader.readSBMLFromString(SBMLReader.java:267)
      6. org.sbml.jsbml.SBMLReader.read(SBMLReader.java:143)
      7. org.sbml.jsbml.JSBML.readSBMLFromString(JSBML.java:381)
      7 frames