Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 83000 invoked by uid 99); 19 Jul 2004 11:38:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [213.41.78.204] (HELO smtp-ft5.fr.colt.net) (213.41.78.204) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 19 Jul 2004 04:38:14 -0700 Received: from vma (host.244.109.41.213.rev.coltfrance.com [213.41.109.244]) by smtp-ft5.fr.colt.net with ESMTP id i6JBc5V24126 for ; Mon, 19 Jul 2004 13:38:11 +0200 Message-Id: <200407191138.i6JBc5V24126@smtp-ft5.fr.colt.net> From: "Vincent Massol" To: "'Cactus Users List'" Subject: RE: Null Pointer exception in retrieving value from web.xml Date: Mon, 19 Jul 2004 13:38:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20040719112808.23306.qmail@web11412.mail.yahoo.com> Thread-Index: AcRtg3vlRCnigI8bTG6gv/mam2K5IwAAMVGg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked Hi Radha, 2 things: 1/ Are you sure you've called "myServlet.init(config)" in your test, as explained on http://jakarta.apache.org/cactus/writing/howto_testcase_servlet.html 2/ If you need more help you'll need to show us the full stack trace of the error... -Vincent > -----Original Message----- > From: radha devi [mailto:kangabamradha@yahoo.com] > Sent: lundi 19 juillet 2004 13:28 > To: cactus-user@jakarta.apache.org > Subject: Null Pointer exception in retrieving value from web.xml > > Hi, > > I am using Cactus 1.6.1 to test Servlet class. I am testing in weblogic6.1 > app server. The method called for testing calls another servlet class > which retrieves parameter value defined in web.xml file. > Here Cactus returns Null Pointer exception. what can be the reason? > > Thanks > > Radha > > > > --------------------------------- > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile phone.