Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335796

Summary: NPE when trying to create new query
Product: z_Archived Reporter: Matthias Sohn <matthias.sohn>
Component: MylynAssignee: Matthias Sohn <matthias.sohn>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7   
Target Milestone: 0.7   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Matthias Sohn CLA 2011-01-30 17:20:36 EST
Open View "Task Repositories"

Add task repository... > Gerrit Code Review > click "Next"

Enter server configuration:
Server: http://egit.eclipse.org/r
Label: EGit Gerrit
user: <your userID>
password: <your password>

Click "Finish"

select the task repository "EGit Gerrit" and click "New Query..."

this hits NPE:

java.lang.NullPointerException
	at org.eclipse.jface.wizard.WizardDialog.updateButtons(WizardDialog.java:1326)
	at org.eclipse.mylyn.internal.gerrit.ui.wizards.GerritCustomQueryPage$2.widgetSelected(GerritCustomQueryPage.java:125)
	at org.eclipse.mylyn.internal.gerrit.ui.wizards.GerritCustomQueryPage.createControl(GerritCustomQueryPage.java:131)
	at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:734)
	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:606)
	at org.eclipse.jface.window.Window.create(Window.java:431)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
...
Comment 1 Matthias Sohn CLA 2011-01-30 17:32:10 EST
fixed with commit fd77685233933cd7c2cb80e764aca4af7b8d9831
Comment 2 Steffen Pingel CLA 2011-01-30 21:41:44 EST
Reopening to fix assignment.
Comment 3 Steffen Pingel CLA 2011-01-30 21:42:11 EST
Closing.