rs List'" <[EMAIL PROTECTED]>
cc:
Subject: RE: Need help on Session's null pointer exception
In Jdk 1.3.1, line 380 is where java.util.Hashtable.put()
throws an NPE after testing the "value" for "null". In
ServerSession.setAttribute(), other than logging, th
bug
in your println()s and the value is actually null.
Hope this helps.
Cheers,
Larry
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 3:24 PM
> To: Tomcat Users List
> Subject: RE: Need help on Session's null
st" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
cc:
Subject: RE: Need help on Session's null pointer exception
The Servlet 2.2 spec states that neither the name or
object may be null. This is the spec that Tomcat 3.3 is the
refer
On Tue, 4 Dec 2001, Sobeck, James (ISS Atlanta) wrote:
> Date: Tue, 4 Dec 2001 14:35:00 -0500
> From: "Sobeck, James (ISS Atlanta)" <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: 'Tomcat Users List' <[EMAIL PROTECT
.
Cheers,
Larry
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 2:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Need help on Session's null pointer exception
>
>
>
> Thank you for your reply, Denis
there is a bug in
Tomcat3.3.
Bill
"Denis Balazuc" <[EMAIL PROTECTED]> on 12/04/2001 02:38:37 PM
Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
cc:
Subject: Re: Need help on Session'
Hi
You are simply trying to set a null value in a session, which is
forbidden.something like session.setAttribute("HelloWorld", null);
I'm not sure this behaviour is specified in JSP specs though
it's more because a Hashtable is used as the Map to store key=value session
attributes withi
I think i got that error once when i tried to put a null Object into
session. do something like
if (Object != null){
session.putValue("key", Object);
}
-hope that helps,
Jimmy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001