Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old August 10th, 2006, 12:52 PM
Registered User
Join Date: Aug 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default java.lang.StackOverFlowError

Dear all
I am using enhydra framework for my webdevelopment.I t compiles all the .html files into .java files.

When I run the ant task to compile it throws an exception like below.

The system is out of resources.
Consult the following stack trace for details.
     [xmlc] Error: compile of generated java code failed
     [xmlc] org.enhydra.xml.xmlc.XMLCException: compile of generated java code failed

On researching I found out that the java stack is getting overflown. I tried to increase the java stack size and os stack size by mentioning

%JAVA% -Xms256M -Xmx512M -Xss1000K -Xoss5000K -cp %CLASSPATH% .........

in %ENHYDRA_HOME%/bin/ant.bat

but this did not solve the problem.

I am using jdk 1.4.2.

any leads for solution will be much appreciated.

Reply With Quote
  #2 (permalink)  
Old August 10th, 2006, 03:34 PM
Friend of Wrox
Join Date: Jan 2006
Location: San Francisco, CA, USA.
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts

Most of the time, stack overflow errors are due to infinite looping, such as having one function call itself ad infinitum. Is there any chance there's a recursive loop in one of your source files? E.g. a file that includes itself?

Jon Emerson
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Root Cause:java.lang.NoSuchMethodError: java.util. anees81 JSP Basics 3 March 1st, 2011 07:55 AM
java.lang.OutOfMemoryError: Java heap space meetkotresh J2EE 1 February 2nd, 2008 12:52 AM
java.lang.StackOverflowError ravi_sri24 XSLT 31 February 1st, 2008 08:48 AM
java.lang.StackOverFlowError mrafeeq Pro Java 0 August 10th, 2006 12:51 PM
java.lang.Runtime mudasirw J2EE 1 August 2nd, 2005 02:14 AM

All times are GMT -4. The time now is 01:47 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.