>From your stack trace it seems your ehr.BaseObject.readDB calls
ehr.FunctionTree.readDB which calls ehr.BaseObject.readDB and so you
have a possibly infinite loop.

What happens is that after a while you get too many method calls after
each other (placed on the "call stack") that the JVM (or possibly OS)
can't handle it. That is called (Call) Stack Overflow.

I don't know the maximum size of the call stack, but if you have an
infinite recursive "loop" you will get there. So check the methods
mentioned above.

Notice that the link posted gets line wrapped, it should (of course) end
with html (and not just h). Try to cut and paste
-->
http://java.sun.com/products/jdk/1.2/docs/api/java/lang/StackOverflowErr
or.html <--


  Mattias Jiderhamn
  Expert Systems
  [EMAIL PROTECTED]

-----Original Message-----
From: Rock Luiss [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 20, 2001 9:50 AM
Subject: Why java.lang.StackOverflowError? man?

java.lang.StackOverflowError
�at ehr.BaseObject.readDB(BaseObject.java:880)
�at ehr.FunctionTree.readDB(FunctionTree.java:189)
�at ehr.BaseObject.readDB(BaseObject.java:941)
�at ehr.FunctionTree.create(FunctionTree.java:123)
�at ehr.BaseObject.readDB(BaseObject.java:918)
�at ehr.FunctionTree.readDB(FunctionTree.java:189)
�at ehr.BaseObject.readDB(BaseObject.java:941)
�at ehr.FunctionTree.create(FunctionTree.java:123)
�at ehr.BaseObject.readDB(BaseObject.java:918)
�at ehr.FunctionTree.readDB(FunctionTree.java:189)
�at ehr.BaseObject.readDB(BaseObject.java:941)v

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to