You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Kent Tong <ke...@cpttm.org.mo> on 2005/08/19 10:29:13 UTC

NullPointerException calling the test portlets

Hi,

I'm setting up pluto using the library distribution with Tomcat 5.5.9.
The pluto portal page can come up fine. But it fails to call the two
test portlets. In the fragments it says "Error occurred in portlet!".
In the log file it shows a NullPointerException:

java.lang.NullPointerException
        at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke
        (PortletInvokerImpl.java:109)

It seems to be suggesting that the testsuite web app hasn't bee deployed
properly. All I have done is to create a file
c:/jakarta-tomcat-5.5.9/conf/Catalina/localhost/testsuite.xml:

<Context
        path="/testsuite"
        docBase="C:\pluto-lib-tools-1.0.1-rc4\pluto-testsuite-1.0.1-rc4.war"
        crossContext="true"/>

Isn't this enough?