jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: cactus-howto_tomcat example giving server error
Date Sat, 31 Aug 2002 14:58:40 GMT
Hi Rohit,

It is fixed in Cactus 1.4.1

Thanks
-Vincent

> -----Original Message-----
> From: rohit [mailto:rdave@cait.org]
> Sent: 26 August 2002 22:26
> To: Cactus Users List
> Subject: cactus-howto_tomcat example giving server error
> 
> I am trying to run the example on
> http://jakarta.apache.org/cactus/howto_tomcat.html. I keep getting the
> following exception 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)
> 	at junit.framework.TestResult.runProtected(TestResult.java:133)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:131)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:173)
> 	at junit.framework.TestSuite.run(TestSuite.java:168)
> 	at
>
org.apache.cactus.server.runner.ServletTestRunner.dispatch92_run(Servlet
Te
> st
> Runner.java;org/apache/cactus/util/log/LogAspect.java(1k):161)
> 	at
>
org.apache.cactus.server.runner.ServletTestRunner.around92_run(ServletTe
st
> Ru
> nner.java;org/apache/cactus/util/log/LogAspect.java(1k):1236)
> 	at
>
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.
ja
> va
> ;org/apache/cactus/util/log/LogAspect.java(1k):137)
> 	at
>
org.apache.cactus.server.runner.ServletTestRunner.dispatch91_doGet(Servl
et
> Te
> stRunner.java;org/apache/cactus/util/log/LogAspect.java(1k):121)
> 	at
>
org.apache.cactus.server.runner.ServletTestRunner.around91_doGet(Servlet
Te
> st
> Runner.java;org/apache/cactus/util/log/LogAspect.java(1k):1156)
> 	at
>
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunne
r.
> ja
> va;org/apache/cactus/util/log/LogAspect.java(1k):101)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
ti
> on
> FilterChain.java:247)
> 	at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
er
> Ch
> ain.java:193)
> 	at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.
> ja
> va:243)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :5
> 66)
> 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72
> )
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.
> ja
> va:190)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :5
> 66)
> 	at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va
> :2
> 46)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :5
> 64)
> 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72
> )
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
7)
> 	at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:1
> 80
> )
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :5
> 66)
> 	at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lv
> e.
> java:170)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :5
> 64)
> 	at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:1
> 70
> )
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :5
> 64)
> 	at
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468
)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :5
> 64)
> 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72
> )
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
ja
> va
> :174)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :5
> 66)
> 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72
> )
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
av
> a:
> 1027)
> 	at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
11
> 25
> )
> 	at java.lang.Thread.run(Thread.java:536)
> 
> All the jar files are in place alongwith the classpath, and the
web.xml
> and
> .class files look fine. I'm using Tomcat version 4.0.4, JUnit version
3.4,
> Cactus version 1.4b1 and J2SDK1.4.0 on a machine running Windows
2000,. I
> would greatly appreciate it if anyone could offer suggestions as to
what
> is
> going wrong. I searched through the archives and found Micah Williams
had
> reported the same problem some time back. I couldn't find the solution
in
> the response threads however.
> 
> Thanks,
> rohit
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:cactus-user-
> help@jakarta.apache.org>



--
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