3 Replies Latest reply on Feb 17, 2006 1:18 PM by Colin Toal

    NPE in Management Portlet

    Colin Toal Newbie

      Hi all,

      I hope someone can help, and I apologize if the answer to my query is in a JIRA issue/WIKI page/forum post/doc that I have missed, but my management portlet isn't working in 2.2.0, 2.2.1RC2 or from HEAD (2.4.0ALPHA ?).

      Here are my environment details:

      MySql 5 (with Truncation fixes applied)
      JBoss 4.0.3SP1 from source built against jdk 1.5_06
      Configured against localhost:8080

      When I first load the management page, no links in the management portlet respond to any click. The screen just flashes, and there is no change in the portlet contents.

      If I maximize the management portlet (by clicking it) it disappears completely and I get the following NPE stack trace in the console:

      15:47:27,125 ERROR [[/portal-core]] 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.PortletContainer.invokeRender(PortletContainer.java:512)
      at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:429)
      at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
      at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:48)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:117)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:86)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:85)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:46)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:82)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:127)
      at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source)
      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: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(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.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247)
      at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:71)
      at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81)
      at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:108)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:47)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:67)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:62)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
      at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:84)
      at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
      at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:83)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:175)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      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:132)
      at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:66)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
      at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:115)
      at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:87)
      at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:146)
      at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:231)
      at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:164)
      at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
      at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:83)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:175)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      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:132)
      at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:56)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
      at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:115)
      at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:87)
      at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:74)
      at org.jboss.portal.core.CoreController.handle(CoreController.java:153)
      at sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source)
      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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
      at $Proxy152.handle(Unknown Source)
      at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
      at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:45)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:49)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      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:132)
      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:132)
      at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:226)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      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:132)
      at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
      at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java: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(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      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:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      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:47:27,140 ERROR [RenderPageCommand] Portlet default.management.ManagementPortletWindow got 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.PortletContainer.invokeRender(PortletContainer.java:512)
      at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:429)
      at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
      at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:48)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:117)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:86)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:85)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:46)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:82)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:127)
      at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source)
      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: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(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.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247)
      at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:71)
      at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81)
      at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:108)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:47)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:67)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:62)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
      at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:84)
      at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
      at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:83)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:175)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      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:132)
      at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:66)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
      at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:115)
      at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:87)
      at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:146)
      at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:231)
      at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:164)
      at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
      at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:83)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:175)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      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:132)
      at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:56)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
      at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:115)
      at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:87)
      at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:74)
      at org.jboss.portal.core.CoreController.handle(CoreController.java:153)
      at sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source)
      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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
      at $Proxy152.handle(Unknown Source)
      at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
      at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:45)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:49)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      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:132)
      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:132)
      at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:226)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      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:132)
      at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
      at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
      at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java: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(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      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:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      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)
      ... 159 more

      Then - if I click the back button in the browser twice the Management page will appear, (not maximized) and if I click any link in the management portlet, it draws 'maximized' and appears to start working correctly.

      If I navigate off of the management page at this point, then it will not draw at all again -- instead producing the same NPE exception stack trace as above on any request, until I log out of the portlet and log back in again.

      This behaviour is consistent no matter what build I've used (from binary, from source, from CVS), bundled or not.

      I'd appreciate any help anyone can offer - thanks,
      Colin