Community
Participate
Working Groups
When I go to the ZIP export wizard (File->Export->Zip file) in a build 129 workspace and click on the file destination browse button I get a NullPointerException with the walkback shown below in the log file. I only get this error when I first select JAR file and Next which also causes an error. When I go to Zip file export directly it works. The dialog_settings.xml is as follows: <?xml version="1.0" encoding="UTF-8"?> <section name="Workbench"><section name="JarPackageWizard"><item key="JarManifestWizardPage.MANIFEST_LOCATION" value=""/><item key="JarPackageWizardPage.DESCRIPTION_LOCATION" value=""/><item key="JarManifestWizardPage.GENERATE_MANIFEST" value="true"/><item key="JarManifestWizardPage.REUSE_MANIFEST" value="false"/><item key="JarManifestWizardPage.SEAL_JAR" value="false"/><item key="JarPackageWizardPage.EXPORT_CLASS_FILES" value="true"/><item key="JarPackageWizardPage.SHOW_ERRORS" value="true"/><item key="JarPackageWizardPage.EXPORT_JAVA_FILES" value="false"/><item key="JarPackageWizardPage.OVERWRITE" value="false"/><item key="JarPackageWizardPage.SHOW_WARNINGS" value="true"/><item key="JarPackageWizardPage.EXPORT_WARNINGS" value="true"/><item key="jarPackageWizardPage.EXPORT_ERRORS" value="true"/><item key="JarPackageWizardPage.SAVE_DESCRIPTION" value="false"/><item key="JarManifestWizardPage.SAVE_MANIFEST" value="false"/><item key="JarPackageWizardPage.COMPRESS" value="false"/><list key="JarPackageWizardPage.DESTINATION_NAMES_ID"><item value="D:\Images\Eclipse\dev\eclipse\plugins\org.eclipse.swt\swt2.jar"/></list></section></section> Note that I hacked the xml file to use the build 129 key names. I didn't have the original 129 file anymore. Log: Wed Aug 22 11:12:01 EDT 2001 4 org.eclipse.core.runtime 0 Unhandled exception caught in event loop. java.lang.NullPointerException at org.eclipse.jdt.internal.ui.jarpackager.JarPackageWizardPage.handleDestinationBrowseButtonPressed(JarPackageWizardPage.java:421) at org.eclipse.jdt.internal.ui.jarpackager.JarPackageWizardPage$2.widgetSelected(JarPackageWizardPage.java:218) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:85) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:646) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1343) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code)) at org.eclipse.jface.window.Window.runEventLoop(Window.java:536) at org.eclipse.jface.window.Window.open(Window.java:523) at org.eclipse.ui.internal.ExportResourcesAction.run(ExportResourcesAction.java:62) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:408) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:362) at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:353) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:646) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1343) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code)) at org.eclipse.ui.internal.Workbench.run(Workbench.java:622) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:815) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:119) at org.eclipse.core.launcher.Main.run(Main.java:401) at org.eclipse.core.launcher.Main.main(Main.java:274) Log: Wed Aug 22 11:12:01 EDT 2001 4 org.eclipse.core.runtime 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.ui.jarpackager.JarPackageWizardPage.handleDestinationBrowseButtonPressed(JarPackageWizardPage.java:421) at org.eclipse.jdt.internal.ui.jarpackager.JarPackageWizardPage$2.widgetSelected(JarPackageWizardPage.java:218) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:85) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:646) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1343) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code)) at org.eclipse.jface.window.Window.runEventLoop(Window.java:536) at org.eclipse.jface.window.Window.open(Window.java:523) at org.eclipse.ui.internal.ExportResourcesAction.run(ExportResourcesAction.java:62) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:408) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:362) at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:353) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:646) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1343) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code)) at org.eclipse.ui.internal.Workbench.run(Workbench.java:622) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:815) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:119) at org.eclipse.core.launcher.Main.run(Main.java:401) at org.eclipse.core.launcher.Main.main(Main.java:274) NOTES: DM (8/22/01 6:05:36 PM) This is triggered/caused by: 1GIRYZE: ITPJUI:WINNT - JAR export wizard: "AssertionFailedException: null argument" which will be fixed in 0.133 and hence no immediate action is required for the Wizard. The problem is that the Wizard stays open after the error and then displays the JarPackageWizardPage when the user clicked on "Zip file" (or "File system). The Wizard should either recover if one component fails or shut itself down. When the user closes the dialog and then selects "Export... --> Zip file" then correct page comes up and it works. Moving to ITPUI. KH (9/19/2001 11:42:52 AM) Workbench needs to be more robust when plugins fail.
PRODUCT VERSION: 131
This is really stale, but should double-check it as part of the current robustness improvements.
Verified fixed in 20020529.