java.lang.ClassCastException: org.zkoss.zul.Cell

ZK-Tracker | hosarb | 5 years ago
  1. 0

    When I put Cells in my grid rows, in sorting, a ClassCastException Happens. The stackTrace is : Dec 21, 2011 11:55:21 AM org.zkoss.zk.ui.impl.UiEngineImpl handleError:1279 SEVERE: >>java.lang.ClassCastException: org.zkoss.zul.Cell >> at org.zkoss.zul.RowComparator.compare(RowComparator.java:162) >> at java.util.Arrays.mergeSort(Arrays.java:1270) >> at java.util.Arrays.mergeSort(Arrays.java:1281) >> at java.util.Arrays.mergeSort(Arrays.java:1281) >> at java.util.Arrays.sort(Arrays.java:1210) >> at org.zkoss.zk.ui.Components.sort(Components.java:142) >> at org.zkoss.zk.ui.Components.sort(Components.java:93) >> at org.zkoss.zul.Column.sort0(Column.java:413) >> at org.zkoss.zul.Column.doSort(Column.java:388) >> at org.zkoss.zul.Column.sort(Column.java:360) >> at org.zkoss.zul.Column.onSort(Column.java:588) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:207) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:138) >> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1635) >> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1419) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1132) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:562) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:457) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:466) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at com.prs.solution.web.filter.locale.PRSLocaleFilter.doFilter(PRSLocaleFilter.java:40) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) >> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:111) >> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) >> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) >> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:589) >> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) >> at java.lang.Thread.run(Thread.java:619)

    ZK-Tracker | 5 years ago | hosarb
    java.lang.ClassCastException: org.zkoss.zul.Cell
  2. 0

    When I put Cells in my grid rows, in sorting, a ClassCastException Happens. The stackTrace is : Dec 21, 2011 11:55:21 AM org.zkoss.zk.ui.impl.UiEngineImpl handleError:1279 SEVERE: >>java.lang.ClassCastException: org.zkoss.zul.Cell >> at org.zkoss.zul.RowComparator.compare(RowComparator.java:162) >> at java.util.Arrays.mergeSort(Arrays.java:1270) >> at java.util.Arrays.mergeSort(Arrays.java:1281) >> at java.util.Arrays.mergeSort(Arrays.java:1281) >> at java.util.Arrays.sort(Arrays.java:1210) >> at org.zkoss.zk.ui.Components.sort(Components.java:142) >> at org.zkoss.zk.ui.Components.sort(Components.java:93) >> at org.zkoss.zul.Column.sort0(Column.java:413) >> at org.zkoss.zul.Column.doSort(Column.java:388) >> at org.zkoss.zul.Column.sort(Column.java:360) >> at org.zkoss.zul.Column.onSort(Column.java:588) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:207) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:138) >> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1635) >> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1419) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1132) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:562) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:457) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:466) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at com.prs.solution.web.filter.locale.PRSLocaleFilter.doFilter(PRSLocaleFilter.java:40) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) >> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:111) >> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) >> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) >> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:589) >> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) >> at java.lang.Thread.run(Thread.java:619)

    ZK-Tracker | 5 years ago | hosarb
    java.lang.ClassCastException: org.zkoss.zul.Cell
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    app crashes when i change the order of my XML RelativeLayout android

    Stack Overflow | 4 years ago | Aaron Russell
    java.lang.ClassCastException: android.widget.ImageView
  6. 0

    Fragment Activity in tabhost "cannot be cast to android.support.v4.app.Fragment"

    Stack Overflow | 4 years ago | Aoyama Nanami
    java.lang.ClassCastException: id.co.ajsmsig.epolicy.LoginActivity cannot be cast to android.support.v4.app.Fragment

    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

      org.zkoss.zul.Cell

      at org.zkoss.zul.RowComparator.compare()
    2. ZK XUL Components
      RowComparator.compare
      1. org.zkoss.zul.RowComparator.compare(RowComparator.java:162)
      1 frame
    3. Java RT
      Arrays.sort
      1. java.util.Arrays.mergeSort(Arrays.java:1270)
      2. java.util.Arrays.mergeSort(Arrays.java:1281)
      3. java.util.Arrays.mergeSort(Arrays.java:1281)
      4. java.util.Arrays.sort(Arrays.java:1210)
      4 frames
    4. ZK Kernel
      Components.sort
      1. org.zkoss.zk.ui.Components.sort(Components.java:142)
      2. org.zkoss.zk.ui.Components.sort(Components.java:93)
      2 frames
    5. ZK XUL Components
      Column.onSort
      1. org.zkoss.zul.Column.sort0(Column.java:413)
      2. org.zkoss.zul.Column.doSort(Column.java:388)
      3. org.zkoss.zul.Column.sort(Column.java:360)
      4. org.zkoss.zul.Column.onSort(Column.java:588)
      4 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. ZK Kernel
      DHtmlUpdateServlet.doPost
      1. org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:207)
      2. org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:138)
      3. org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1635)
      4. org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1419)
      5. org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1132)
      6. org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:562)
      7. org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:457)
      8. org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:466)
      8 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
      2 frames
    9. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    10. com.prs.solution
      PRSLocaleFilter.doFilter
      1. com.prs.solution.web.filter.locale.PRSLocaleFilter.doFilter(PRSLocaleFilter.java:40)
      1 frame
    11. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:111)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      8 frames
    12. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:589)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame