0 Replies Latest reply on May 16, 2006 11:33 PM by Eric Chow

    JSF Portlet always raised NULL exception when redeploy in EA

    Eric Chow Apprentice

      Hello,

      I am not what problem caused the null exception when redeploy the EAR if using the JSF portlet.

      I bundled the WARs (JSF portlets) in an EAR and deploy into JBoss4.0.4GA+JBP2.2.1.

      The application works fine when fresh deploy but it always raised the following exception when redeploy. Each time met this, I have to restart JBoss. Any solution for this ???


      11:29:12,968 ERROR [[/categoryportlet]] Exception in FacesServlet
      java.lang.NullPointerException
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesG
      enericPortlet.java:392)
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGeneri
      cPortlet.java:265)
       at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
       at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
       at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContain
      er.java:521)
       at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.j
      ava:433)
       at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInv
      ocation.java:79)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:140)
       at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke
      (TransactionInterceptor.java:72)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(Head
      erInterceptor.java:50)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.component.NavigationInterceptor.invok
      e(NavigationInterceptor.java:76)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(Cac
      heInterceptor.java:111)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(Mod
      esInterceptor.java:88)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.inv
      oke(WindowStatesInterceptor.java:87)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.ja
      va:49)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterce
      ptor.invoke(SessionPostDispatchInterceptor.java:65)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.component.ContextDispatcherIntercepto
      r$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:129)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.j
      ava:101)
       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(Appl
      icationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
      atcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
      ispatcher.java:539)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
      patcher.java:499)
       at org.jboss.portal.server.app.impl.AbstractRequestContext.include(Abstr
      actRequestContext.java:247)
       at org.jboss.portal.server.aspects.component.ContextDispatcherIntercepto
      r$1.include(ContextDispatcherInterceptor.java:73)
       at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet
      .java:81)
       at org.jboss.portal.server.aspects.component.ContextDispatcherIntercepto
      r.invoke(ContextDispatcherInterceptor.java:79)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.portlet.aspects.component.SessionPreDispatchIntercep
      tor.invoke(SessionPreDispatchInterceptor.java:94)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.i
      nvoke(ContextTrackerInterceptor.java:49)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor
      .invoke(SecureTransportInterceptor.java:69)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(Va
      lveInterceptor.java:64)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:
      175)
       at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindo
      wCommand.java:84)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCo
      mmand.java:78)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:140)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.
      invoke(EventBroadcasterInterceptor.java:85)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor
      .invoke(PolicyEnforcementInterceptor.java:168)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke
      (PortalNodeInterceptor.java:61)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke
      (NavigationInterceptor.java:68)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:
      175)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.j
      ava:107)
       at org.jboss.portal.core.command.CommandContext.chain(CommandContext.jav
      a:141)
       at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(Render
      PageCommand.java:231)
       at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCom
      mand.java:164)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCo
      mmand.java:78)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:140)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.
      invoke(EventBroadcasterInterceptor.java:85)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor
      .invoke(PolicyEnforcementInterceptor.java:168)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke
      (PortalNodeInterceptor.java:61)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke
      (NavigationInterceptor.java:58)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:
      175)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.j
      ava:107)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionConte
      xt.java:93)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionConte
      xt.java:77)
       at org.jboss.portal.core.CoreController.handle(CoreController.java:190)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.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.ja
      va:287)
       at $Proxy185.handle(Unknown Source)
       at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.ja
      va:76)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:140)
       at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.in
      voke(SubjectAssociationInterceptor.java:47)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.inv
      oke(PolicyAssociationInterceptor.java:52)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(
      ContentTypeInterceptor.java:68)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleI
      nterceptor.java:69)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInter
      ceptor.java:184)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.
      invoke(SessionInvalidatorInterceptor.java:87)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(Tr
      ansactionInterceptor.java:75)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:
      175)
       at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.jav
      a:221)
       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(Appl
      icationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:432)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      11:29:12,984 ERROR [MyFacesGenericPortlet] The portlet threw an exception
      javax.portlet.PortletException: java.lang.NullPointerException
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromL
      ifecycle(MyFacesGenericPortlet.java:256)
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesG
      enericPortlet.java:399)
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGeneri
      cPortlet.java:265)
       at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
       at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
       at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContain
      er.java:521)
       at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.j
      ava:433)
       at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInv
      ocation.java:79)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:140)
       at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke
      (TransactionInterceptor.java:72)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(Head
      erInterceptor.java:50)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.component.NavigationInterceptor.invok
      e(NavigationInterceptor.java:76)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(Cac
      heInterceptor.java:111)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(Mod
      esInterceptor.java:88)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.inv
      oke(WindowStatesInterceptor.java:87)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.ja
      va:49)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterce
      ptor.invoke(SessionPostDispatchInterceptor.java:65)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.component.ContextDispatcherIntercepto
      r$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:129)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.j
      ava:101)
       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(Appl
      icationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
      atcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
      ispatcher.java:539)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
      patcher.java:499)
       at org.jboss.portal.server.app.impl.AbstractRequestContext.include(Abstr
      actRequestContext.java:247)
       at org.jboss.portal.server.aspects.component.ContextDispatcherIntercepto
      r$1.include(ContextDispatcherInterceptor.java:73)
       at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet
      .java:81)
       at org.jboss.portal.server.aspects.component.ContextDispatcherIntercepto
      r.invoke(ContextDispatcherInterceptor.java:79)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.portlet.aspects.component.SessionPreDispatchIntercep
      tor.invoke(SessionPreDispatchInterceptor.java:94)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.i
      nvoke(ContextTrackerInterceptor.java:49)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor
      .invoke(SecureTransportInterceptor.java:69)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(Va
      lveInterceptor.java:64)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
      rceptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:
      175)
       at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindo
      wCommand.java:84)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCo
      mmand.java:78)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:140)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.
      invoke(EventBroadcasterInterceptor.java:85)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor
      .invoke(PolicyEnforcementInterceptor.java:168)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke
      (PortalNodeInterceptor.java:61)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke
      (NavigationInterceptor.java:68)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:
      175)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.j
      ava:107)
       at org.jboss.portal.core.command.CommandContext.chain(CommandContext.jav
      a:141)
       at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(Render
      PageCommand.java:231)
       at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCom
      mand.java:164)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCo
      mmand.java:78)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:140)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.
      invoke(EventBroadcasterInterceptor.java:85)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor
      .invoke(PolicyEnforcementInterceptor.java:168)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke
      (PortalNodeInterceptor.java:61)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke
      (NavigationInterceptor.java:58)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
      eptor.java:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:
      175)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.j
      ava:107)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionConte
      xt.java:93)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionConte
      xt.java:77)
       at org.jboss.portal.core.CoreController.handle(CoreController.java:190)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.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.ja
      va:287)
       at $Proxy185.handle(Unknown Source)
       at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.ja
      va:76)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:140)
       at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.in
      voke(SubjectAssociationInterceptor.java:47)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.inv
      oke(PolicyAssociationInterceptor.java:52)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(
      ContentTypeInterceptor.java:68)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleI
      nterceptor.java:69)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInter
      ceptor.java:184)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.
      invoke(SessionInvalidatorInterceptor.java:87)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(Tr
      ansactionInterceptor.java:75)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
      va:38)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
      ava:130)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:
      175)
       at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.jav
      a:221)
       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(Appl
      icationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:432)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NullPointerException
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesG
      enericPortlet.java:392)
       ... 162 more