-
1. Re: NullPointerException in session.setAttribute()
jules Oct 9, 2002 5:31 AM (in response to mredeker)Is your webapp ?
Are you using Session Listeners ?
I will test this and get back to you.
Jules -
2. Re: NullPointerException in session.setAttribute()
mredeker Oct 10, 2002 3:43 AM (in response to mredeker)Jules, thanks for your help on this. We are not using a SessionListener and unless is a default we did not configure a distributable session either. The object we want to put in the session is a Hashtable.
-
3. Re: NullPointerException in session.setAttribute()
jules Oct 10, 2002 5:15 AM (in response to mredeker)Check your WEB-INF/web.xml for the tag.
Distributable sessions are pretty immature in the 2.4.x series.
If you have the tag - lose it and let me know if that sorts the problem.
Jules
P.S.
xdoclet is notorious for unwisely defaulting to -
4. Re: NullPointerException in session.setAttribute()
jules Oct 10, 2002 5:16 AM (in response to mredeker)P.P.S.
Otherwise, please post the stacktrace -
5. Re: NullPointerException in session.setAttribute()
mredeker Oct 11, 2002 12:26 PM (in response to mredeker)It seems the NPE comes from our object. The new Jetty version seems to call equals() on what it wants to put into the session and the NPE occurs in our equals() method.
This problem is our problem. Thanks for your help!!