You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Elliot Metsger (JIRA)" <ji...@apache.org> on 2006/09/13 23:31:24 UTC

[jira] Resolved: (PLUTO-233) Exception thrown if edit or help mode is not supported by portlet

     [ http://issues.apache.org/jira/browse/PLUTO-233?page=all ]

Elliot Metsger resolved PLUTO-233.
----------------------------------

    Resolution: Fixed

The ServletContext hadn't been initialized.  Adding the super.init() call in the TCKServlet takes care of that.

Fred Thiele on the pluto-dev list confirmed that the fix worked (thanks Fred!):
> With the additional super.init() call the current trunk is TCK1.0 compliant
> that far. Somebody may add this changement it to the repository. Bug can be
> closed.

> Exception thrown if edit or help mode is not supported by portlet
> -----------------------------------------------------------------
>
>                 Key: PLUTO-233
>                 URL: http://issues.apache.org/jira/browse/PLUTO-233
>             Project: Pluto
>          Issue Type: Bug
>          Components: portal driver, portlet container
>    Affects Versions: 1.1.0, 1.1.0-beta1
>            Reporter: Craig Doremus
>         Assigned To: Elliot Metsger
>             Fix For: 1.1.0-beta2, 1.1.0
>
>
> If a portlet does not support edit or help mode an exception is thrown if the window control for edit or help mode is selected.
> Here is the top part of the stack trace produced if the Help mode is selected:
> javax.portlet.PortletException: doHelp method not implemented
> 	at javax.portlet.GenericPortlet.doHelp(GenericPortlet.java:343)
> 	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:258)
> 	at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
> 	at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208)
> 	at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:143)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
> 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
> 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
> 	at org.apache.pluto.core.PortletInvoker.invoke(PortletInvoker.java:169)
> 	at org.apache.pluto.core.PortletInvoker.render(PortletInvoker.java:111)
> 	at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:158)
> 	at org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:138)
> 	at org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_portlet_0(org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp:97)
> 	at org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp:72)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

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