ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6679] New: - javac task causes ant to generate exception in my case
Date Tue, 26 Feb 2002 13:16:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6679>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6679

javac task causes ant to generate exception in my case

           Summary: javac task causes ant to generate exception in my case
           Product: Ant
           Version: 1.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: UNCONFIRMED
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: prashant_chaudhari@yahoo.com


the javac task on being run with my project is giving an exception in ant which in turn mentions
an 
exception from teh javac. However when I pick the exact javac options from the debug output
and ran 
on command line - it works fine.

Also I observer that this occurs always while one particular 
file in my project , which from command prompt compiles fine. the version of ant and java
are 
:

Ant version 1.4.1 compiled on October 11 2001

java version "1.3.1"
Java(TM) 2 
Runtime Environment, Standard Edition (build 1.3.1-b24)

I am including the relevant part of 
the debug output below:

    [javac] An exception has occurred in the compiler (1.3.0). Please 
file a bug at the Java Developer Connection (http
rt.cgi).  Include your program and the 
following diagnostic in your report.  Thank you.
    [javac] java.lang.InternalError: 
assertion failed
    [javac]     at com.sun.tools.javac.v8.util.Util.assert(Util.java:25)
    
[javac]     at com.sun.tools.javac.v8.util.Bits.incl(Bits.java:65)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.checkInit(Flow.java:184)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:843)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$Ident.visit(Tree.java:983)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeExpr(Flow.java:339)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:829)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$TypeCast.visit(Tree.java:904)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeExpr(Flow.java:339)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:848)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$Select.visit(Tree.java:963)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeExpr(Flow.java:339)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:744)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$Apply.visit(Tree.java:785)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeExpr(Flow.java:339)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:733)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$Return.visit(Tree.java:751)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeStat(Flow.java:394)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeStats(Flow.java:413)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:520)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$Block.visit(Tree.java:492)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeStat(Flow.java:394)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:488)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$MethodDef.visit(Tree.java:441)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeDef(Flow.java:379)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:456)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$ClassDef.visit(Tree.java:402)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeDef(Flow.java:379)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:756)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$NewClass.visit(Tree.java:810)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeExpr(Flow.java:339)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:733)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$Return.visit(Tree.java:751)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeStat(Flow.java:394)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeStats(Flow.java:413)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:520)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$Block.visit(Tree.java:492)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeStat(Flow.java:394)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:488)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$MethodDef.visit(Tree.java:441)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeDef(Flow.java:379)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:456)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$ClassDef.visit(Tree.java:402)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeDef(Flow.java:379)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:756)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$NewClass.visit(Tree.java:810)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeExpr(Flow.java:339)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:507)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$VarDef.visit(Tree.java:470)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeDef(Flow.java:379)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow._case(Flow.java:445)
    [javac]     at 
com.sun.tools.javac.v8.tree.Tree$ClassDef.visit(Tree.java:402)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321)
    [javac]     at 
com.sun.tools.javac.v8.comp.Flow.analyzeDef(Flow.java:379)
    [javac]     at 
com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:380)
    [javac]     at 
com.sun.tools.javac.v8.Main.compile(Main.java:247)
    [javac]     at 
com.sun.tools.javac.Main.compile(Main.java:26)
    [javac]     at 
java.lang.reflect.Method.invoke(Native Method)
    [javac]     at 
org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:92)
    [javac]     
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:557)
    [javac]     at 
org.apache.tools.ant.Task.perform(Task.java:217)
    [javac]     at 
org.apache.tools.ant.Target.execute(Target.java:184)
    [javac]     at 
org.apache.tools.ant.Target.performTasks(Target.java:202)
    [javac]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [javac]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:560)
    [javac]     at 
org.apache.tools.ant.Main.runBuild(Main.java:454)
    [javac]     at 
org.apache.tools.ant.Main.start(Main.java:153)
    [javac]     at 
org.apache.tools.ant.Main.main(Main.java:176)

BUILD FAILED

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message