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 9306 - [Win2k NB build 114 multi-user] Exception in JarPackager when changing manifest
Summary: [Win2k NB build 114 multi-user] Exception in JarPackager when changing manifest
Status: CLOSED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: jarpackager (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 major (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks: 9305
  Show dependency tree
 
Reported: 2001-01-30 21:47 UTC by javaiware
Modified: 2003-07-01 10:01 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 javaiware 2001-01-30 21:47:19 UTC
Hi,

I got an error in the JarPackager in both NB 3.1 build 36 and NB Dev 114.
When I change the manifest of the jar and change back to the Content-tab or
click "Create JAR" I get an exception (see below). This is my manifest
(between the lines):

--------------- MANIFEST START ----------------

Manifest-Version: 1.0
Created-By: NetBeans IDE

Main-Class: com.IWare.ThrillFillLevelEd2.Application

--------------- MANIFEST END ----------------

I first generated the manifest and then added the main-class line. This
problem is reproducable, and I will report this as a big in Jar-packager.

Iwan

-------------- EXCEPTION START -------------------

Tue Jan 30 16:35:47 EST 2001java.io.IOException: invalid manifest format
java.io.IOException: invalid manifest format
        at java.util.jar.Manifest.read(Manifest.java:185)
        at java.util.jar.Manifest.<init>(Manifest.java:56)
        at
org.netbeans.modules.jarpackager.ManifestTab.updateValue(ManifestTab.java:41
1)
        at
org.netbeans.modules.jarpackager.ManifestTab.storeSettings(ManifestTab.java:
276)
        at
org.netbeans.modules.jarpackager.PackagingPanel.tabbedPaneStateChanged(Packa
gingPanel.java:261)
        at
org.netbeans.modules.jarpackager.PackagingPanel.access$600(PackagingPanel.ja
va:76)
        at
org.netbeans.modules.jarpackager.PackagingPanel$7.stateChanged(PackagingPane
l.java:224)
        at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:234)
        at
javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:179)
        at
javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelect
ionModel.java:99)
        at
javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelect
ionModel.java:51)
        at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:349)
        at
javax.swing.plaf.basic.BasicTabbedPaneUI$MouseHandler.mousePressed(BasicTabb
edPaneUI.java:1822)
        at java.awt.Component.processMouseEvent(Component.java:3714)
        at java.awt.Component.processEvent(Component.java:3546)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2595)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:2210)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:912)
        at java.awt.Component.dispatchEvent(Component.java:2499)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
        at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 1 vnemec 2001-02-02 15:38:59 UTC
*** This bug has been marked as a duplicate of 9305 ***
Comment 2 Quality Engineering 2003-07-01 09:58:09 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 3 Quality Engineering 2003-07-01 10:00:48 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.
Comment 4 Quality Engineering 2003-07-01 10:01:42 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.