java.lang.StackOverflowError
I am using a enhydra framework for my web development When I run the ant task to compile my html to .java files it throws an exception like below. ( i run a xmlc task)
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
I am using jdk 1.4.2 and enhydra 5.1
but this did not solve the problem. I hope this is a bug
Attached is the file which is failing to get compiled