4 Replies Latest reply on Jan 20, 2009 10:37 AM by e c

    rich:extendedDataTable problems. (not working)

    e c Newbie

      I want to use the rich:extendedDataTable for showing a dataTable. Especially for the "Selection" thing. So i changed the rich:dataTable into rich:extendedDataTable and now it's not working anymore.

      The following error i recieved:

      HTTP Status 500 -

      --------------------------------------------------------------------------------

      type Exception report

      message

      descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: PWC1244: Servlet execution threw an exception
      root cause

      java.lang.NoSuchMethodError: org.richfaces.component.UIColumn.setVisible(Z)V
      note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1_02 logs.


      --------------------------------------------------------------------------------

      Sun Java System Application Server 9.1_02


      In my glassfish server log the following errors appear:
      Exception in the filter chain
      javax.servlet.ServletException: PWC1244: Servlet execution threw an exception
      at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:434)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
      at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      Caused by: java.lang.NoSuchMethodError: org.richfaces.component.UIColumn.setVisible(Z)V
      at org.richfaces.component.ColumnsVisibility.init(ExtendedDataTableState.java:474)
      at org.richfaces.component.ColumnsVisibility.getColumnsVisibility(ExtendedDataTableState.java:458)
      at org.richfaces.component.ExtendedDataTableState.init(ExtendedDataTableState.java:59)
      at org.richfaces.component.ExtendedDataTableState.getExtendedDataTableState(ExtendedDataTableState.java:42)
      at org.richfaces.component.UIExtendedDataTable.ensureTableStateInitialized(UIExtendedDataTable.java:125)
      at org.richfaces.renderkit.AbstractExtendedTableRenderer.preEncodeBegin(AbstractExtendedTableRenderer.java:1039)
      at org.ajax4jsf.renderkit.RendererBase.encodeBegin(RendererBase.java:98)
      at org.richfaces.renderkit.AbstractExtendedTableRenderer.encodeBegin(AbstractExtendedTableRenderer.java:1275)
      at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
      at javax.faces.component.UIData.encodeBegin(UIData.java:879)
      at org.ajax4jsf.component.UIDataAdaptor.encodeBegin(UIDataAdaptor.java:1200)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
      at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
      at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:245)
      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
      at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
      at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
      ... 34 more
      StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NoSuchMethodError: org.richfaces.component.UIColumn.setVisible(Z)V
      at org.richfaces.component.ColumnsVisibility.init(ExtendedDataTableState.java:474)
      at org.richfaces.component.ColumnsVisibility.getColumnsVisibility(ExtendedDataTableState.java:458)
      at org.richfaces.component.ExtendedDataTableState.init(ExtendedDataTableState.java:59)
      at org.richfaces.component.ExtendedDataTableState.getExtendedDataTableState(ExtendedDataTableState.java:42)
      at org.richfaces.component.UIExtendedDataTable.ensureTableStateInitialized(UIExtendedDataTable.java:125)
      at org.richfaces.renderkit.AbstractExtendedTableRenderer.preEncodeBegin(AbstractExtendedTableRenderer.java:1039)
      at org.ajax4jsf.renderkit.RendererBase.encodeBegin(RendererBase.java:98)
      at org.richfaces.renderkit.AbstractExtendedTableRenderer.encodeBegin(AbstractExtendedTableRenderer.java:1275)
      at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
      at javax.faces.component.UIData.encodeBegin(UIData.java:879)
      at org.ajax4jsf.component.UIDataAdaptor.encodeBegin(UIDataAdaptor.java:1200)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
      at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
      at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:245)
      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
      at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
      at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
      at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)


      I'm using Netbeans 6.5, with Glassfish V2 UR2 and RichFaces 3.3.0 (3.2.1 i also tried). :)

      Can somebody tell me what i'm doing wrong? :$

      Thnx!! :)

        • 1. Re: rich:extendedDataTable problems. (not working)
          e c Newbie

          This is my code of the JSP:


          <rich:extendedDataTable id="table" value="#{UserBean.userList}" var="user" width="1350">
           <rich:column>
           <f:facet name="header"><h:outputText styleClass="headerText" value="User"/></f:facet>
           <h:outputText id="user" value="#{user.user}"/>
           </rich:column>
           <rich:column>
           <f:facet name="header"><h:outputText value="Language"/></f:facet>
           <h:outputText id="language" value="#{user.language}"/>
           </rich:column>
           <rich:column>
           <f:facet name="header"><h:outputText value="Group"/></f:facet>
           <h:outputText id="group" value="#{user.group}"/>
           </rich:column>
          </rich:extendedDataTable>


          • 2. Re: rich:extendedDataTable problems. (not working)
            Mikhail Vitenkov Newbie

            Not reproducible for me at richfaces-demo.war under glassfish V2 and richfaces 3.3.0.GA. Try to upgrade richfaces to 3.3.0.GA and if issue will be reproducible in this case -let us know.

            • 3. Re: rich:extendedDataTable problems. (not working)
              e c Newbie

               

              "mvitenkov" wrote:
              Not reproducible for me at richfaces-demo.war under glassfish V2 and richfaces 3.3.0.GA. Try to upgrade richfaces to 3.3.0.GA and if issue will be reproducible in this case -let us know.


              richfaces is already 3.3.0.GA :) I'll look if it works with glassfish 3.0 :).

              • 4. Re: rich:extendedDataTable problems. (not working)
                e c Newbie

                GlassFish 3.0 needs the JSF libraries and i don't want to work with the libraries... :)
                So.. someone has the same problem.. or had, and knows how to fix?

                Can't imagine that no1 is using extendedDataTable... :O