Board index JavaServer Faces General problem with p:datatable - lazy loading not work

problem with p:datatable - lazy loading not work

Components, Ajax Framework, Utilities and More.


Posts: 1
I tried using primefaces 1.1 datatable with lazy load, i follow the tutorials, which were always the same, but it did not work for me. is this some bug for this version?
then I put the jsf 2 and primefaces 2.1 in seam 2.2.0, but gave seuinte error:

Exception during request processing:
Caused by javax.servlet.ServletException with message: ""
javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)...

Caused by java.lang.NullPointerException with message: ""
org.primefaces.context.PrimeExternalContext.redirect(PrimeExternalContext.java:45)
javax.faces.context.ExternalContextWrapper.redirect(ExternalContextWrapper.java:458)
org.primefaces.context.PrimeExternalContext.redirect(PrimeExternalContext.java:58)
org.jboss.seam.faces.FacesManager.redirect(FacesManager.java:220)
org.jboss.seam.faces.FacesManager.redirect(FacesManager.java:185)
org.jboss.seam.faces.Navigator.redirect(Navigator.java:55)
org.jboss.seam.navigation.RedirectNavigationHandler.navigate(RedirectNavigationHandler.java:61)
org.jboss.seam.navigation.Rule.execute(Rule.java:101)
org.jboss.seam.navigation.Navigation.navigate(Navigation.java:58)
org.jboss.seam.navigation.Pages.navigate(Pages.java:203)
org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:42)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:126)
javax.faces.component.UICommand.broadcast(UICommand.java:311)
org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)
org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)
org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)


please!

Return to General