[ http://issues.apache.org/jira/browse/PB-47?page=comments#action_12435221 ] Ate Douma commented on PB-47: -----------------------------
I've committed fixes for both PB-46 and this one: please review and comment > FilterPortlet throws NPE on PortletConfig dependent methods when the managed > portlet doesn't implement PortletConfig > -------------------------------------------------------------------------------------------------------------------- > > Key: PB-47 > URL: http://issues.apache.org/jira/browse/PB-47 > Project: Portals Bridges > Issue Type: Bug > Components: filterportlet > Affects Versions: 1.0 > Reporter: Ate Douma > Assigned To: Ate Douma > Priority: Critical > Fix For: 1.0.1 > > > Scott Anderson reported the following bug on the bridges-user mailing list: > <quote> > The portletConfig instance variable is used but never set. In the methods > getInitParameter, getInitParameterNames, getPortletContext, getPortletName, & > getResourceBundle you will get a NullPointerException if the Portlet being > managed (portlet instance variable) is not an instance of PortletConfig. > Scott > </quote> > I checked the code and can confirm this bug. > As I already will provide a fix for PB-46, extending FilterPortlet from > GenericPortlet, this will be easy to fix as GenericPortlet stores the > PortletConfig itself. > So I will fix this issue together with PB-46. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
