Bug 19792 - Regression: Unable to install AlphabetSoup feature
Summary: Regression: Unable to install AlphabetSoup feature
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 critical (vote)
Target Milestone: 2.0 F3   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 18867
  Show dependency tree
 
Reported: 2002-06-10 10:17 EDT by Vlad Klicnik CLA
Modified: 2002-06-10 12:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad Klicnik CLA 2002-06-10 10:17:49 EDT
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)
Comment 1 Dejan Glozic CLA 2002-06-10 10:23:33 EDT
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.
Comment 2 Vlad Klicnik CLA 2002-06-10 10:35:20 EDT
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)
Comment 3 Vlad Klicnik CLA 2002-06-10 10:39:54 EDT
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]
Comment 4 Vlad Klicnik CLA 2002-06-10 12:37:39 EDT
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)