Hi,
I tried jakarta-pluto testsuite samples (JSR-168 sample portlets) to run within cocoon
in portal engine sample. After some struggling with Tomcat configuration I
accomplished the first page of testsuite portlet displayed in the JSR-168 tab.
But after click to the Next button, NPE occured in testsuite in test2.jsp when
getSupportedPortletModes() was called.
Is cocoon portal engine providing implementation for
portalContext.getSupportedPortletModes()?
What other issues are known limiting the run of JSR-168 portlets under cocoon portal ?
Thanks in advance,
Michal
2004-03-03 18:03:22 ApplicationDispatcher[/testsuite] Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
...
----- Root Cause -----
java.lang.NullPointerException
at org.apache.pluto.util.Enumerator.<init>(Enumerator.java:87)
at
org.apache.pluto.core.impl.PortalContextImpl.getSupportedPortletModes(PortalContextImpl.java:100)
at org.apache.jsp.test2_jsp._jspService(test2_jsp.java:179)
...
2004-03-03 18:03:22 ApplicationDispatcher[/testsuite] Servlet.service() for servlet
TestPortlet2 threw exception
javax.servlet.ServletException
at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:285)
at org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:188)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:178)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
at
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:149)
at
org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:101)
at
org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:137)
at
org.apache.cocoon.portal.coplet.adapter.impl.PortletAdapter.streamContent(PortletAdapter.java:185)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]