tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Einfeldt <ralph.einfe...@uptime-isc.de>
Subject AW: NullPointerException´s and Scalability of Tomcat 3.2.1
Date Thu, 01 Feb 2001 09:16:26 GMT

Your highlighted line is not the cause for you problem:

The argument to Hashtable defines just the initial size of the 
Hashtable, but this is not the limit, the Hashtable will grow 
as needed.

It is more likely that one of the arguments to setAttribute is 
null. Look at line 47 of the generated file 
_0002ftest_0002ejsptest_jsp_1.java to find out which one that 
could be.

> -----Ursprüngliche Nachricht-----
> Von: smajer@advance-bank.de [mailto:smajer@advance-bank.de]
> Gesendet: Mittwoch, 31. Januar 2001 10:10
> An: tomcat-user@jakarta.apache.org
> Betreff: NullPointerException´s and Scalability of Tomcat 3.2.1
> 
<snip/>
> java.lang.NullPointerException
>         at java.util.Hashtable.put(Hashtable.java:380)
<snip/>
> _0002ftest_0002ejsptest_jsp_1._jspService(_0002ftest_0002ejspt
> est_jsp_1.java:47)
<snip/>
>     protected transient Hashtable  attributes = new Hashtable(16);
>                                                             ^^^^^^^
<snip/>

Mime
View raw message