5 Replies Latest reply on Mar 23, 2007 4:21 PM by Sergey Smirnov

    javax.servlet.ServletException: ServletException in '/pages/

    edney imme Newbie

      Hello,

      Hi have this error when i call a program with <rich:dataTable>
      Hier is my program.

      <rich:dataTable value="#{pagedDeliveryScheduleSort.schedules}" var="abrufe" rows="15">
       <rich:column title="teste"> </rich:column>
       <f:facet name="footer">
      </rich:dataTable>


      This is die error message
      javax.servlet.ServletException: ServletException in '/pages/deliveryschedule/delivery_schedule.jsp': could not find UIData referenced by attribute dataScroller@for = 'data'
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:154)
      org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
      org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
      org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:173)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
      org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
      org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
      org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:106)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
      org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)


      root cause

      javax.faces.FacesException: ServletException in '/pages/deliveryschedule/delivery_schedule.jsp': could not find UIData referenced by attribute dataScroller@for = 'data'
      org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
      org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:236)
      org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:222)



        • 1. Re: javax.servlet.ServletException: ServletException in '/pa
          Sergey Smirnov Master

          Are you sure you post the correct code? The f:facet is not closed. The column is empty. Looks pretty strange.

          • 2. Re: javax.servlet.ServletException: ServletException in '/pa
            edney imme Newbie

            Sorry

            hier is the correct code

            <rich:dataTable value="#{pagedDeliveryScheduleSort.schedules}" var="abrufe" rows="15">
             <rich:column title="teste"> </rich:column>
             <f:facet name="footer">
             </f:facet>
             </rich:dataTable>
            


            • 3. Re: javax.servlet.ServletException: ServletException in '/pa
              Sergey Smirnov Master

              Could you put something inside the facet and column. Like:

              <rich:dataTable value="#{pagedDeliveryScheduleSort.schedules}" var="abrufe" rows="15">
               <rich:column title="teste"><h:outputText value="column"/> </rich:column>
               <f:facet name="footer">
               <h:outputText value="footer"/>
               </f:facet>
              </rich:dataTable>


              • 4. Re: javax.servlet.ServletException: ServletException in '/pa
                edney imme Newbie

                OK

                And now I have this error

                javax.servlet.ServletException: ServletException in '/pages/deliveryschedule/delivery_schedule.jsp': could not find UIData referenced by attribute dataScroller@for = 'data'
                javax.faces.webapp.FacesServlet.service(FacesServlet.java:154)
                org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
                org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
                org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:173)
                org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
                org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
                org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
                org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
                org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
                org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
                org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
                org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
                org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
                org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
                org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
                org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
                org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
                org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
                org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:106)
                org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
                org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
                org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
                org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
                org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)

                • 5. Re: javax.servlet.ServletException: ServletException in '/pa
                  Sergey Smirnov Master

                  The stack trace says about dataScroller. I did not see it in you code snippet. Do you use such component?