Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335796 - NPE when trying to create new query
Summary: NPE when trying to create new query
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 0.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 0.7   Edit
Assignee: Matthias Sohn CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-30 17:20 EST by Matthias Sohn CLA
Modified: 2011-01-30 21:42 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.