You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by Scott Semyan <se...@bea.com> on 2005/03/08 21:07:25 UTC

Cannot build petstoreWeb - internal error in the runtime - bad zip?

I am seeing the following error when trying to build the petstoreWeb
app. I have searched through the java bugs and this seems to happen when
a bad zip is encountered. Not sure whether to file a JIRA, Java bug, or
re-install java. I am running JDK 5.0.1. 
 
 
D:\Proj\Beehive>ant -f .\ant\buildWebapp.xml
-Dwebapp.dir=\Proj\Beehive\samples\
petstoreWeb build
Buildfile: .\ant\buildWebapp.xml
 
build:
Overriding previous definition of reference to appserver.build.classpath
[xmlbeanbuild] Could not find any xsd or wsdl files to process.
      [apt] Compiling 32 source files to
\Proj\Beehive\samples\petstoreWeb\WEB-I
NF\classes
      [apt] An exception has occurred in apt (1.5.0_01). Please file a
bug at th
e Java Developer Connection (http://java.sun.com/webapps/bugreport)
after check
ing the Bug Parade for duplicates. Include your program and the
following diagno
stic in your report.  Thank you.
      [apt] java.lang.InternalError: jzentry == 0,
      [apt]  jzfile = 46894560,
      [apt]  total = 12898,
      [apt]  name = C:\Progra~1\Java\jdk1.5.0_01\jre\lib\rt.jar,
      [apt]  i = 471,
      [apt]  message = invalid LOC header (bad signature)
      [apt]     at java.util.zip.ZipFile$3.nextElement(ZipFile.java:427)
      [apt]     at java.util.zip.ZipFile$3.nextElement(ZipFile.java:413)
      [apt]     at
com.sun.tools.javac.jvm.ClassReader.openArchive(ClassReader.j
ava:1442)
      [apt]     at
com.sun.tools.javac.jvm.ClassReader.list(ClassReader.java:171
9)
      [apt]     at
com.sun.tools.javac.jvm.ClassReader.listAll(ClassReader.java:
1859)
      [apt]     at
com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1
873)
      [apt]     at
com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java
:1521)
      [apt]     at
com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
      [apt]     at
com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:249)
      [apt]     at
com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:386)
      [apt]     at
com.sun.tools.javac.comp.Enter.classEnter(Enter.java:214)
      [apt]     at
com.sun.tools.javac.comp.Enter.classEnter(Enter.java:228)
      [apt]     at
com.sun.tools.javac.comp.Enter.complete(Enter.java:441)
      [apt]     at com.sun.tools.javac.comp.Enter.main(Enter.java:426)
      [apt]     at
com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java
:455)
      [apt]     at com.sun.tools.apt.main.Main.compile(Main.java:1075)
      [apt]     at com.sun.tools.apt.main.Main.compile(Main.java:938)
      [apt]     at com.sun.tools.apt.Main.processing(Main.java:95)
      [apt]     at com.sun.tools.apt.Main.process(Main.java:43)
      [apt]     at com.sun.tools.apt.Main.main(Main.java:34)
      [apt] An exception has occurred in the compiler (1.5.0_01). Please
file a
bug at the Java Developer Connection
(http://java.sun.com/webapps/bugreport)  af
ter checking the Bug Parade for duplicates. Include your program and the
followi
ng diagnostic in your report.  Thank you.
      [apt] java.lang.InternalError: jzentry == 0,
      [apt]  jzfile = 46897696,
      [apt]  total = 12898,
      [apt]  name = C:\Progra~1\Java\jdk1.5.0_01\jre\lib\rt.jar,
      [apt]  i = 471,
      [apt]  message = invalid LOC header (bad signature)
      [apt]     at java.util.zip.ZipFile$3.nextElement(ZipFile.java:427)
      [apt]     at java.util.zip.ZipFile$3.nextElement(ZipFile.java:413)
      [apt]     at
com.sun.tools.javac.jvm.ClassReader.openArchive(ClassReader.j
ava:1442)
      [apt]     at
com.sun.tools.javac.jvm.ClassReader.list(ClassReader.java:171
9)
      [apt]     at
com.sun.tools.javac.jvm.ClassReader.listAll(ClassReader.java:
1859)
      [apt]     at
com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1
873)
      [apt]     at
com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java
:1521)
      [apt]     at
com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
      [apt]     at
com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:249)
      [apt]     at
com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:386)
      [apt]     at
com.sun.tools.javac.comp.Enter.classEnter(Enter.java:214)
      [apt]     at
com.sun.tools.javac.comp.Enter.classEnter(Enter.java:228)
      [apt]     at
com.sun.tools.javac.comp.Enter.complete(Enter.java:441)
      [apt]     at com.sun.tools.javac.comp.Enter.main(Enter.java:426)
      [apt]     at
com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.ja
va:413)
      [apt]     at com.sun.tools.javac.main.Main.compile(Main.java:592)
      [apt]     at com.sun.tools.javac.main.Main.compile(Main.java:544)
      [apt]     at com.sun.tools.javac.Main.compile(Main.java:67)
      [apt]     at com.sun.tools.apt.main.Main.compile(Main.java:1044)
      [apt]     at com.sun.tools.apt.Main.processing(Main.java:95)
      [apt]     at com.sun.tools.apt.Main.process(Main.java:43)
      [apt]     at com.sun.tools.apt.Main.main(Main.java:34)
 
BUILD FAILED
D:\Proj\Beehive\ant\buildWebapp.xml:43: The following error occurred
while execu
ting this line:
D:\Proj\Beehive\ant\buildWebappCore.xml:68: Compile failed; see the
compiler err
or output for details.
 
Total time: 2 seconds
D:\Proj\Beehive>