4 Replies Latest reply on Mar 29, 2007 8:49 AM by Juan Ignacio Sánchez Lara

    tabPanel NullPointerException

    Juan Ignacio Sánchez Lara Apprentice

      I've copypasted tabpanel example into a working JSF page with pagers (tomcat and richfaces ones) and I get this exception when I click any tab:

      [#|2007-03-16T11:23:59.853+0100|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=11;|StandardWrapperValve[Faces Servlet]: Servlet.service() para el servlet Faces Servlet desencadenó una excepción
      java.lang.NullPointerException
       at javax.faces.event.FacesEvent.queue(FacesEvent.java:57)
       at org.richfaces.renderkit.TabPanelRendererBase.doDecode(TabPanelRendererBase.java:94)
       at org.ajax4jsf.framework.renderer.RendererBase.decode(RendererBase.java:76)
       at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:503)
       at javax.faces.component.UIInput.decode(UIInput.java:224)
       at org.richfaces.component.UISwitchablePanel.processDecodes(UISwitchablePanel.java:158)
       at javax.faces.component.UIForm.processDecodes(UIForm.java:56)
       at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:605)
       at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:138)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot.access$001(AjaxViewRoot.java:53)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot$1.invokeRoot(AjaxViewRoot.java:254)
       at org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:54)
       at org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxContext.java:176)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot.processDecodes(AjaxViewRoot.java:267)
       at org.apache.myfaces.lifecycle.ApplyRequestValuesExecutor.execute(ApplyRequestValuesExecutor.java:32)
       at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
       at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
       at sun.reflect.GeneratedMethodAccessor436.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
       at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:183)
       at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
       at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
       at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
       at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
       at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
       at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
       at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
       at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
       at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
      |#]