[
https://jira.jboss.org/jira/browse/GTNPC-19?page=com.atlassian.jira.plugi...
]
Matt Wringe updated GTNPC-19:
-----------------------------
Attachment: pc-empty-portlet-info.patch
simple patch which creates the empty portlet-info if it doesn't exist.
Also updates the tests to test for this situation.
No portlet info section in portlet.xml leads to display a portlet
error
-----------------------------------------------------------------------
Key: GTNPC-19
URL:
https://jira.jboss.org/jira/browse/GTNPC-19
Project: GateIn Portlet Container
Issue Type: Bug
Reporter: Julien Viet
Assignee: Matt Wringe
Attachments: pc-empty-portlet-info.patch
java.util.MissingResourceException: Can't find resource for bundle
org.gatein.common.i18n.ParentChildResourceBundle, key javax.portlet.title
at java.util.ResourceBundle.getObject(ResourceBundle.java:325)
at java.util.ResourceBundle.getString(ResourceBundle.java:285)
at javax.portlet.GenericPortlet.getTitle(GenericPortlet.java:261)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:232)
at
org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:569)
at
org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)
at
org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)
at
org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:506)
at
org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
followed by
java.lang.NullPointerException
at
org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:293)
at
org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:61)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira