[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1968) Trying to list the portlet definitions of a remote (WSRP) producer crashes the "portlet definitions" page.
Andreas Chlupacek (JIRA)
jira-events at lists.jboss.org
Fri Mar 28 11:47:40 EDT 2008
Trying to list the portlet definitions of a remote (WSRP) producer crashes the "portlet definitions" page.
----------------------------------------------------------------------------------------------------------
Key: JBPORTAL-1968
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1968
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Core Admin
Affects Versions: 2.6.3 Final
Environment: JBoss Portal 2.6.3 / JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
Java version: 1.5.0_11,Sun Microsystems Inc.
Java VM: Java HotSpot(TM) Client VM 1.5.0_11-b03,Sun Microsystems Inc.
OS-System: Windows 2000 5.0,x86
Reporter: Andreas Chlupacek
Two server instances (1 Producer, 1 Consumer) running on the same machine (launched from within Eclipse IDE/JBoss Tools, from two separate launch configurations). Server configurations were provided in distinct directories under JBOSS_HOME/server, the first named "default", the second named "second". In order to avoid port conflicts, service bindings for configuration "second" were altered in JBOSS_HOME/server/second/conf/jboss-service.xml so that the second server loads its bindings from the "ports-01" configuration specified in JBOSS_HOME/docs/examples/binding-manager/sample-bindings.xml.
Steps to reproduce:
===================
The server instance running in "default" configuration is used as consumer, the one running in "second" configuration as producer.
In the WSRP configuration portlet, create a new WSRP consumer named "WSRPTest" on the "default" instance with the following attributes:
Producer id: WSRPTest
Cache expiration: 60
Endpoint configuration not using WSDL
Service Description URL: http://localhost:8180/portal-wsrp/ServiceDescriptionService
Markup URL: http://localhost:8180/portal-wsrp/MarkupService
Registration URL: http://localhost:8180/portal-wsrp/RegistrationService
Portlet Management URL: http://localhost:8180/portal-wsrp/PortletManagementService
On the same server ("default"), navigate to the "Portlet definitions" tab in the management portlet. Then select the newly created "WSRPTest" portlet provider and click on "View portlets".
Observed behaviour:
===================
The page fails to render. Excerpts from the stack trace (full trace is attached):
14:11:46,469 ERROR [STDERR] 28.03.2008 14:11:46 com.sun.facelets.FaceletViewHandler handleRenderException
SCHWERWIEGEND: Error Rendering View[/WEB-INF/jsf/portlets.xhtml]
javax.el.ELException: /WEB-INF/jsf/portlets.xhtml: null
at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:49)
at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:34)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:412)
[...]
14:11:46,469 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:198)
at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:233)
[...]
Caused by: java.lang.NullPointerException
14:11:46,578 ERROR [STDERR]
at org.jboss.portal.core.admin.ui.AdminPropertyResolver.getValueForRequestLocale(AdminPropertyResolver.java:444)
[...]
14:11:46,578 ERROR [[/portal-admin]] /WEB-INF/jsf/portlets.xhtml: null
javax.el.ELException: /WEB-INF/jsf/portlets.xhtml: null
at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:49)
at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:34)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:412)
[...]
14:11:46,672 ERROR [[/portal-admin]] Root cause
java.lang.NullPointerException
at org.jboss.portal.core.admin.ui.AdminPropertyResolver.getValueForRequestLocale(AdminPropertyResolver.java:444)
[...]
14:11:47,250 ERROR [org_jboss_portal_faces_loader_FacesPortlet] The portlet threw an exception
javax.portlet.PortletException: /WEB-INF/jsf/portlets.xhtml: null
at org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:310)
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)
[...]
Caused by: javax.el.ELException: /WEB-INF/jsf/portlets.xhtml: null
at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:49)
at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:34)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:412)
[...]
Caused by: java.lang.NullPointerException
at org.jboss.portal.core.admin.ui.AdminPropertyResolver.getValueForRequestLocale(AdminPropertyResolver.java:444)
at org.jboss.portal.core.admin.ui.AdminPropertyResolver.access$000(AdminPropertyResolver.java:76)
[...]
14:11:47,391 ERROR [DefaultPageControlPolicy] Rendering portlet window produced an error
javax.portlet.PortletException: /WEB-INF/jsf/portlets.xhtml: null
at org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:310)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:502)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:323)
[...]
Caused by: javax.el.ELException: /WEB-INF/jsf/portlets.xhtml: null
at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:49)
[...]
Caused by: java.lang.NullPointerException
at org.jboss.portal.core.admin.ui.AdminPropertyResolver.getValueForRequestLocale(AdminPropertyResolver.java:444)
[...]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list