Carsten Ziegeler wrote:
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)

Weird, after my commit I even ran the JSR-286 TCK and all passed.


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.
Maybe make sure to do a clean install first and I'll update to your latest 
changes here and try again too.

Ate


Carsten

Reply via email to