java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to java.lang.Comparable

Terracotta | clarissa | 3 years ago
  1. 0

    Exception while using sorting on Object field

    Terracotta | 3 years ago | clarissa
    java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to java.lang.Comparable
  2. 0

    JaxB cannot be cast to java.lang.Integer

    Stack Overflow | 4 years ago | Rodrigo
    java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to java.lang.Integer
  3. 0

    [#WSIT-1614] SOAPFaultException on client not created, if STS returns a FaultMessage

    java.net | 3 months ago
    java.lang.RuntimeException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestSecurityTokenResponseType
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Intermittent ClassCastException from ElementNSImpl to own type during unmarshalling

    Stack Overflow | 8 years ago | Boris Terzic
    java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to com.foobar.TunnelType
  6. 0

    Using the SDO in BPEL fails

    Oracle Community | 6 years ago | 780096
    java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to oracle.xml.parser.v2.XMLElement

    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

      com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to java.lang.Comparable

      at net.sf.ehcache.search.impl.OrderComparator$AscendingComparator.compare()
    2. Ehcache
      OrderComparator.compare
      1. net.sf.ehcache.search.impl.OrderComparator$AscendingComparator.compare(OrderComparator.java:103)
      2. net.sf.ehcache.search.impl.OrderComparator$AscendingComparator.compare(OrderComparator.java:79)
      3. net.sf.ehcache.search.impl.OrderComparator.compare(OrderComparator.java:68)
      4. net.sf.ehcache.search.impl.OrderComparator.compare(OrderComparator.java:32)
      4 frames
    3. Java RT
      Arrays.mergeSort
      1. java.util.Arrays.mergeSort(Unknown Source)
      1 frame