java.lang.ClassCastException: com.sun.xml.messaging.saaj.soap.impl.ElementImpl cannot be cast to org.w3c.dom.Document

Oracle Community | 843830 | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Problem with ScriptSE

    Oracle Community | 9 years ago | 843830
    java.lang.ClassCastException: com.sun.xml.messaging.saaj.soap.impl.ElementImpl cannot be cast to org.w3c.dom.Document
  2. 0

    How to debug a ScriptSE jruby script?

    Oracle Community | 9 years ago | 843830
    java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to org.w3c.dom.Document

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.xml.messaging.saaj.soap.impl.ElementImpl cannot be cast to org.w3c.dom.Document

      at com.sun.jbi.engine.scriptse.process.ScriptseUtil.wrapTransformedPayload()
    2. com.sun.jbi
      DefaultAcceptPoller.run
      1. com.sun.jbi.engine.scriptse.process.ScriptseUtil.wrapTransformedPayload(ScriptseUtil.java:272)
      2. com.sun.jbi.engine.scriptse.process.ScriptseUtil.transform(ScriptseUtil.java:145)
      3. com.sun.jbi.engine.scriptse.process.ScriptseInOutProvider.handleRequest(ScriptseInOutProvider.java:103)
      4. com.sun.jbi.engine.scriptse.process.ScriptseInOutProvider.processIn(ScriptseInOutProvider.java:48)
      5. com.sun.jbi.crl.mep.proc.impl.AbstractInOutProvider.process(AbstractInOutProvider.java:54)
      6. com.sun.jbi.crl.mep.impl.DefaultMessageListener.onMessage(DefaultMessageListener.java:90)
      7. com.sun.jbi.crl.mep.impl.SingleThreadManager.invoke(SingleThreadManager.java:68)
      8. com.sun.jbi.crl.mep.impl.DefaultAcceptPoller.run(DefaultAcceptPoller.java:107)
      8 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame