version: JBoss Portal 2.6.6 GA
steps:
0. run JBoss on localhost (http://localhost:8080/portal/)
1. login as admin
2. click admin
3. click WSRP tab
4. manualy type this adrees into the adress bar
http://localhost:8080/portal/auth/portal/admin/WSRP/WSRPConfigurationPortletWindow?action=e&windowstate=normal&mode=view&org.apache.myfaces.portlet.MyFacesGenericPortlet.VIEW_ID=%2FWEB-INF%2Fjsf%2Fproducer%2Fproducer.xhtml
then the exception will raise:
ERROR Cause: javax.portlet.PortletException: java.lang.NullPointerException Message: java.lang.NullPointerException StackTrace: javax.portlet.PortletException: java.lang.NullPointerException at org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:313) at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:502) at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:323) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133) at javax.portlet.GenericPortlet.render(GenericPortlet.java:306) at org.jboss.portal.faces.loader.FacesPortlet.render(FacesPortlet.java:100) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483) ...
Not sure why this happens... but it doesn't happen in 2.7