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
