6 Replies Latest reply on Aug 7, 2009 5:08 AM by Serhiy Zastavnyy

    NPE in ExtendedDataTable

    Serhiy Zastavnyy Novice

      Hello

      I had NPE when trying to group by column.
      May be you could check this in sources.
      I have column with boolean expression and show picture there according to value.

      
      java.lang.NullPointerException at org.richfaces.component.UIExtendedDataTable.getGroupPriority(UIExtendedDataTable.java:265) at org.richfaces.component.UIExtendedDataTable.createDataModel(UIExtendedDataTable.java:310) at org.ajax4jsf.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:621) at org.ajax4jsf.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:339) at org.ajax4jsf.component.UIDataAdaptor.iterate(UIDataAdaptor.java:1017) at org.ajax4jsf.component.UIDataAdaptor.encodeAjaxChild(UIDataAdaptor.java:496) at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:146) at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83) at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157) at
      


        • 2. Re: NPE in ExtendedDataTable
          Serhiy Zastavnyy Novice

          I just added to my ExtendedDataTable column like this:

          
          
           src = "#{item.booleanValue ? '" + "/images/yes.png" + " ' : ' "+"/images/no.png" + "'}";
          
           HtmlColumn col = new HtmlColumn();
          
           col.setId(id);
          
           col.getChildren().add( getGraphicImage(src) );
          
           col.setHeaderClass("dataTableHeader");
           col.getFacets().put("header", header);
          
           col.setWidth(width);
          
           ValueExpression exp = FacesContext.getCurrentInstance().getApplication().getExpressionFactory().
           createValueExpression(FacesContext.getCurrentInstance().getELContext(), src, String.class);
          
           col.setSelfSorted(true);
           col.setValueExpression("sortBy", exp);
          
          
          
          
          
          
           public static UIComponent getGraphicImage(String src){
          
           HtmlGraphicImage x = new HtmlGraphicImage();
          
           x.setValueExpression("value", FacesContext.getCurrentInstance().getApplication().getExpressionFactory().
           createValueExpression(FacesContext.getCurrentInstance().getELContext(), src, String.class));
          
          
           return x;
           }
          
          


          Sorting works fine, but when I tried to group data by this column - I had NPE.

          • 3. Re: NPE in ExtendedDataTable
            Ilya Shaikovsky Master

            please show full exception

            • 4. Re: NPE in ExtendedDataTable
              Serhiy Zastavnyy Novice

              here it is:

              
               [java] SEVERE: Error Rendering View[/view/portal.xhtml]
               [java] javax.faces.FacesException: java.lang.NullPointerException
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:725)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at org.ajax4jsf.component.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:543)
               [java] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
               [java] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
               [java] at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
               [java] at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
               [java] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
               [java] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
               [java] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
               [java] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
               [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
               [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               [java] at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
               [java] at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
               [java] at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
               [java] at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
               [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               [java] at com.coral.utils.security.CheckRequestFilter.doFilter(CheckRequestFilter.java:62)
               [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               [java] at com.coral.utils.i18n.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:35)
               [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
               [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
               [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
               [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
               [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
               [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
               [java] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
               [java] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
               [java] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
               [java] at java.lang.Thread.run(Thread.java:595)
               [java] Caused by: java.lang.NullPointerException
               [java] at org.richfaces.component.UIExtendedDataTable.getGroupPriority(UIExtendedDataTable.java:265)
               [java] at org.richfaces.component.UIExtendedDataTable.createDataModel(UIExtendedDataTable.java:310)
               [java] at org.ajax4jsf.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:621)
               [java] at org.ajax4jsf.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:339)
               [java] at org.ajax4jsf.component.UIDataAdaptor.iterate(UIDataAdaptor.java:1017)
               [java] at org.ajax4jsf.component.UIDataAdaptor.encodeAjaxChild(UIDataAdaptor.java:496)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:146)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:123)
               [java] at org.ajax4jsf.component.UIAjaxRegion.encodeAjax(UIAjaxRegion.java:263)
               [java] at org.ajax4jsf.component.AjaxViewRoot$4.invokeContextCallback(AjaxViewRoot.java:489)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:722)
               [java] ... 46 more
               [java] 6/8/2009 21:53:11 com.sun.faces.lifecycle.Phase doPhase
               [java] SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /view/portal.xhtml) Exception thrown during phase execution: javax.
              faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@38e9e9]
               [java] 21:53:11,386 ERROR BaseXMLFilter:199 - Exception in the filter chain
               [java] javax.servlet.ServletException
               [java] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
               [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
               [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               [java] at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
               [java] at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
               [java] at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
               [java] at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
               [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               [java] at com.coral.utils.security.CheckRequestFilter.doFilter(CheckRequestFilter.java:62)
               [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               [java] at com.coral.utils.i18n.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:35)
               [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
               [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
               [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
               [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
               [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
               [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
               [java] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
               [java] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
               [java] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
               [java] at java.lang.Thread.run(Thread.java:595)
               [java] Caused by: java.lang.NullPointerException
               [java] at org.richfaces.component.UIExtendedDataTable.getGroupPriority(UIExtendedDataTable.java:265)
               [java] at org.richfaces.component.UIExtendedDataTable.createDataModel(UIExtendedDataTable.java:310)
               [java] at org.ajax4jsf.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:621)
               [java] at org.ajax4jsf.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:339)
               [java] at org.ajax4jsf.component.UIDataAdaptor.iterate(UIDataAdaptor.java:1017)
               [java] at org.ajax4jsf.component.UIDataAdaptor.encodeAjaxChild(UIDataAdaptor.java:496)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:146)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:123)
               [java] at org.ajax4jsf.component.UIAjaxRegion.encodeAjax(UIAjaxRegion.java:263)
               [java] at org.ajax4jsf.component.AjaxViewRoot$4.invokeContextCallback(AjaxViewRoot.java:489)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:722)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at org.ajax4jsf.component.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:543)
               [java] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
               [java] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
               [java] at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
               [java] at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
               [java] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
               [java] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
               [java] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
               [java] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
               [java] ... 24 more
               [java] 6/8/2009 21:53:11 org.apache.catalina.core.StandardWrapperValve invoke
               [java] SEVERE: Servlet.service() for servlet Faces Servlet threw exception
               [java] java.lang.NullPointerException
               [java] at org.richfaces.component.UIExtendedDataTable.getGroupPriority(UIExtendedDataTable.java:265)
               [java] at org.richfaces.component.UIExtendedDataTable.createDataModel(UIExtendedDataTable.java:310)
               [java] at org.ajax4jsf.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:621)
               [java] at org.ajax4jsf.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:339)
               [java] at org.ajax4jsf.component.UIDataAdaptor.iterate(UIDataAdaptor.java:1017)
               [java] at org.ajax4jsf.component.UIDataAdaptor.encodeAjaxChild(UIDataAdaptor.java:496)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:146)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
               [java] at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
               [java] at org.ajax4jsf.renderkit.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:123)
               [java] at org.ajax4jsf.component.UIAjaxRegion.encodeAjax(UIAjaxRegion.java:263)
               [java] at org.ajax4jsf.component.AjaxViewRoot$4.invokeContextCallback(AjaxViewRoot.java:489)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:722)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
               [java] at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
               [java] at org.ajax4jsf.component.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:543)
               [java] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
               [java] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
               [java] at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
               [java] at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
               [java] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
               [java] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
               [java] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
               [java] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
               [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
               [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               [java] at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
               [java] at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
               [java] at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
               [java] at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
               [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               [java] at com.coral.utils.security.CheckRequestFilter.doFilter(CheckRequestFilter.java:62)
               [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               [java] at com.coral.utils.i18n.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:35)
               [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
               [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
               [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
               [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
               [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
               [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
               [java] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
               [java] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
               [java] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
               [java] at java.lang.Thread.run(Thread.java:595)
              
              


              • 5. Re: NPE in ExtendedDataTable
                Ilya Shaikovsky Master

                do you able to create simple war sample and upload somewhere with java sources?

                • 6. Re: NPE in ExtendedDataTable
                  Serhiy Zastavnyy Novice

                  I will do it in few days.
                  What address should I send sources to ?