PDA

View Full Version : stack overflow error when compiling


Peter_Chea
06-23-2003, 03:31 PM
I been getting StackOverflowError. It look like an unbounded recursion. It usually happen when I add a new class to an application that already have a lot of classes.



HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(St andardContext.java:2396)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
at org.apache.catalina.valves.ErrorDispatcherValve.in voke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:641)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:641)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:643)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(Co yoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:405)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:536)


root cause

java.lang.StackOverflowError
at com.thaiopensource.relaxng.impl.ElementPattern.che ckRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.OneOrMorePattern.c heckRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.InterleavePattern. checkRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.InterleavePattern. checkRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.InterleavePattern. checkRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.InterleavePattern. checkRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.InterleavePattern. checkRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.InterleavePattern. checkRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.InterleavePattern. checkRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.BinaryPattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.GroupPattern.check Restrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ElementPattern.che ckRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.OneOrMorePattern.c heckRestrictions(Unknown Source)
at com.thaiopensource.relaxng.impl.ChoicePattern.chec kRestrictions(Unknown Source)

antun
06-23-2003, 03:36 PM
Can you post the code you were trying to run?

-Antun