Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Delivered-To: moderator for tomcat-dev@jakarta.apache.org Received: (qmail 1167 invoked from network); 4 Jun 2000 00:14:11 -0000 Received: from w153.z209031224.sjc-ca.dsl.cnc.net (HELO edamame.stinky.com) (qmailr@209.31.224.153) by locus.apache.org with SMTP; 4 Jun 2000 00:14:11 -0000 Received: (qmail 16229 invoked by uid 510); 3 Jun 2000 17:08:16 -0000 Date: Sat, 3 Jun 2000 10:08:15 -0700 From: Alex Chaffee To: tomcat-user@jakarta.apache.org, tomcat-dev@jakarta.apache.org Subject: Re: Bug in InvokerServlet: NullPointerException, tomcat totally dies Message-ID: <20000603100815.H3663@edamame.stinky.com> Reply-To: alex@jguru.com References: <20000603041928.A27775@edamame.stinky.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000603041928.A27775@edamame.stinky.com>; from guru@edamame.stinky.com on Sat, Jun 03, 2000 at 04:19:28AM -0700 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Curiouser and curiouser... Seems the null pointer in my servlet's doGet method is trying to dereference an instance variable... that is set in the init method! Might Tomcat be getting confused by multiple simultaneous requests, accidentally instantiating a new instance, and calling doGet on this new instance without calling init? More detective work is required... - Alex --- Alex Chaffee mailto:alex@jguru.com jGuru - Java News and FAQs http://www.jguru.com/alex/ Founder of Purple Technology http://www.purpletech.com/ Creator of Gamelan http://www.gamelan.com/ Curator of Stinky Art Collective http://www.stinky.com/ On Sat, Jun 03, 2000 at 04:19:28AM -0700, Alex Chaffee wrote: > (sending to both lists since I'm not sure where to report bugs these > days) > > I'm running Tomcat standalone, testing a simple servlet on a (live) > medium-load site. It's tied to an applet that polls once every N > seconds; as a result, I'm getting upwards of 8 requests per second, > but it seems to be about 2-3 hits per second on average. > > It runs fine for hours, then dies silently in the middle of the > night. The VM is still running, but doesn't accept any connections. > As far as I can tell, the problem is a NullPointerException in > InvokerServlet. I'll try to track it down more carefully by turning > off the JIT. >