jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yuguang sun" <su...@iname.com>
Subject testSendCookie error - TestSampleServlet
Date Tue, 21 May 2002 23:58:21 GMT
Hi!

I try to run TestSampleServlet. But I get following exceptions. Does any one have idea about
that? I am using iplanet 6 web server on DS-10. cactus version is 1.3 as well.  


........E.E....
Time: 1.647
There were 2 errors:
1) testSendCookie(org.apache.cactus.sample.TestSampleServlet)
java.lang.NullPointerException
        at org.apache.cactus.client.HttpClientHelper.addCookies(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):406)
        at org.apache.cactus.client.HttpClientHelper.dispatch22_connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):165)
        at org.apache.cactus.client.HttpClientHelper.around22_connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)
        at org.apache.cactus.client.HttpClientHelper.connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):125)
        at org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):188)
        at org.apache.cactus.client.AbstractHttpClient.dispatch1_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):120)
        at org.apache.cactus.client.AbstractHttpClient.around1_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)
        at org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):115)
        at org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:457)
        at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)
        at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:400)
        at org.apache.cactus.sample.TestSampleServlet.main(TestSampleServlet.java:96)
2) testSendMultipleCookies(org.apache.cactus.sample.TestSampleServlet)
java.lang.NullPointerException
        at org.apache.cactus.client.HttpClientHelper.addCookies(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):406)
        at org.apache.cactus.client.HttpClientHelper.dispatch22_connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):165)
        at org.apache.cactus.client.HttpClientHelper.around22_connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)
        at org.apache.cactus.client.HttpClientHelper.connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):125)
        at org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):188)
        at org.apache.cactus.client.AbstractHttpClient.dispatch1_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):120)
        at org.apache.cactus.client.AbstractHttpClient.around1_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)
        at org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):115)
        at org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:457)
        at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)
        at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:400)
        at org.apache.cactus.sample.TestSampleServlet.main(TestSampleServlet.java:96)

FAILURES!!!
Tests run: 13,  Failures: 0,  Errors: 2



Thanks

Roger
-- 
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message