Project: Eclipse_Platform_UI
Bug 118191 [RCP] product export - nullpointer on startup
Reported: 2005-11-28 02:05:31 | Status: verified fixed

After exporting my rcp-product for the first time I get the following stack-trace: !SESSION 2005-11-28 07:59:14.821 ----------------------------------------------- eclipse.buildId=unknown java.version=1.5.0_05 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_AT Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.update.configurator 2005-11-28 07:59:16.734 !MESSAGE Unable to find feature.xml in directory: e:\Semester_5\Rich_Client\Code\org.eclipse.encian.export\eNcian-Tools\features\eNcian_1.0.0.jar !ENTRY org.eclipse.osgi 2005-11-28 07:59:36.192 !MESSAGE Application error !STACK 1 java.lang.NullPointerException at org.eclipse.jface.action.StatusLine.handleDispose(StatusLine.java:353) at org.eclipse.jface.action.StatusLine$1.widgetDisposed(StatusLine.java:232) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:101) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848) at org.eclipse.swt.widgets.Widget.releaseWidget(Widget.java:755) at org.eclipse.swt.widgets.Control.releaseWidget(Control.java:1574) at org.eclipse.swt.widgets.Scrollable.releaseWidget(Scrollable.java:195) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:594) at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:720) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:588) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:593) at org.eclipse.swt.widgets.Canvas.releaseWidget(Canvas.java:117) at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:782) at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:868) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:382) at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:441) at org.eclipse.swt.widgets.Shell.dispose(Shell.java:499) at org.eclipse.swt.widgets.Display.release(Display.java:2761) at org.eclipse.swt.graphics.Device.dispose(Device.java:261) at org.eclipse.encian.EncianApplication.run(EncianApplication.java:85) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) The line at org.eclipse.encian.EncianApplication.run(EncianApplication.java:85) calls the super.dispose-method in the finally block of the application's initialization. This occurs only the first time I start the product. The second time everything works fine. What's wrong here?

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/action/StatusLine.java