javax.faces.FacesException: DataModel must implement org.primefaces.model.SelectableDataModel when selection is enabled.

Stack Overflow | learner | 9 months 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

    Error on DataTable Filtering: DataModel must implement org.primefaces.model.SelectableDataModel when selection is enabled.

    Stack Overflow | 9 months ago | learner
    javax.faces.FacesException: DataModel must implement org.primefaces.model.SelectableDataModel when selection is enabled.
  2. 0

    Problemas com Combo Aninhadas (Ajax)

    Google Groups | 6 years ago | Arthur Franco Ferreira
    javax.faces.FacesException: DataTable : "notes" must be inside a form element.
  3. 0

    PrimeFaces Community Forum • View topic - DataTable : "j_idt6" must be inside a form element.

    primefaces.org | 1 year ago
    javax.faces.FacesException: DataTable : "j_idt6" must be inside a form element.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Lista disponíveis não renderiza

    GitHub | 5 months ago | lucasgueiros
    javax.faces.FacesException: DataModel must implement org.primefaces.model.SelectableDataModel when selection is enabled.
  6. 0

    Forum [JSP]: Errore "Cannot create JDBC driver of class..." | Archivio del forum HTML.it

    html.it | 1 year ago
    javax.faces.FacesException: #{MyBean.carica}: javax.faces.el.EvaluationException: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at com.sun.faces.application.ActionListenerImpl.proce ssAction(ActionListenerImpl.java:78) at javax.faces.component.UICommand.broadcast(UIComman d.java:312) at javax.faces.component.UIViewRoot.broadcastEvents(U IViewRoot.java:267) at javax.faces.component.UIViewRoot.processApplicatio n(UIViewRoot.java:381) at com.sun.faces.lifecycle.InvokeApplicationPhase.exe cute(InvokeApplicationPhase.java:75) at com.sun.faces.lifecycle.LifecycleImpl.phase(Lifecy cleImpl.java:200) at com.sun.faces.lifecycle.LifecycleImpl.execute(Life cycleImpl.java:90) at javax.faces.webapp.FacesServlet.service(FacesServl et.java:197) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:157) at org.apache.myfaces.webapp.filter.ExtensionsFilter. doFilter(ExtensionsFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invo keInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(Co yoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:683)

  1. MoYapro 2 times, last 5 months ago
2 unregistered visitors
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. javax.faces.FacesException

    DataModel must implement org.primefaces.model.SelectableDataModel when selection is enabled.

    at org.primefaces.component.datatable.DataTable.getRowKeyFromModel()
  2. primefaces
    DataTableRenderer.encodeEnd
    1. org.primefaces.component.datatable.DataTable.getRowKeyFromModel(DataTable.java:922)
    2. org.primefaces.component.datatable.DataTableRenderer.encodeRow(DataTableRenderer.java:739)
    3. org.primefaces.component.datatable.DataTableRenderer.encodeTbody(DataTableRenderer.java:651)
    4. org.primefaces.component.datatable.DataTableRenderer.encodeRegularTable(DataTableRenderer.java:234)
    5. org.primefaces.component.datatable.DataTableRenderer.encodeMarkup(DataTableRenderer.java:196)
    6. org.primefaces.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:82)
    6 frames
  3. JavaEE 7
    UIComponent.encodeAll
    1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
    2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
    2 frames
  4. JSF
    PartialVisitContext.invokeVisitCallback
    1. com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:517)
    2. com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183)
    2 frames
  5. primefaces
    UIData.visitTree
    1. org.primefaces.component.api.UIData.visitTree(UIData.java:639)
    1 frame
  6. JavaEE 7
    UIComponent.visitTree
    1. javax.faces.component.UIComponent.visitTree(UIComponent.java:1623)
    2. javax.faces.component.UIComponent.visitTree(UIComponent.java:1623)
    3. javax.faces.component.UIForm.visitTree(UIForm.java:362)
    4. javax.faces.component.UIComponent.visitTree(UIComponent.java:1623)
    5. javax.faces.component.UIComponent.visitTree(UIComponent.java:1623)
    6. javax.faces.component.UIComponent.visitTree(UIComponent.java:1623)
    7. javax.faces.component.UIComponent.visitTree(UIComponent.java:1623)
    8. javax.faces.component.UIComponent.visitTree(UIComponent.java:1623)
    8 frames
  7. JSF
    PartialViewContextImpl.processPartial
    1. com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:378)
    2. com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:298)
    2 frames
  8. JavaEE 7
    UIComponent.encodeAll
    1. javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:183)
    2. javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:979)
    3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779)
    3 frames
  9. JSF
    LifecycleImpl.render
    1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:411)
    2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124)
    3. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
    4. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    5. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    5 frames
  10. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
    1 frame
  11. 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
  12. primefaces
    FileUploadFilter.doFilter
    1. org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
    1 frame
  13. 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:171)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    10 frames
  14. Grizzly HTTP
    AprEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1822)
    3 frames
  15. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames