[ 
http://issues.apache.org/jira/browse/PLUTO-233?page=comments#action_12434437 ] 
            
Christian Raschka commented on PLUTO-233:
-----------------------------------------

We have run the tck tests and they all fail in the initSupportedModesService 
method (PortalDriverServlet.java:199) with a NullPointerException.

Logmessage:

[HttpRequest] Dispatching
request: 'GET 
/pluto/tck?portletName=portlet_jp_ActionRequest_web/CheckActionRequestParameterTestPortlet
HTTP/1.0' to target server at 'localhost:8080'
ERROR: Failed to find a tag in the HTTP response body starting with the
tag :<tck-portlet><portlet-url><a href="
 and ending with the tag :">PortletURL</a></portlet-url></tck-portlet>.

ERROR:
*********************************************************
Request number:1
----------------------------------------------------------
Request Host:localhost
----------------------------------------------------------
Request Port:8080
----------------------------------------------------------
Request
URI:GET 
/pluto/tck?portletName=portlet_jp_ActionRequest_web/CheckActionRequestParameterTestPortlet
HTTP/1.0
----------------------------------------------------------
Request Complete
URL:http://localhost:8080/pluto/tck?portletName=portlet_jp_ActionRequest_web/CheckActionRequestParameterTestPortlet
----------------------------------------------------------
Authentication for the test:none
----------------------------------------------------------
----------------------------------------------------------
 Complete server response:

----------------------------------------------------------
<html><head><title>Apache Tomcat/5.5.17 - Error report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 500 - </h1><HR size="1"
noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b>
<u></u></p><p><b>description</b> <u>The server encountered an internal error
() that prevented it from fulfilling this request.</u></p><p><b>exception</b>
<pre>java.lang.NullPointerException

org.apache.pluto.driver.PortalDriverServlet.initSupportedModesService(PortalDriverServlet.java:199)

org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:100)
        org.apache.pluto.driver.TCKDriverServlet.doGet(TCKDriverServlet.java:75)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is
available in the Apache Tomcat/5.5.17 logs.</u></p><HR size="1"
noshade="noshade"><h3>Apache Tomcat/5.5.17</h3></body></html>
----------------------------------------------------------
[BasePortletUrlClient] Test cleanup OK
STATUS:Failed.Test case throws exception: Failed to find a tag in the HTTP
response body starting with the tag :<tck-portlet><portlet-url><a href="  and
ending with the tag :">PortletURL</a></portlet-url></tck-portlet>.


> 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: portlet container, portal driver
>    Affects Versions: 1.1.0, 1.1.0-beta1
>            Reporter: Craig Doremus
>         Assigned To: Elliot Metsger
>             Fix For: 1.1.0, 1.1.0-beta2
>
>
> 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

        

Reply via email to