I now get the same NPE in every portlet from the testsuite:
java.lang.NullPointerException
at
org.apache.pluto.testsuite.TestPortlet.getTestId(TestPortlet.java:340)
at
org.apache.pluto.testsuite.TestPortlet.doHeaders(TestPortlet.java:135)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:248)
Looking at the code, the only reason for this could be that the "tests"
instance variable is null. But this can only happen if the init() method
has never been called. I did a quick test and initialized the variable
directly in the definition and the NPE disappears, but of course the
portlet is not working.
Carsten
--
Carsten Ziegeler
[email protected]