File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.StackOverflowError

 
navmn mn
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am working on WSAD. Whenever I compile .java files using ant(build.xml) I get the following errors.

The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.StackOverflowError

[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.StackOverflowError
[javac] at com.sun.tools.javac.v8.comp.Gen.visitSelect(Gen.java:1683)
[javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java:1091)
[javac] at com.sun.tools.javac.v8.comp.Gen.genExpr(Gen.java:615)
[javac] at com.sun.tools.javac.v8.comp.Gen.visitApply(Gen.java:1330)
[javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java:877)
[javac] at com.sun.tools.javac.v8.comp.Gen.genExpr(Gen.java:615)
[javac] at com.sun.tools.javac.v8.comp.Gen.visitSelect(Gen.java:1688)
.
.
.
[javac] BUILD FAILED: D:\WSAD\Workspace\TO-Test-0004\build.xml:546: Compile failed; see the compiler error output for details.


Thanks in Advance
Naveen
 
deepak mahapatra
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by navmn mn:
Hello
I am working on WSAD. Whenever I compile .java files using ant(build.xml) I get the following errors.

The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.StackOverflowError

[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.StackOverflowError
[javac] at com.sun.tools.javac.v8.comp.Gen.visitSelect(Gen.java:1683)
[javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java:1091)
[javac] at com.sun.tools.javac.v8.comp.Gen.genExpr(Gen.java:615)
[javac] at com.sun.tools.javac.v8.comp.Gen.visitApply(Gen.java:1330)
[javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java:877)
[javac] at com.sun.tools.javac.v8.comp.Gen.genExpr(Gen.java:615)
[javac] at com.sun.tools.javac.v8.comp.Gen.visitSelect(Gen.java:1688)
.
.
.
[javac] BUILD FAILED: D:\WSAD\Workspace\TO-Test-0004\build.xml:546: Compile failed; see the compiler error output for details.


Thanks in Advance
Naveen
 
deepak mahapatra
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check your Path environment variable ,it might be pointing to some other
java/bin directory ....if so point it to WSAD_HOME/runtimes/basev5.1/java/bin.I think it works.Good Luck

Originally posted by navmn mn:
Hello
I am working on WSAD. Whenever I compile .java files using ant(build.xml) I get the following errors.

The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.StackOverflowError

[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.StackOverflowError
[javac] at com.sun.tools.javac.v8.comp.Gen.visitSelect(Gen.java:1683)
[javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java:1091)
[javac] at com.sun.tools.javac.v8.comp.Gen.genExpr(Gen.java:615)
[javac] at com.sun.tools.javac.v8.comp.Gen.visitApply(Gen.java:1330)
[javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java:877)
[javac] at com.sun.tools.javac.v8.comp.Gen.genExpr(Gen.java:615)
[javac] at com.sun.tools.javac.v8.comp.Gen.visitSelect(Gen.java:1688)
.
.
.
[javac] BUILD FAILED: D:\WSAD\Workspace\TO-Test-0004\build.xml:546: Compile failed; see the compiler error output for details.


Thanks in Advance
Naveen
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic