Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 469807 - NullPointerException in SimpleVariablePage crashes the whole application
Summary: NullPointerException in SimpleVariablePage crashes the whole application
Status: RESOLVED DUPLICATE of bug 468880
Alias: None
Product: Oomph
Classification: Tools
Component: Setup (show other bugs)
Version: 1.1.0   Edit
Hardware: PC Mac OS X
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-10 04:21 EDT by Stephane Begaudeau CLA
Modified: 2015-06-10 06:17 EDT (History)
0 users

See Also:


Attachments
The bundles of the installer (439.84 KB, image/png)
2015-06-10 04:21 EDT, Stephane Begaudeau CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Begaudeau CLA 2015-06-10 04:21:46 EDT
Created attachment 254276 [details]
The bundles of the installer

Steps to reproduce:

1 - Download the Eclipse installer from https://www.eclipse.org/downloads/index-developer-default.php
2 - Unzip the Eclipse installer in the Application folder
3 - Launch it and apply the update to have Oomph 1.1.0.v20150609-0914 Build 1422
4 - Click on an Eclipse (for example Eclipse for Java Developers or Eclipse Modeling)
5 - It crashes with a NPE, then another error popup appear (Java was started but it returned exit code 1) and it's over, the application has crashed.

I tried with other Eclipse, like Eclipse Modeling, but the application crashes every time I click on something.

Stack Trace:
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
	at org.eclipse.swt.SWT.error(SWT.java:4491)
	at org.eclipse.swt.SWT.error(SWT.java:4406)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4024)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3700)
	at org.eclipse.oomph.setup.internal.installer.AbstractSimpleDialog.show(AbstractSimpleDialog.java:114)
	at org.eclipse.oomph.setup.internal.installer.InstallerApplication.run(InstallerApplication.java:215)
	at org.eclipse.oomph.setup.internal.installer.InstallerApplication.start(InstallerApplication.java:271)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
Caused by: java.lang.NullPointerException
	at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.setEnabled(SimpleVariablePage.java:783)
	at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage$15.run(SimpleVariablePage.java:748)
	at org.eclipse.oomph.ui.UIUtil$4.run(UIUtil.java:494)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	... 17 more
Comment 1 Ed Merks CLA 2015-06-10 06:17:35 EDT
This was reported also in bug 468880 and is already fixed for RC4.

*** This bug has been marked as a duplicate of bug 468880 ***