Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro Java
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro Java Expert level Java questions not about a specific book. Please indicate your version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro Java 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 10th, 2006, 12:51 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.
java.lang.StackOverflowError
     [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.

-rafeeq(md_rafeeq@yahoo.com)
Reply With Quote
Reply


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 J2EE 1 August 10th, 2006 03:34 PM
java.lang.Runtime mudasirw J2EE 1 August 2nd, 2005 02:14 AM



All times are GMT -4. The time now is 09:42 AM.


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