java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl cannot be cast to java.util.List

tuscany-user | Raymond Feng | 5 years 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

    Re: {Disarmed} Re: Unable to send a list from Python to Java under SOAP with SCA

    tuscany-user | 5 years ago | Raymond Feng
    java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl cannot be cast to java.util.List

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.xerces.dom.ElementNSImpl cannot be cast to java.util.List

      at sca.client.ChatClient.run()
    2. sca.client
      ChatClient.run
      1. sca.client.ChatClient.run(ChatClient.java:20)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    4. Apache Tuscany SCA Base Jar
      JavaImplementationInvoker.invoke
      1. org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:156)
      1 frame
    5. org.apache.tuscany
      SCABindingInvoker.invoke
      1. org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
      1 frame
    6. Apache Tuscany SCA Base Jar
      JDKInvocationHandler.invoke
      1. org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:349)
      2. org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:193)
      2 frames
    7. Unknown
      $Proxy32.run
      1. $Proxy32.run(Unknown Source)
      1 frame
    8. sca.client.launcher
      ChatLauncher.main
      1. sca.client.launcher.ChatLauncher.main(ChatLauncher.java:17)
      1 frame