JDK-4666704 : getting a java.lang.InternalError
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 1.3.1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: x86
  • Submitted: 2002-04-11
  • Updated: 2014-05-05
  • Resolved: 2002-04-15
Related Reports
Duplicate :  
Description

Name: nt126004			Date: 04/11/2002


FULL PRODUCT VERSION :
jdk 1.3.1_03-b03

FULL OPERATING SYSTEM VERSION :SunOS uscobrmfa-ue-26 5.8
Generic_108528-11 sun4u sparc SUNW,Ultra-Enterprise-10000


A DESCRIPTION OF THE PROBLEM :
we've recently upgrade to the aforementioned jdk
and we are getting the following error.  Everything
compiles find when we use Solaris_JDK_1.2.2_05a.  We
had the same problem when we tried an older version of
jdk1.3 and we're told this newer version of 1.3 would
solve the problem.  What gives?



REGRESSION.  Last worked in version 1.2.2

ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.lang.InternalError: jzentry == 0
        at java.util.zip.ZipFile$2.nextElement(ZipFile.java:292)
        at sun.tools.java.ClassPath.getFiles(ClassPath.java:178)
        at sun.tools.java.Package.exists(Package.java:89)
        at sun.tools.java.Imports.resolve(Imports.java:141)
        at sun.tools.javac.SourceClass.basicCheck(SourceClass.java:1070)
        at sun.tools.java.ClassDeclaration.getClassDefinition
(ClassDeclaration.java:128)
        at com.sun.tools.javadoc.ClassDocImpl.getClassDocImpl
(ClassDocImpl.java:440)
        at com.sun.tools.javadoc.ClassDocImpl.getClassDocImpl
(ClassDocImpl.java:430)
        at com.sun.tools.javadoc.RootDocImpl.createClassDocImpl
(RootDocImpl.java:232)
        at com.sun.tools.javadoc.RootDocImpl.setPackages(RootDocImpl.java:275)
        at com.sun.tools.javadoc.RootDocImpl.<init>(RootDocImpl.java:106)
        at com.sun.tools.javadoc.Main.initInner(Main.java:351)
        at com.sun.tools.javadoc.Main.init(Main.java:290)
        at com.sun.tools.javadoc.Main.main(Main.java:221)
javadoc: fatal error


This bug can be reproduced always.

---------- BEGIN SOURCE ----------
This isn't coming from the source code, as you can see its an internal error
---------- END SOURCE ----------
(Review ID: 145191) 
======================================================================

Comments
EVALUATION Would you happen to be doing your builds using ANT and invoking javadoc from within the java VM? That's not supported. If that's not what you're doing, you probably have a bad zip file. ###@###.### 2002-04-15
15-04-2002