Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 7848 invoked by uid 500); 2 Aug 2001 18:44:46 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 7836 invoked from network); 2 Aug 2001 18:44:45 -0000 Message-ID: <3B699F73.A02DA118@intraware.com> Date: Thu, 02 Aug 2001 11:44:03 -0700 From: "Tim Meals" Organization: Intraware, Inc. X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: javac fails intermittently References: <426C1E9EBA27D411839000D0B74752F802CD5D1B@punmsg02.ad.infosys.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Richard -- What OS are you using? Any Error (as opposed to Exception) is bad news, and usually something wrong with the JVM or the machine. Do other applications (Java and non-Java) have problems on the system? If it's RedHat Linux 7.0, there are some known issues with JDK 1.3. There have been a few postings about how to fix it (see the mail archives), but I've found the simplest was to disable the HotSpot VM. In Ant, you can define to use the "classic" compiler as opposed to the "modern", which is the default for 1.3 VMs. If other Java apps have similar problems, consider changing it system-wide. Look around ${JAVA_HOME}/lib/jre/java.cnf (?), I think. Tim Richard Rodrigues wrote: > Hi,Sorry if this has been posted earlier.My ant build runs into the > following problem often.The funny part is if I run the build again it > works without a hitch. [javac] An exception has occurred in the > compiler (1.3.0). Please file a bug > at the Java Developer Connection > (http://java.sun.com/cgi-bin/bugreport.cgi). > Include your program and the following diagnostic in your report. > Thank you. > [javac] java.lang.InternalError: jzentry == 0 > [javac] at > java.util.zip.ZipFile$2.nextElement(ZipFile.java:297) > [javac] at > com.sun.tools.javac.v8.code.ClassReader.openArchive(ClassReader.java:893) > > [javac] at > com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1095) > [javac] at > com.sun.tools.javac.v8.code.ClassReader.listAll(ClassReader.java:1180) > > [javac] at > com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1202) > [javac] at > com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:955) > > [javac] at > com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366) > [javac] at > com.sun.tools.javac.v8.comp.Enter._case(Enter.java:424) > [javac] at > com.sun.tools.javac.v8.tree.Tree$TopLevel.visit(Tree.java:349) > [javac] at > com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:392) > [javac] at > com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:410) > [javac] at > com.sun.tools.javac.v8.comp.Enter.main(Enter.java:540) > [javac] at > com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:357) > [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:99) > > [javac] at > org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:461) > [javac] at > org.apache.tools.ant.Target.execute(Target.java:153) > [javac] at > org.apache.tools.ant.Project.runTarget(Project.java:898) > [javac] at > org.apache.tools.ant.Project.executeTarget(Project.java:536) > [javac] at > org.apache.tools.ant.Project.executeTargets(Project.java:510) > [javac] at org.apache.tools.ant.Main.runBuild(Main.java:421) > [javac] at org.apache.tools.ant.Main.main(Main.java:149) > [javac] Compile failed, messages should have been provided.Am I > missing something or is there a workaround?Is this related to javac > not releasing locks?Regards,Richard. -- Tim Meals Web Applications Developer mailto:tmeals@intraware.com fax: 925-253-4599 http://www.intraware.com operator: 925-253-4500 Intraware ... Control Your Technology