ant StackOverFlowErro

Hi friends,

i am trying to run junit tests on my project,

unfortunally when i launch the ant task that run junit i get this message:

BUILD FAILED

java.lang.StackOverflowError

Total time: 33 seconds

java.lang.StackOverflowError

ANT compilation done.

i tryed to increase the java stack size using the-oss command line option, i used huge stack size 32m (standard size is 256k), but the problem still persist :( !

i am wonderring if there are some programming issues in my test classes

such as infinit recursing call, ...

for debuging purpose i tryed to run tests set by set, the problem does'nt appear, but when i run the complete test campagne in one step i get it again!

is there any one can help me solving this problem?

[817 byte] By [jmeista] at [2007-11-27 10:29:31]
# 1

> i tryed to increase the java stack size using the

> -oss command line option, i used huge stack

> size 32m (standard size is 256k), but the problem

> still persist :( !

32M is not really a huge stack size.

aniseeda at 2007-7-28 17:57:54 > top of Java-index,Java Essentials,Java Programming...
# 2

thank you for reply aniseed ,

i tryed bigger stack size 128m, but the problem persist,

that semms increasing stack size isn't the solution!

jmeista at 2007-7-28 17:57:54 > top of Java-index,Java Essentials,Java Programming...
# 3

After analysing the problem i found that the error is raised when applaying xsl transformation to junit xml report, this transformation is made using xalan 2.4.1 API.

This error is already described in the xalan faq at http://www.cs.helsinki.fi/group/xmltools/formatters/xalan/xalan-j_2_4_1/docs/faq.html#faq-N102A4

So any idea to resolve it?

jmeista at 2007-7-28 17:57:54 > top of Java-index,Java Essentials,Java Programming...