Hi Micah,

Are you using exactly the sample provided on the page you mention or are
you making your own ?

It looks like a bug. By looking at the Cactus code, I can see a
situation when this can happen : If your test throws an exception with a
null message.

I have fixed that in CVS. Try specifying a message to your exception and
see if it helps. Of course, it should work if you're using the provided
sample.

Now, if you are indeed using the provided sample, I have no clue (what
is the Junit version you're using ?).

Thanks
-Vincent


> -----Original Message-----
> From: Micah Williams [mailto:[EMAIL PROTECTED]]
> Sent: 01 August 2002 03:36
> To: [EMAIL PROTECTED]
> Subject: can't get cactus' howto tomcat to work
> 
> 
> I've tried a couple times to work the example on
> http://jakarta.apache.org/cactus/howto_tomcat.html and had another
person
> try it and we both keep getting the same 500 error.
> Can someone point me in the right direction of the mail archive at
least?
> 
> Here is a sample of my stack trace:
> 
> 
> 
> java.lang.NullPointerException
>       at
>
org.apache.cactus.server.runner.XMLFormatter.dispatch110_replace(XMLForm
at
> te
> r.java;org/apache/cactus/util/log/LogAspect.java(1k):314)
>       at
>
org.apache.cactus.server.runner.XMLFormatter.around110_replace(XMLFormat
te
> r.
> java;org/apache/cactus/util/log/LogAspect.java(1k):1195)
>       at
>
org.apache.cactus.server.runner.XMLFormatter.replace(XMLFormatter.java;o
rg
> /a
> pache/cactus/util/log/LogAspect.java(1k):311)
>       at
>
org.apache.cactus.server.runner.XMLFormatter.xmlEncode(XMLFormatter.java
;o
> rg
> /apache/cactus/util/log/LogAspect.java(1k):294)
>       at
>
org.apache.cactus.server.runner.XMLFormatter.dispatch107_addError(XMLFor
ma
> tt
> er.java;org/apache/cactus/util/log/LogAspect.java(1k):226)
>       at
>
org.apache.cactus.server.runner.XMLFormatter.around107_addError(XMLForma
tt
> er
> .java;org/apache/cactus/util/log/LogAspect.java(1k):1156)
>       at
>
org.apache.cactus.server.runner.XMLFormatter.addError(XMLFormatter.java;
or
> g/
> apache/cactus/util/log/LogAspect.java(1k):220)
>       at junit.framework.TestResult.addError(TestResult.java:36)
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:cactus-user-
> [EMAIL PROTECTED]>



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

Reply via email to