ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@hatcher.net>
Subject javac compiler exception
Date Tue, 03 Feb 2004 19:03:48 GMT
I even have an Ant problem, believe it or not :O

A co-worker has experienced the most painful of all things.... "it 
worked yesterday, but doesn't work today".  Everyone else where I work 
has no problems, but her particular environment for some reason is not 
cooperating.  I've seen this same issue pop up before, but none of the 
proposed solutions has helped in this case yet.

What is causing <javac> to fail?  Forking doesn't help.

We've tried various JDK's and Ant 1.6.0 and 1.6.1beta to no avail.

Help!

Thanks,
	Erik



Begin forwarded message:
>
> compile-web:
>       [echo] Compiling web/applicant...
>      [mkdir] Created dir: C:\CVS\admissions\build\web\applicant\classes
>      [mkdir] Created dir: 
> C:\CVS\admissions\build\test\web\applicant\classes
>      [javac] Compiling 6 source files to 
> C:\CVS\admissions\build\web\applicant\cl
>  asses
>      [javac] An exception has occurred in the compiler (1.4.2_03). 
> Please file a
>  bug at the Java Developer Connection 
> (http://java.sun.com/cgi-bin/bugreport.cgi)
>    after checking the Bug Parade for duplicates. Include your program 
> and the fol
>  lowing diagnostic in your report.  Thank you.
>      [javac] java.lang.IndexOutOfBoundsException
>      [javac]     at 
> java.util.zip.InflaterInputStream.read(InflaterInputStream.ja
>  va:122)
>      [javac]     at 
> com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.ja
>  va:1088)
>      [javac]     at 
> com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.
>  java:1049)
>      [javac]     at 
> com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:372)
>      [javac]     at 
> com.sun.tools.javac.v8.code.Symbol$ClassSymbol.complete(Symbo
>  l.java:691)
>      [javac]     at 
> com.sun.tools.javac.v8.code.ClassReader.loadClass(ClassReader
>  .java:1130)
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Resolve.loadClass(Resolve.java:47
>  1)
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Resolve.findIdentInPackage(Resolv
>  e.java:644)
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Attr.selectSym(Attr.java:1127)
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java:1076)
>      [javac]     at 
> com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java:1091
>  )
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198)
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Attr.attribType(Attr.java:228)
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Enter$MemberEnter.visitImport(Ent
>  er.java:763)
>      [javac]     at 
> com.sun.tools.javac.v8.tree.Tree$Import.accept(Tree.java:407)
>
>     [javac]     at 
> com.sun.tools.javac.v8.comp.Enter$MemberEnter.memberEnter(Ent
>  er.java:715)
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Enter$MemberEnter.memberEnter(Ent
>  er.java:727)
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Enter$MemberEnter.visitTopLevel(E
>  nter.java:746)
>      [javac]     at 
> com.sun.tools.javac.v8.tree.Tree$TopLevel.accept(Tree.java:39
>  0)
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Enter$MemberEnter.memberEnter(Ent
>  er.java:715)
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Enter$CompleteEnter.complete(Ente
>  r.java:848)
>      [javac]     at 
> com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:372)
>      [javac]     at 
> com.sun.tools.javac.v8.code.Symbol$ClassSymbol.complete(Symbo
>  l.java:691)
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Enter.complete(Enter.java:601)
>      [javac]     at 
> com.sun.tools.javac.v8.comp.Enter.main(Enter.java:582)
>      [javac]     at 
> com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java
>  :331)
>      [javac]     at com.sun.tools.javac.v8.Main.compile(Main.java:569)
>      [javac]     at com.sun.tools.javac.Main.compile(Main.java:36)
>      [javac]     at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [javac]     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
>  sorImpl.java:39)
>      [javac]     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
>  hodAccessorImpl.java:25)
>      [javac]     at java.lang.reflect.Method.invoke(Method.java:324)
>      [javac]     at 
> org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac
>  13.java:98)
>      [javac]     at 
> org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:979)
>      [javac]     at 
> org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:801)
>      [javac]     at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>  va:306)
>      [javac]     at org.apache.tools.ant.Task.perform(Task.java:401)
>      [javac]     at 
> org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.j
>  ava:102)
>      [javac]     at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>  va:306)
>      [javac]     at org.apache.tools.ant.Task.perform(Task.java:401)
>      [javac]     at 
> org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInst
>  ance.java:373)
>      [javac]     at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>  va:306)
>      [javac]     at org.apache.tools.ant.Task.perform(Task.java:401)
>      [javac]     at 
> org.apache.tools.ant.Target.execute(Target.java:338)
>      [javac]     at 
> org.apache.tools.ant.Target.performTasks(Target.java:365)
>      [javac]     at 
> org.apache.tools.ant.Project.executeTarget(Project.java:1252)
>
>     [javac]     at 
> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:420)
>      [javac]     at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>  va:306)
>      [javac]     at org.apache.tools.ant.Task.perform(Task.java:401)
>      [javac]     at 
> org.apache.tools.ant.Target.execute(Target.java:338)
>      [javac]     at 
> org.apache.tools.ant.Target.performTasks(Target.java:365)
>      [javac]     at 
> org.apache.tools.ant.Project.executeTarget(Project.java:1252)
>
>     [javac]     at 
> org.apache.tools.ant.Project.executeTargets(Project.java:1100
>  )
>      [javac]     at org.apache.tools.ant.Main.runBuild(Main.java:669)
>      [javac]     at org.apache.tools.ant.Main.startAnt(Main.java:220)
>      [javac]     at 
> org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
>      [javac]     at 
> org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
>
> BUILD FAILED
>  C:\CVS\admissions\deploy.xml:94: Following error occured while 
> executing this li
>  ne
>  C:\CVS\admissions\build.xml:485: Following error occured while 
> executing this li
>  ne
>  C:\CVS\admissions\build.xml:182: Compile failed; see the compiler 
> error output f
>  or details.
>
> Total time: 1 minute 25 seconds


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message