[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-910) No portlet info section in portlet.xml leads to display a portlet error

Matt Wringe (JIRA) jira-events at lists.jboss.org
Thu Mar 18 12:01:38 EDT 2010


    [ https://jira.jboss.org/jira/browse/GTNPORTAL-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12520677#action_12520677 ] 

Matt Wringe commented on GTNPORTAL-910:
---------------------------------------

Its an issue with the portlet container, we are not creating a default portlet-info section (if you create an empty portlet-info section without the title element, then it will create a title and it will work properly).

I can't reproduce an issue with a missing <supported-locale>, what error are you getting for that?

> No portlet info section in portlet.xml leads to display a portlet error
> -----------------------------------------------------------------------
>
>                 Key: GTNPORTAL-910
>                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-910
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.0.0-GA
>            Reporter: Julien Viet
>            Assignee: Matt Wringe
>             Fix For: 3.1.0-GA
>
>
> 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

        


More information about the gatein-issues mailing list