This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 27320 - IDE failed to start due to Zip exception
Summary: IDE failed to start due to Zip exception
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 26191
Blocks:
  Show dependency tree
 
Reported: 2002-09-13 18:02 UTC by rtrask
Modified: 2008-12-23 08:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rtrask 2002-09-13 18:02:34 UTC
Here is the content of the details of the 
exception, I will aso add to the end of this 
message the content of the IDE log for today.

Note, this occurred right after I installed 
SDK for 1.4_02

java.lang.IllegalStateException: Problem with 
no associated module: 
org.netbeans.core.modules.InvalidException: 
java.util.zip.ZipException: error in opening 
zip file
        at 
org.netbeans.core.modules.ModuleManager.enable
(ModuleManager.java:615)
        at 
org.netbeans.core.modules.ModuleList.installNew
(ModuleList.java:519)
        at 
org.netbeans.core.modules.ModuleList.trigger
(ModuleList.java:463)
        at 
org.netbeans.core.modules.ModuleSystem.scanForN
ewAndRestore(ModuleSystem.java:271)
        at org.netbeans.core.NonGui.run
(NonGui.java:554)
        at org.netbeans.core.Main.run
(Main.java:244)
        at 
org.openide.TopManager.initializeTopManager
(TopManager.java:120)
        at org.openide.TopManager.getDefault
(TopManager.java:81)
        at org.netbeans.core.Main.main
(Main.java:396)
        at org.netbeans.core.TopThreadGroup.run
(TopThreadGroup.java:81)
[catch] at java.lang.Thread.run
(Thread.java:536)
==>
java.util.zip.ZipException: error in opening 
zip file
        at java.util.zip.ZipFile.open(Native 
Method)
        at java.util.zip.ZipFile.<init>
(ZipFile.java:112)
        at java.util.jar.JarFile.<init>
(JarFile.java:117)
        at java.util.jar.JarFile.<init>
(JarFile.java:82)
        at 
org.netbeans.core.modules.Module.classLoaderUp
(Module.java:830)
        at 
org.netbeans.core.modules.ModuleManager.enable
(ModuleManager.java:580)
        at 
org.netbeans.core.modules.ModuleList.installNew
(ModuleList.java:519)
        at 
org.netbeans.core.modules.ModuleList.trigger
(ModuleList.java:463)
        at 
org.netbeans.core.modules.ModuleSystem.scanForN
ewAndRestore(ModuleSystem.java:271)
        at org.netbeans.core.NonGui.run
(NonGui.java:554)
        at org.netbeans.core.Main.run
(Main.java:244)
        at 
org.openide.TopManager.initializeTopManager
(TopManager.java:120)
        at org.openide.TopManager.getDefault
(TopManager.java:81)
        at org.netbeans.core.Main.main
(Main.java:396)
        at org.netbeans.core.TopThreadGroup.run
(TopThreadGroup.java:81)
[catch] at java.lang.Thread.run
(Thread.java:536)


______ IDE LOG _______________________


>Log Session: Friday, September 13, 2002 
10:44:34 AM MDT

>System Info: 

  Product Version       = NetBeans IDE 3.4

  IDE Versioning        = IDE/1 spec=2.23.1 
impl=200208222340

  Operating System      = Windows 2000 version 
5.0 running on x86

  Java; VM; Vendor      = 1.4.0_02; Java 
HotSpot(TM) Client VM 1.4.0_02-b02; Sun 
Microsystems Inc.

  Java Home             = D:\java\j2sdk1.4.0_02
\jre

  System Locale; Encod. = en_US; Cp1252

  Home Dir; Current Dir = D:\Documents and 
Settings\Ronald Trask; D:\netbeans\NetBeans 
IDE 3.4

  IDE Install; User Dir = D:\netbeans\NetBeans 
IDE 3.4; D:\Documents and Settings\Ronald 
Trask\.netbeans\3.4

  CLASSPATH             = D:\netbeans\NetBeans 
IDE 3.4\lib\patches\openide-
compat.jar;D:\netbeans\NetBeans IDE 3.4
\lib\core-compiler.jar;D:\netbeans\NetBeans 
IDE 3.4\lib\core-
execution.jar;D:\netbeans\NetBeans IDE 3.4
\lib\core-ide.jar;D:\netbeans\NetBeans IDE 3.4
\lib\core-ui.jar;D:\netbeans\NetBeans IDE 3.4
\lib\core-windows.jar;D:\netbeans\NetBeans IDE 
3.4\lib\core.jar;D:\netbeans\NetBeans IDE 3.4
\lib\openide.jar;D:\netbeans\NetBeans IDE 3.4
\lib\ext\crimson.jar;D:\netbeans\NetBeans IDE 
3.4\lib\ext\regexp.jar;D:\netbeans\NetBeans 
IDE 3.4\lib\ext\rmi-
ext.jar;D:\netbeans\NetBeans IDE 3.4
\lib\ext\terminalemulator.jar;D:\netbeans\NetBe
ans IDE 3.4
\lib\ext\xerces.jar;D:\netbeans\NetBeans IDE 
3.4\lib\ext\xml-apis.jar;D:\java\j2sdk1.4.0_02
\lib\dt.jar;D:\java\j2sdk1.4.0_02\lib\tools.jar

  Boot & ext classpath  = D:\java\j2sdk1.4.0_02
\jre\lib\rt.jar;D:\java\j2sdk1.4.0_02
\jre\lib\i18n.jar;D:\java\j2sdk1.4.0_02
\jre\lib\sunrsasign.jar;D:\java\j2sdk1.4.0_02
\jre\lib\jsse.jar;D:\java\j2sdk1.4.0_02
\jre\lib\jce.jar;D:\java\j2sdk1.4.0_02
\jre\lib\charsets.jar;D:\java\j2sdk1.4.0_02
\jre\classes;D:\java\j2sdk1.4.0_02
\jre\lib\ext\dnsns.jar;D:\java\j2sdk1.4.0_02
\jre\lib\ext\ldapsec.jar;D:\java\j2sdk1.4.0_02
\jre\lib\ext\localedata.jar;D:\java\j2sdk1.4.0_
02\jre\lib\ext\sunjce_provider.jar

-----------------------------------------------
--------------------------------

*********** Exception occurred ************ at 
Fri Sep 13 10:44:52 MDT 2002

java.lang.IllegalStateException: Problem with 
no associated module: 
org.netbeans.core.modules.InvalidException: 
java.util.zip.ZipException: error in opening 
zip file

	at 
org.netbeans.core.modules.ModuleManager.enable
(ModuleManager.java:615)

	at 
org.netbeans.core.modules.ModuleList.installNew
(ModuleList.java:519)

	at 
org.netbeans.core.modules.ModuleList.trigger
(ModuleList.java:463)

	at 
org.netbeans.core.modules.ModuleSystem.scanForN
ewAndRestore(ModuleSystem.java:271)

	at org.netbeans.core.NonGui.run
(NonGui.java:554)

	at org.netbeans.core.Main.run
(Main.java:244)

	at 
org.openide.TopManager.initializeTopManager
(TopManager.java:120)

	at org.openide.TopManager.getDefault
(TopManager.java:81)

	at org.netbeans.core.Main.main
(Main.java:396)

[catch] at org.netbeans.core.TopThreadGroup.run
(TopThreadGroup.java:81)

	at java.lang.Thread.run
(Thread.java:536)

==>

java.util.zip.ZipException: error in opening 
zip file

	at java.util.zip.ZipFile.open(Native 
Method)

	at java.util.zip.ZipFile.<init>
(ZipFile.java:112)

	at java.util.jar.JarFile.<init>
(JarFile.java:117)

	at java.util.jar.JarFile.<init>
(JarFile.java:82)

	at 
org.netbeans.core.modules.Module.classLoaderUp
(Module.java:830)

	at 
org.netbeans.core.modules.ModuleManager.enable
(ModuleManager.java:580)

	at 
org.netbeans.core.modules.ModuleList.installNew
(ModuleList.java:519)

	at 
org.netbeans.core.modules.ModuleList.trigger
(ModuleList.java:463)

	at 
org.netbeans.core.modules.ModuleSystem.scanForN
ewAndRestore(ModuleSystem.java:271)

	at org.netbeans.core.NonGui.run
(NonGui.java:554)

	at org.netbeans.core.Main.run
(Main.java:244)

	at 
org.openide.TopManager.initializeTopManager
(TopManager.java:120)

	at org.openide.TopManager.getDefault
(TopManager.java:81)

	at org.netbeans.core.Main.main
(Main.java:396)

[catch] at org.netbeans.core.TopThreadGroup.run
(TopThreadGroup.java:81)

	at java.lang.Thread.run
(Thread.java:536)
Comment 1 Jesse Glick 2002-09-16 16:11:40 UTC
First, wrong version - found in 3.4, not 4.0 dev.

Second, how to reproduce? Thousands of people use this same IDE
version on Windows 2000 and don't get this problem. So what is wrong
on your computer specifically? I can't guess. Delete your installation
and try again.

The fix for issue #26191 (in 4.0 but not 3.4) reports the specific JAR
that failed.
Comment 2 rtrask 2003-07-08 14:53:21 UTC
The problem is a combination of a improperly written zip 
file, and a bug in the JVM. It is easy to reproduce. I have 
not tried to with 1.4.2, but I suspect it still exists. You 
can work adound the problem by unzipping the zip file, and 
rezipping it to a new file.

A more accurate account of the problem can be found in 
issue 28127 so I think this issue should be closed.