You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ralph Einfeldt <ra...@uptime-isc.de> on 2002/08/14 17:56:47 UTC

NullPointerExeptions (Was: How to keep track of sessions)

- First please don't crosspost
  Your problem has nothing to do with session

- No this aren't errors of tomcat.
  Two different application throw 
  NullPointerExceptions in individual places.
  (See below)
  
> -----Ursprüngliche Nachricht-----
> Von: Luminous Heart [mailto:luminousheart@yahoo.com]
> Gesendet: Mittwoch, 14. August 2002 17:42
> An: Tomcat Users List
> Betreff: Re: How to keep track of sessions
> 
> Is this a bug in tomcat 4.0.4? Notice that these two
> errors that am posting are from two different
> applications in the same context.
> 
<snip/>
> root cause 
> 
> java.lang.Exception: java.lang.NullPointerException
> 	at
> org.apache.jsp.inbox$jsp._jspService(inbox$jsp.java:1032)

The error happens in the generated file inbox$jsp.java
at line 1032. Have look at this file in the work directory
to see which line is causing the problem in the jsp
that was the base for this java file.

> java.lang.NullPointerException
> 	at
> org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:61)
> 	at
<snip/>
> 	at
> org.apache.jsp.AccountAccess$jsp._jspService(AccountAccess$jsp
> .java:207)
> 	at

The error happens in the generated file AccountAccess$jsp.java
apply the same as above. And please learn to read stacktraces.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>