[jboss-dev-forums] [QA of JBoss Portal] - Jboss portal - Null pointer exception when doing
vrockai
do-not-reply at jboss.com
Fri Sep 12 06:51:41 EDT 2008
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)
| ...
|
i know that this is not an ussual usage of portal, but i guess nullpointers are bad in every case :) i got into this when trying to write an selenium test for WSRP producer configuration according to https://jira.jboss.org/jira/browse/JBPORTAL-2103, because of the same ID of consumer and producer link...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176081#4176081
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176081
More information about the jboss-dev-forums
mailing list