Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 132395 - improve error handling in bugzilla search
Summary: improve error handling in bugzilla search
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 0.4   Edit
Hardware: PC Windows All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Robert Elves CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 142795
Blocks:
  Show dependency tree
 
Reported: 2006-03-17 15:16 EST by Robert Elves CLA
Modified: 2006-08-31 16:51 EDT (History)
2 users (show)

See Also:


Attachments
mylar/context/zip (3.02 KB, application/octet-stream)
2006-08-31 16:51 EDT, Robert Elves CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Elves CLA 2006-03-17 15:16:48 EST
Upon searching Bugzilla from Search menu using a repository with invalid credentials:

java.lang.NullPointerException
at org.eclipse.jface.dialogs.IconAndMessageDialog.getSWTImage(IconAndMessageDialog.java:265)
at org.eclipse.jface.dialogs.IconAndMessageDialog.getErrorImage(IconAndMessageDialog.java:212)
at org.eclipse.jface.dialogs.MessageDialog.<init>(MessageDialog.java:141)
at org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:310)
at org.eclipse.mylar.internal.bugzilla.core.search.BugzillaSearchQuery.run(BugzillaSearchQuery.java:83)
at org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:90)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Comment 1 Robert Elves CLA 2006-03-30 14:10:23 EST
See also Alex's comments related to search results on bug# 133196.
Comment 2 Mik Kersten CLA 2006-05-19 22:49:08 EDT
Rob, is this still an problem or did it get resolved?
Comment 3 Robert Elves CLA 2006-05-23 13:33:26 EDT
This problem still exists (although in different form) and is directly related to bug 142795 (Trying to submit...get error). I'm marking this report as depending on 142795.
Comment 4 Robert Elves CLA 2006-08-28 14:30:08 EDT
Update. Currently there are no exceptions thrown but we should be presenting some form of indication that there was an error.
Comment 5 Robert Elves CLA 2006-08-31 16:51:20 EDT
Fixed.
Comment 6 Robert Elves CLA 2006-08-31 16:51:21 EDT
Created attachment 49215 [details]
mylar/context/zip