java.lang.ClassCastException: javax.faces.model.ListDataModel cannot be cast to org.icefaces.ace.model.table.LazyDataModel

Icesoft | alessandrotucci | 3 years ago
  1. 0

    Error with lazy loading in DataTable and filtering criteria set before rendering

    icesoft.org | 1 year ago
    java.lang.ClassCastException: javax.faces.model.ListDataModel cannot be cast to org.icefaces.ace.model.table.LazyDataModel
  2. 0

    Error with lazy loading in DataTable and filtering criteria set before rendering

    Icesoft | 3 years ago | alessandrotucci
    java.lang.ClassCastException: javax.faces.model.ListDataModel cannot be cast to org.icefaces.ace.model.table.LazyDataModel
  3. 0

    ace:dataTable filterValue on a column initialized to a concrete string fails

    Icesoft | 4 years ago | lacinos
    java.lang.ClassCastException: javax.faces.model.ListDataModel cannot be cast to org.icefaces.ace.model.table.LazyDataModel
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    p:dataExporter not working for LazyDataModel in Primefaces 5.1

    Stack Overflow | 2 years ago | Gatschet
    java.lang.ClassCastException: javax.faces.model.ListDataModel cannot be cast to org.primefaces.model.LazyDataModel
  6. 0

    PrimeFaces Community Forum • View topic - ListDataModel cannot be cast to LazyDataModel

    primefaces.org | 1 year ago
    java.lang.ClassCastException: javax.faces.model.ListDataModel cannot be cast to org.primefaces.model.LazyDataModel

    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

      javax.faces.model.ListDataModel cannot be cast to org.icefaces.ace.model.table.LazyDataModel

      at org.icefaces.ace.component.datatable.DataTable.loadLazyData()
    2. org.icefaces.ace
      DataTableRenderer.encodeEnd
      1. org.icefaces.ace.component.datatable.DataTable.loadLazyData(DataTable.java:1308)
      2. org.icefaces.ace.component.datatable.DataTableRenderer.encodeTableBody(DataTableRenderer.java:209)
      3. org.icefaces.ace.component.datatable.DataTableRenderer.encodeTable(DataTableRenderer.java:181)
      4. org.icefaces.ace.component.datatable.DataTableRenderer.encodeEntirety(DataTableRenderer.java:142)
      5. org.icefaces.ace.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:107)
      5 frames
    3. JavaEE 7
      UIComponentBase.encodeEnd
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
      1 frame
    4. org.icefaces.ace
      PanelRenderer.encodeEnd
      1. org.icefaces.ace.renderkit.CoreRenderer.renderChild(CoreRenderer.java:77)
      2. org.icefaces.ace.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:61)
      3. org.icefaces.ace.component.panel.PanelRenderer.encodeContent(PanelRenderer.java:209)
      4. org.icefaces.ace.component.panel.PanelRenderer.encodeMarkup(PanelRenderer.java:130)
      5. org.icefaces.ace.component.panel.PanelRenderer.encodeEnd(PanelRenderer.java:71)
      5 frames
    5. JavaEE 7
      UIComponentBase.encodeEnd
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
      1 frame
    6. org.icefaces.ace
      PanelRenderer.encodeEnd
      1. org.icefaces.ace.renderkit.CoreRenderer.renderChild(CoreRenderer.java:77)
      2. org.icefaces.ace.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:61)
      3. org.icefaces.ace.component.panel.PanelRenderer.encodeContent(PanelRenderer.java:209)
      4. org.icefaces.ace.component.panel.PanelRenderer.encodeMarkup(PanelRenderer.java:130)
      5. org.icefaces.ace.component.panel.PanelRenderer.encodeEnd(PanelRenderer.java:71)
      5 frames
    7. JavaEE 7
      Renderer.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1764)
      3. javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
      3 frames
    8. org.icefaces.impl
      RendererWrapper.encodeChildren
      1. org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49)
      1 frame
    9. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
      1 frame
    10. org.icefaces.ace
      PanelRenderer.encodeEnd
      1. org.icefaces.ace.renderkit.CoreRenderer.renderChild(CoreRenderer.java:73)
      2. org.icefaces.ace.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:61)
      3. org.icefaces.ace.component.panel.PanelRenderer.encodeContent(PanelRenderer.java:209)
      4. org.icefaces.ace.component.panel.PanelRenderer.encodeMarkup(PanelRenderer.java:130)
      5. org.icefaces.ace.component.panel.PanelRenderer.encodeEnd(PanelRenderer.java:71)
      5 frames
    11. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1764)
      3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760)
      4. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760)
      4 frames
    12. JSF
      MultiViewHandler.renderView
      1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402)
      2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
      2 frames
    13. org.springframework.faces
      FlowViewHandler.renderView
      1. org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:99)
      1 frame
    14. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      3 frames
    15. org.springframework.faces
      JsfView.render
      1. org.springframework.faces.webflow.FlowLifecycle.render(FlowLifecycle.java:80)
      2. org.springframework.faces.webflow.JsfView.render(JsfView.java:89)
      2 frames
    16. Spring Web Flow
      FlowHandlerAdapter.handle
      1. org.springframework.webflow.engine.ViewState.render(ViewState.java:296)
      2. org.springframework.webflow.engine.ViewState.refresh(ViewState.java:243)
      3. org.springframework.webflow.engine.ViewState.resume(ViewState.java:221)
      4. org.springframework.webflow.engine.Flow.resume(Flow.java:545)
      5. org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:258)
      6. org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169)
      7. org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)
      7 frames
    17. org.springframework.faces
      JsfFlowHandlerAdapter.handle
      1. org.springframework.faces.webflow.JsfFlowHandlerAdapter.handle(JsfFlowHandlerAdapter.java:48)
      1 frame
    18. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
      2. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
      3. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
      4. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
      4 frames
    19. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      2 frames
    20. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    21. Spring Security
      FilterChainProxy.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
      2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
      3. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
      4. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      5. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
      6. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      7. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
      8. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      9. org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
      10. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      11. org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
      12. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      13. org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
      14. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      15. org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
      16. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      17. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
      18. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      19. org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
      20. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      21. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
      22. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
      23. org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
      24. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
      24 frames
    22. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
      2 frames
    23. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    24. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      2 frames
    25. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      10 frames
    26. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
      3 frames
    27. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      3. java.lang.Thread.run(Thread.java:722)
      3 frames