javax.xml.bind.UnmarshalException: Unexpected element {}:height

hivmr.com | 6 months ago
  1. 0

    Problem unmarshalling XML - file useing inheritance

    Oracle Community | 1 decade ago | 843834
    javax.xml.bind.UnmarshalException: Unexpected element {}:height
  2. 0

    db:: 4.92::Unmarshal exception 8j

    hivmr.com | 6 months ago
    javax.xml.bind.UnmarshalException: Unexpected element {}:height
  3. 0
    You created JAXBContext with wrong parametes. See http://blog.bdoughan.com/2012/07/jaxb-and-root-elements.html
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Your current object model and mappings do not match the XML content. Check your JAXB annotations.
  6. 0

    JAXB Unmarshalling Error (namespace issue?) on Marshalled file

    Oracle Community | 1 decade ago | 843834
    javax.xml.bind.UnmarshalException: Unexpected element {.}:position

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.xml.bind.UnmarshalException

      Unexpected element {}:height

      at com.sun.xml.bind.unmarshaller.UnreportedException.createUnmarshalException()
    2. Old JAXB Runtime
      SAXUnmarshallerHandlerImpl.startElement
      1. com.sun.xml.bind.unmarshaller.UnreportedException.createUnmarshalException(UnreportedException.java:59)
      2. com.sun.xml.bind.unmarshaller.SAXUnmarshallerHandlerImpl.reportAndThrow(SAXUnmarshallerHandlerImpl.java:406)
      3. com.sun.xml.bind.unmarshaller.SAXUnmarshallerHandlerImpl.startElement(SAXUnmarshallerHandlerImpl.java:96)
      3 frames
    3. org.apache.crimson
      XMLReaderImpl.parse
      1. org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488)
      2. org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
      3. org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
      4. org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
      5. org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
      6. org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
      7. org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
      8. org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
      9. org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
      10. org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
      10 frames
    4. Old JAXB Runtime
      UnmarshallerImpl.unmarshal
      1. com.sun.xml.bind.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:139)
      1 frame
    5. Java RT
      AbstractUnmarshallerImpl.unmarshal
      1. javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:129)
      2. javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:134)
      3. javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:138)
      4. javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:151)
      4 frames