jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: Null Pointer exception in retrieving value from web.xml
Date Mon, 19 Jul 2004 11:38:05 GMT
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.


Mime
View raw message