wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes java.lang.AssertionError: {unused}. Exception using ant 1.6.5 and JDK1.5.0_10 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "java.lang.AssertionError: {unused}. Exception using ant 1.6.5 and JDK1.5.0_10" Watch "java.lang.AssertionError: {unused}. Exception using ant 1.6.5 and JDK1.5.0_10" New topic

java.lang.AssertionError: {unused}. Exception using ant 1.6.5 and JDK1.5.0_10

ved gunjan
Ranch Hand

Joined: May 17, 2003
Posts: 86
Im using apache-ant-1.6.5 and jdk1.5.0_10. When im compiling my application using ant, im getting the following exception.It complains about the compiler crash..
Here's the snap shot of the exception im getting.
An exception has occurred in the compiler (1.5.0_10). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you. [javac] java.lang.AssertionError: {unused} [javac] at com.sun.tools.javac.tree.TreeMaker$AnnotationBuilder.visitArray(TreeMaker.java:634) [javac] at com.sun.tools.javac.code.Attribute$Array.accept(Attribute.java:124) [javac] at com.sun.tools.javac.tree.TreeMaker$AnnotationBuilder.translate(TreeMaker.java:637) [javac] at com.sun.tools.javac.tree.TreeMaker$AnnotationBuilder.visitCompoundInternal(TreeMaker.java:628) [javac] at com.sun.tools.javac.tree.TreeMaker$AnnotationBuilder.translate(TreeMaker.java:641) [javac] at com.sun.tools.javac.tree.TreeMaker.Annotation(TreeMaker.java:649) [javac] at com.sun.tools.javac.tree.TreeMaker.Annotations(TreeMaker.java:570) [javac] at com.sun.tools.javac.tree.TreeMaker.VarDef(TreeMaker.java:554) [javac] at com.sun.tools.javac.comp.Lower.visitIterableForeachLoop(Lower.java:2892) [javac] at com.sun.tools.javac.comp.Lower.visitForeachLoop(Lower.java:2755) [javac] at com.sun.tools.javac.tree.Tree$ForeachLoop.accept(Tree.java:597) [javac] at com.sun.tools.javac.comp.Lower.translate(Lower.java:1881) [javac] at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:54) [javac] at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:145) [javac] at com.sun.tools.javac.comp.Lower.visitBlock(Lower.java:2927) [javac] at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:535) [javac] at com.sun.tools.javac.comp.Lower.translate(Lower.java:1881) [javac] at com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:129) [javac] at com.sun.tools.javac.comp.Lower.visitMethodDefInternal(Lower.java:2267) [javac] at com.sun.tools.javac.comp.Lower.visitMethodDef(Lower.java:2186)

Can any one tell me what's going on here. I need help urgently as im stuck. Any help will be great.

Thanks Ved.
I agree. Here's the link: http://aspose.com/file-tools
subject: java.lang.AssertionError: {unused}. Exception using ant 1.6.5 and JDK1.5.0_10
Similar Threads
invalid LOC header - How to overcome this Exception?
Found a Bug In JDK 1.3.
nested class method
I have rewritten my mock exam and put it at http://www.jiris.com/
Compiler Bug