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 4312 - Exceptions during deployment on JAR
Summary: Exceptions during deployment on JAR
Status: CLOSED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 normal (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-10-07 18:46 UTC by Petr Nejedly
Modified: 2003-07-02 16:02 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 Petr Nejedly 1999-10-07 18:46:04 UTC
When Deploying Jar, NPE is thrown after recompiling it.
sometimes also ZipException is thrown.
(The latter occurs during updating too)

java.lang.NullPointerException
        at com.netbeans.developer.modules.jarpackager.JarDataObject.start(JarDataObject.java:93)
        at org.openide.actions.ExecuteAction.execute(ExecuteAction.java:172)
        at org.openide.actions.ExecuteAction.execute(ExecuteAction.java:250)
        at org.openide.actions.ExecuteAction$1.run(ExecuteAction.java:108)
examples
examples
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:114)
        at java.util.jar.JarFile.<init>(JarFile.java:119)
        at java.util.jar.JarFile.<init>(JarFile.java:86)
        at org.openide.filesystems.JarFileSystem$ModifiedWatcher.rescanIfNeeded(JarFileSystem.java:611)
        at org.openide.filesystems.JarFileSystem.getFolders(JarFileSystem.java:116)
        at org.openide.filesystems.JarFileSystem.getEntryInfo(JarFileSystem.java:94)
        at org.openide.filesystems.JarFileSystem.children(JarFileSystem.java:321)
        at org.openide.filesystems.AbstractFileObject.refresh(AbstractFileObject.java:929)

        at org.openide.filesystems.AbstractFileObject.refresh(AbstractFileObject.java:919)
        at org.openide.filesystems.AbstractFileObject.refresh(AbstractFileObject.java:797)
        at org.openide.filesystems.RefreshRequest.run(RefreshRequest.java:98)
        at org.openide.util.Task.run(Task.java:127)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:519)
Comment 1 Quality Engineering 2003-07-02 15:56:17 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 2 Quality Engineering 2003-07-02 16:02:33 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.