Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 18441 invoked from network); 11 Jul 2000 17:58:57 -0000 Received: from ha1.rdc2.bc.wave.home.com (HELO mail.rdc2.bc.home.com) (24.2.10.68) by locus.apache.org with SMTP; 11 Jul 2000 17:58:57 -0000 Received: from cr699264a ([24.113.17.57]) by mail2.rdc2.bc.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20000711154646.YADV9731.mail2.rdc2.bc.home.com@cr699264a> for ; Tue, 11 Jul 2000 08:46:46 -0700 From: "Rob S." To: Subject: RE: Help me ! Date: Tue, 11 Jul 2000 08:48:56 -0700 Message-ID: <002e01bfeb4f$8598f180$39117118@rct1.bc.wave.home.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal In-Reply-To: <20000711090358.65588.qmail@hotmail.com> > Root cause: > java.lang.NullPointerException > at Retraining.StaffRecords.getRecords(StaffRecords.java:253) > Statement st = con.createStatement(); > > that causes the error. (line 253) although i have no idea why, the exact > codes work fine in another bean! > > Can any1 help? Well, the only thing that could cause a NPE in that line would be if the "con" instance of Connection was null. - r