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.
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)
*** This bug has been marked as a duplicate of 9305 ***
Resolved for 3.3.x or earlier, no new info since then -> closing.
Resolved for 3.4 or earlier, no new info since then -> closing.