That was one of my creations, so (unless someone else gets to it first) I'll
take a look at this as soon as I can (probably won't be till wed morning).


--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
770.822.3359
AIM:jmitchtx



----- Original Message ----- 
From: "Dan Tran" <[EMAIL PROTECTED]>
To: "Struts Developers List" <[EMAIL PROTECTED]>
Sent: Monday, September 22, 2003 10:43 AM
Subject: Struts 1.1 unittest suite problem


Hello,

I am seeing lots of cookies unittest failures when running struts 1.1 test
suite between 2 machines.

Here are some stack traces

    [junit] Testcase: testCookieTagName took 0.11 sec
    [junit]  Caused an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit]  at
org.apache.cactus.client.HttpClientHelper.addCookies(HttpClientHelper.java;o
rg/apache/cactus/util/log/LogAspect.java(1k):406)
    [junit]  at
org.apache.cactus.client.HttpClientHelper.dispatch22_connect(HttpClientHelpe
r.java;org/apache/cactus/util/log/LogAspect.java(1k):165)
    [junit]  at
org.apache.cactus.client.HttpClientHelper.around22_connect(HttpClientHelper.
java;org/apache/cactus/util/log/LogAspect.java(1k):1221)
    [junit]  at
org.apache.cactus.client.HttpClientHelper.connect(HttpClientHelper.java;org/
apache/cactus/util/log/LogAspect.java(1k):125)
    [junit]  at
org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.j
ava;org/apache/cactus/util/log/LogAspect.java(1k):188)
    [junit]  at
org.apache.cactus.client.AbstractHttpClient.dispatch1_doTest(AbstractHttpCli
ent.java;org/apache/cactus/util/log/LogAspect.java(1k):120)
    [junit]  at
org.apache.cactus.client.AbstractHttpClient.around1_doTest(AbstractHttpClien
t.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)
    [junit]  at
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;o
rg/apache/cactus/util/log/LogAspect.java(1k):115)
    [junit]  at
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:457)
    [junit]  at org.apache.cactus.JspTestCase.runTest(JspTestCase.java:113)
    [junit]  at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:400)

    [junit] Testcase: testCookieTagNameTestcase: testCookieTagNameMultiple
took 0 sec
    [junit]  Caused an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit]  at
org.apache.cactus.client.HttpClientHelper.addCookies(HttpClientHelper.java;o
rg/apache/cactus/util/log/LogAspect.java(1k):406)
    [junit]  at
org.apache.cactus.client.HttpClientHelper.dispatch22_connect(HttpClientHelpe
r.java;org/apache/cactus/util/log/LogAspect.java(1k):165)
    [junit]  at
org.apache.cactus.client.HttpClientHelper.around22_connect(HttpClientHelper.
java;org/apache/cactus/util/log/LogAspect.java(1k):1221)
    [junit]  at
org.apache.cactus.client.HttpClientHelper.connect(HttpClientHelper.java;org/
apache/cactus/util/log/LogAspect.java(1k):125)
    [junit]  at
org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.j
ava;org/apache/cactus/util/log/LogAspect.java(1k):188)
    [junit]  at
org.apache.cactus.client.AbstractHttpClient.dispatch1_doTest(AbstractHttpCli
ent.java;org/apache/cactus/util/log/LogAspect.java(1k):120)
    [junit]  at
org.apache.cactus.client.AbstractHttpClient.around1_doTest(AbstractHttpClien
t.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)
    [junit]  at
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;o
rg/apache/cactus/util/log/LogAspect.java(1k):115)
    [junit]  at
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:457)
    [junit]  at org.apache.cactus.JspTestCase.runTest(JspTestCase.java:113)
    [junit]  at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:400)


Both the client and server war classes compiles with Catus 1.3.1 using 1.3
servlet running against tomcat 4.1.27
The client side is winxp and server side are on XP, solaris, linux



Any suggestions?

Advice is greatly appreciated.

-Dan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to