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

Summary: Exceptions during deployment on JAR
Product: ide Reporter: Petr Nejedly <pnejedly>
Component: CodeAssignee: Petr Nejedly <pnejedly>
Status: CLOSED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.