4 Replies Latest reply on Jun 27, 2006 12:39 PM by Stan Silvert

    NPE when redeploying app

    Ales Justin Master

      I'm using Seam with JBoss Portal.

      When I redeploy my app, trying to look at my login page again (which was already viewed / used before in my browser), I get the following exception:

      15:02:59,562 ERROR [[/]] Exception in FacesServlet
      java.lang.NullPointerException
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:393)
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
       at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
       at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
       at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:561)
       at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:482)
       at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:138)
       at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:165)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:62)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:63)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:104)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:196)
       at org.jboss.portal.portlet.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:68)
       at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:84)
       at org.jboss.portal.portlet.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:74)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:108)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:50)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:60)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:109)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy41.invoke(Unknown Source)
       at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke(StatefulPortletInvoker.java:181)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy43.invoke(Unknown Source)
       at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:134)
       at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:159)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy39.invoke(Unknown Source)
       at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:61)
       at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:82)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:125)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy28.invoke(Unknown Source)
       at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:266)
       at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:121)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:89)
       at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:148)
       at org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(MarkupCommand.java:426)
       at org.jboss.portal.core.command.RenderPageCommand.renderFragments(RenderPageCommand.java:76)
       at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:274)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:89)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:76)
       at org.jboss.portal.core.CoreController.handle(CoreController.java:125)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
       at $Proxy220.handle(Unknown Source)
       at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:73)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:84)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.server.aspects.server.ParametersInterceptor.invoke(ParametersInterceptor.java:107)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:229)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      15:02:59,578 ERROR [MyFacesGenericPortlet] The portlet threw an exception
      javax.portlet.PortletException: java.lang.NullPointerException
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:257)
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:400)
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
       at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
       at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
       at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:561)
       at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:482)
       at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:138)
       at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:165)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:62)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:63)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:104)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:196)
       at org.jboss.portal.portlet.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:68)
       at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:84)
       at org.jboss.portal.portlet.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:74)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:108)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:50)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:60)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:109)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy41.invoke(Unknown Source)
       at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke(StatefulPortletInvoker.java:181)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy43.invoke(Unknown Source)
       at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:134)
       at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:159)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy39.invoke(Unknown Source)
       at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:61)
       at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:82)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:125)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy28.invoke(Unknown Source)
       at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:266)
       at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:121)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:89)
       at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:148)
       at org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(MarkupCommand.java:426)
       at org.jboss.portal.core.command.RenderPageCommand.renderFragments(RenderPageCommand.java:76)
       at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:274)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:89)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:76)
       at org.jboss.portal.core.CoreController.handle(CoreController.java:125)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
       at $Proxy220.handle(Unknown Source)
       at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:73)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:84)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.server.aspects.server.ParametersInterceptor.invoke(ParametersInterceptor.java:107)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:229)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NullPointerException
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:393)
       ... 228 more
      15:02:59,578 ERROR [ControllerCommand] Rendering portlet window default.GemaTest.LoginPortletWindow triggered the following error :
      javax.portlet.PortletException: java.lang.NullPointerException
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:257)
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:400)
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
       at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
       at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
       at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:561)
       at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:482)
       at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:138)
       at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:165)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:62)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:63)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:104)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:196)
       at org.jboss.portal.portlet.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:68)
       at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:84)
       at org.jboss.portal.portlet.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:74)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:108)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:50)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:60)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:109)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy41.invoke(Unknown Source)
       at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke(StatefulPortletInvoker.java:181)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy43.invoke(Unknown Source)
       at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:134)
       at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:159)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy39.invoke(Unknown Source)
       at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:61)
       at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:82)
       at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:125)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy28.invoke(Unknown Source)
       at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:266)
       at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:121)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:89)
       at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:148)
       at org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(MarkupCommand.java:426)
       at org.jboss.portal.core.command.RenderPageCommand.renderFragments(RenderPageCommand.java:76)
       at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:274)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:89)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:76)
       at org.jboss.portal.core.CoreController.handle(CoreController.java:125)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
       at $Proxy220.handle(Unknown Source)
       at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
       at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:73)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:84)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.server.aspects.server.ParametersInterceptor.invoke(ParametersInterceptor.java:107)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
       at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
       at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:229)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NullPointerException
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:393)
       ... 228 more
      15:04:00,062 WARN [SeamVariableResolver] Seam component hides managed bean with same name
      15:04:00,062 WARN [SeamVariableResolver] Seam component hides managed bean with same name
      15:04:00,078 WARN [SeamVariableResolver] Seam component hides managed bean with same name
      15:04:00,093 WARN [SeamVariableResolver] Seam component hides managed bean with same name
      15:04:00,093 WARN [SeamVariableResolver] Seam component hides managed bean with same name
      15:04:00,093 WARN [SeamVariableResolver] Seam component hides managed bean with same name
      15:04:00,109 WARN [SeamVariableResolver] Seam component hides managed bean with same name
      


      Should I save faces state on the server?