Community
Participate
Working Groups
Self-hosting with code in HEAD. Start with clean install (only have the base SDK). In Update Manager create bookmark to AlphabetSoup site. Expand site, select Alphabet Soup 1.0.0 and click [Install]. The install wizard comes up. Click [Next>] .... nothing happens. NPE written to the log. !MESSAGE Unhandled exception caught in event loop. !ENTRY org.eclipse.ui 4 0 Jun 10, 2002 10:25:27.714 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.update.internal.ui.wizards.LicensePage.updateDirectionalButtons(Lice nsePage.java:216) at org.eclipse.update.internal.ui.wizards.LicensePage.setVisible(LicensePage.java:2 32) at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:888) at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:653) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:308) at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:398) 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.sendEvent(Widget.java:825) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1527) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1289) at org.eclipse.jface.window.Window.runEventLoop(Window.java:558) at org.eclipse.jface.window.Window.open(Window.java:538) at org.eclipse.update.internal.ui.forms.DetailsForm$9.run(DetailsForm.java:786) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:64) at org.eclipse.update.internal.ui.forms.DetailsForm.executeJob(DetailsForm.java:777 ) at org.eclipse.update.internal.ui.forms.DetailsForm.doButtonSelected(DetailsForm.ja va:806) at org.eclipse.update.internal.ui.forms.DetailsForm.access$12(DetailsForm.java:794) at org.eclipse.update.internal.ui.forms.DetailsForm$6.widgetSelected(DetailsForm.ja va:393) 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.sendEvent(Widget.java:825) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1527) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1289) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1177) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:73 9) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:244) at org.eclipse.core.launcher.Main.run(Main.java:693) at org.eclipse.core.launcher.Main.main(Main.java:526)
Fixed - I called 'updateDirectionalButtons' in 'setVisible' without checking the wizard mode (multiLicense or not). If the wizard is not in a multiLicense mode, directional buttons are not created and are null.
Still not able to install Alphabet Soup 1.0.0. I now get past the license page, but the Install Location page is empty (no site offered) and when I click [Finish] I get NPE. !ENTRY org.eclipse.update.ui 4 0 Jun 10, 2002 10:42:43.984 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.update.internal.ui.wizards.InstallWizard$1.run(InstallWizard.java:67 ) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.jav a:98) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.jav a:98)
I can also recreate using Eclipse update site and selecting the Eclipse SDK Examples feature. Pless [Install] and follow the wizard dialog. When I try to [Update] the SDK feature things are OK. Seems like problem is only in [Install]
Dejan was not able to reproduce using clean build. I can no longer reproduce with self-hosting. Closing (as FIXED because the original problem was fixed)