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.AssertionError: {unused}. Exception using ant 1.6.5 and JDK1.5.0_10

 
ved gunjan
Ranch Hand
Posts: 86
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic