javax.xml.bind.UnmarshalException: Unable to create an instance of AnyPlatform - with linked exception: [java.lang.InstantiationException]

Stack Overflow | focused | 1 year 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

    JAXB unmarshall: where does ElementNSImpl come from?

    Stack Overflow | 1 year ago | focused
    javax.xml.bind.UnmarshalException: Unable to create an instance of AnyPlatform - with linked exception: [java.lang.InstantiationException]
  2. 0

    JAXB throwing InstantiationException when accessing Opendaylight northbound APIs

    Stack Overflow | 3 years ago | vais
    javax.xml.bind.UnmarshalException: Unable to create an instance of org.opendaylight.controller.sal.action.Action - with linked exception: [java.lang.InstantiationException]
  3. 0

    XJC not generating implementation class for complex type

    Stack Overflow | 12 months ago | ipsi
    javax.xml.bind.UnmarshalException: Unable to create an instance of CTBaseType - with linked exception: [java.lang.InstantiationException]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How do i make an abstract class work with JAXB

    Stack Overflow | 5 years ago | wyche5000
    javax.xml.bind.UnmarshalException: Unable to create an instance of platform.User - with linked exception: [java.lang.InstantiationException]
  6. 0

    JAXB Umarshaller error

    Stack Overflow | 4 years ago | Artem Moskalev
    javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"ONIXMessage"). Expected elements are <{http://ns.editeur.org/onix/3.0/reference}Addressee>,<{http://ns.editeur.org/onix/3.0/reference}AddresseeIDType>,<{http://ns.editeur.org/onix/3.0/reference}AddresseeIdentifier>,<{http://ns.editeur.org/onix/3.0/reference}AddresseeName>,<{http://ns.editeur.org/onix/3.0/reference}Affiliation>,<{http://ns.editeur.org/onix/3.0/reference}AgentIDType>,<{http://ns.editeur.org/onix/3.0/reference}AgentIdentifier>,<{http://ns.editeur.org/onix/3.0/reference}AgentName>,<{http://ns.editeur.org/onix/3.0/reference}AgentRole>,<{http://ns.editeur.org/onix/3.0/reference}AlternativeName>,<{http://ns.editeur.org/onix/3.0/reference}AncillaryContent>,<{http://ns.editeur.org/onix/3.0/reference}AncillaryContentDescription>,<{http://ns.editeur.org/onix/3.0/reference}AncillaryContentType>,<{http://ns.editeur.org/onix/3.0/reference}Audience>,<{http://ns.editeur.org/onix/3.0/reference}AudienceCode> ...

  1. treefolk 1 times, last 4 months ago
  2. empt-ak 1 times, last 6 months ago
17 unregistered visitors
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. java.lang.InstantiationException

    No message provided

    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance()
  2. Java RT
    AbstractUnmarshallerImpl.unmarshal
    1. sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    3. com.sun.xml.internal.bind.v2.ClassFactory.create0(ClassFactory.java:118)
    4. com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.createInstance(ClassBeanInfoImpl.java:270)
    5. com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.createInstance(UnmarshallingContext.java:684)
    6. com.sun.xml.internal.bind.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.java:171)
    7. com.sun.xml.internal.bind.v2.runtime.unmarshaller.XsiTypeLoader.startElement(XsiTypeLoader.java:65)
    8. com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:559)
    9. com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:538)
    10. com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:153)
    11. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
    12. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:380)
    13. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2787)
    14. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
    15. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
    16. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
    17. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
    18. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
    19. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    20. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    21. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
    22. com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:243)
    23. com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:214)
    24. javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
    25. javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:125)
    25 frames
  3. Unknown
    MainWindow$1.actionPerformed
    1. App.parse(App.java:66)
    2. MainWindow$1.actionPerformed(MainWindow.java:57)
    2 frames
  4. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    5. javax.swing.AbstractButton.doClick(AbstractButton.java:376)
    6. javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
    7. javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
    8. java.awt.Component.processMouseEvent(Component.java:6535)
    9. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    10. java.awt.Component.processEvent(Component.java:6300)
    11. java.awt.Container.processEvent(Container.java:2236)
    12. java.awt.Component.dispatchEventImpl(Component.java:4891)
    13. java.awt.Container.dispatchEventImpl(Container.java:2294)
    14. java.awt.Component.dispatchEvent(Component.java:4713)
    15. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    16. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
    17. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    18. java.awt.Container.dispatchEventImpl(Container.java:2280)
    19. java.awt.Window.dispatchEventImpl(Window.java:2750)
    20. java.awt.Component.dispatchEvent(Component.java:4713)
    21. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    22. java.awt.EventQueue.access$500(EventQueue.java:97)
    23. java.awt.EventQueue$3.run(EventQueue.java:709)
    24. java.awt.EventQueue$3.run(EventQueue.java:703)
    25. java.security.AccessController.doPrivileged(Native Method)
    26. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    27. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    28. java.awt.EventQueue$4.run(EventQueue.java:731)
    29. java.awt.EventQueue$4.run(EventQueue.java:729)
    30. java.security.AccessController.doPrivileged(Native Method)
    31. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    32. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    33. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    34. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    35. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    36. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    37. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    38. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    38 frames