java.lang.ClassCastException: java.lang.Object incompatible with org.w3c.dom.Element

  1. 0

    GitHub comment 214#240666593

    GitHub | 4 months ago | Amberize
    java.lang.ClassCastException: java.lang.Object incompatible with org.w3c.dom.Element
  2. 0

    Switch off java.langObject initialization in podam

    Stack Overflow | 4 months ago | Valera Pesternikov
    java.lang.ClassCastException: java.lang.Object incompatible with org.w3c.dom.Element
  3. 0

    JAXB XML serialization error with namespace QName exception

    Stack Overflow | 4 years ago | High6
    java.lang.ClassCastException: java.lang.String cannot be cast to javax.xml.namespace.QName
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JAXB related exception | java - web-services - jaxb - classcastexception

    solutionscore.com | 1 year ago
    java.lang.ClassCastException: java.lang.String cannot be cast to javax.xml.namespace.QName
  6. 0

    Marshalling RectifiedGridType results in ClassCastException

    GitHub | 1 year ago | avautour
    java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.String

    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.ClassCastException

      java.lang.Object incompatible with org.w3c.dom.Element

      at com.sun.xml.bind.v2.runtime.AnyTypeBeanInfo.serializeURIs()
    2. Old JAXB Runtime
      MarshallerImpl.marshal
      1. com.sun.xml.bind.v2.runtime.AnyTypeBeanInfo.serializeURIs(AnyTypeBeanInfo.java:153)
      2. com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:677)
      3. com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:158)
      4. com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:360)
      5. com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:696)
      6. com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.serializeItem(ArrayElementNodeProperty.java:69)
      7. com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:172)
      8. com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:159)
      9. com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:360)
      10. com.sun.xml.bind.v2.runtime.XMLSerializer.childAsSoleContent(XMLSerializer.java:593)
      11. com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeRoot(ClassBeanInfoImpl.java:341)
      12. com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:494)
      13. com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323)
      14. com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:251)
      14 frames
    3. Java RT
      AbstractMarshallerImpl.marshal
      1. javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:128)
      1 frame
    4. ru.sbrf.bh
      PersonValidationTest.testFilledValidation
      1. ru.sbrf.bh.banking.product.pcard.branchpcard.orchestration.ValidatePersonProcess.marshallObject(ValidatePersonProcess.java:76)
      2. ru.sbrf.bh.banking.product.pcard.branchpcard.orchestration.ValidatePersonProcess.validatePerson(ValidatePersonProcess.java:60)
      3. ru.sbrf.bh.banking.product.pcard.branchpcard.service.flow.card.PersonValidationTest.testFilledValidation(PersonValidationTest.java:74)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
      4. java.lang.reflect.Method.invoke(Method.java:620)
      4 frames
    6. TestNG
      RemoteTestNGStarter.main
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      2. org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      7. org.testng.TestRunner.privateRun(TestRunner.java:782)
      8. org.testng.TestRunner.run(TestRunner.java:632)
      9. org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      12. org.testng.SuiteRunner.run(SuiteRunner.java:268)
      13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      16. org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      17. org.testng.TestNG.run(TestNG.java:1064)
      18. org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
      19. org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)
      19 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
      4. java.lang.reflect.Method.invoke(Method.java:620)
      4 frames
    8. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame