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 1763 - Removing module from modules directory opens error message box.
Summary: Removing module from modules directory opens error message box.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-05-14 22:15 UTC by issues@www
Modified: 2007-09-26 09:14 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 issues@www 1999-05-14 22:15:07 UTC
I tired to install microedit.jar a I was required to remove editor.jar.
New start of IDE prints, exception and message box is displayed.

---------

This seems to be a sporadic error, i.e. occurs on some occasions with no obvious pattern. Happens to me sometimes when developing modules--create JAR file, start Gandalf and get ZipException (-> modul
e is not loaded). The JAR seems to be in valid format according to WinZip etc. I thought it was a Samba timing problem or something, but maybe not. It seems that waiting a few minutes before starting
Gandalf usually solves the problem. Likely a JDK bug?? Thrown from $JDKSRC/src/share/native/java/util/zip/ZipFile.c:Java_java_util_zip_ZipFile_open(). In this case the jzfile* is NULL, msg is NULL, er
rno is not ENOMEM--it`s something else unspecified.

--jglick

---------

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:69)
        at java.util.jar.JarFile.<init>(JarFile.java:71)
        at java.util.jar.JarFile.<init>(JarFile.java:58)
        at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:76)
        at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.ja

va:92)
        at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection
.java:76)
        at java.net.JarURLConnection.getManifest(JarURLConnection.java:214)
        at com.netbeans.developer.impl.ModuleItem.init(ModuleItem.java:117)
        at com.netbeans.developer.impl.ModuleItem.<init>(ModuleItem.java:87)
        at com.netbeans.developer.impl.ModuleInstaller$XML.startElement(ModuleIn
staller.java:548)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1370)
        at com.sun.xml.parser.Parser.content(Parser.java:1479)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1380)
        at com.sun.xml.parser.Parser.parseInternal(Parser.java:451)
        at com.s
Comment 1 Quality Engineering 2003-07-02 15:42:28 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.