[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-6) Portlet Container exception handling

Rafael Liu (JIRA) jira-events at lists.jboss.org
Thu Sep 17 06:14:23 EDT 2009


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

Rafael Liu commented on GTNPORTAL-6:
------------------------------------

Another exception to handle is when Portlet Container doesn't find a used portlet:

Caused by: org.gatein.pc.api.NoSuchPortletException: No such portlet /MY_PORTLET
	at org.gatein.pc.portlet.container.ContainerPortletInvoker.getPortlet(ContainerPortletInvoker.java:99)
	at org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:82)
	at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker._getPortlet(ProducerPortletInvoker.java:183)
	at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.getPortlet(ProducerPortletInvoker.java:123)

Page blanks and I don't even get a chance to remove the problematic portlet..

> Portlet Container exception handling
> ------------------------------------
>
>                 Key: GTNPORTAL-6
>                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-6
>             Project: GateIn Portal
>          Issue Type: Bug
>            Reporter: Matt Wringe
>
> When the portal receives an error from the portlet container, it doesn't handle this exception properly.
> The portal should catch the error, log its results, and have the offending portlet's contents changed to an error message.

-- 
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