jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rohit" <rd...@cait.org>
Subject Re: Null Pointer Exception in initial How to setup
Date Tue, 17 Sep 2002 13:36:56 GMT
Hi Prabodh,

I was having the same problem. The problem was fixed in Cactus version
1.4.1, and I was able to run the example successfully. Can you check your
Cactus version number again?

Rohit


----- Original Message -----
From: "Prabodh Goel" <prabodhgoel@yahoo.com>
To: "Cactus Users List" <cactus-user@jakarta.apache.org>
Sent: Tuesday, September 17, 2002 12:16 AM
Subject: Null Pointer Exception in initial How to setup



 I've tried a couple times to work the example on
 http://jakarta.apache.org/cactus/howto_tomcat.html

 I am using following versions
    tomcat:  4.0.4
    Cactus:  3.8.1
    JDK   :  1.4.0_02

 Can someone help me...

  Here is a sample of my stack trace:


java.lang.NullPointerException
at
org.apache.cactus.server.runner.XMLFormatter.dispatch110_replace(XMLFormatte
r.java;org/apache/cactus/util/log/LogAspect.aj(1k):315)
at
org.apache.cactus.server.runner.XMLFormatter.around110_replace(XMLFormatter.
java;org/apache/cactus/util/log/LogAspect.aj(1k):1195)
at
org.apache.cactus.server.runner.XMLFormatter.replace(XMLFormatter.java;org/a
pache/cactus/util/log/LogAspect.aj(1k):312)
at
org.apache.cactus.server.runner.XMLFormatter.xmlEncode(XMLFormatter.java;org
/apache/cactus/util/log/LogAspect.aj(1k):295)
at
org.apache.cactus.server.runner.XMLFormatter.dispatch107_addError(XMLFormatt
er.java;org/apache/cactus/util/log/LogAspect.aj(1k):227)
at
org.apache.cactus.server.runner.XMLFormatter.around107_addError(XMLFormatter
.java;org/apache/cactus/util/log/LogAspect.aj(1k):1156)
at
org.apache.cactus.server.runner.XMLFormatter.addError(XMLFormatter.java;org/
apache/cactus/util/log/LogAspect.aj(1k):221)
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(ServletTest
Runner.java;org/apache/cactus/util/log/LogAspect.aj(1k):161)
at
org.apache.cactus.server.runner.ServletTestRunner.around92_run(ServletTestRu
nner.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236)
at
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.java
;org/apache/cactus/util/log/LogAspect.aj(1k):137)
at
org.apache.cactus.server.runner.ServletTestRunner.dispatch91_doGet(ServletTe
stRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):121)
at
org.apache.cactus.server.runner.ServletTestRunner.around91_doGet(ServletTest
Runner.java;org/apache/cactus/util/log/LogAspect.aj(1k):1156)
at
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.ja
va;org/apache/cactus/util/log/LogAspect.aj(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(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
at java.lang.Thread.run(Thread.java:536)



__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

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