Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-03-14 19:15:10 +0000
committermkersten2007-03-14 19:15:10 +0000
commit3fe9a80c23b06c07cd575e727cf360c362eab12a (patch)
tree140612cd8c628fb7ba70ac52d5cd1a13a81716a7
parenta070e126433fe6ed9b30a740c609b6cdaa639d26 (diff)
downloadorg.eclipse.mylyn.tasks-3fe9a80c23b06c07cd575e727cf360c362eab12a.tar.gz
org.eclipse.mylyn.tasks-3fe9a80c23b06c07cd575e727cf360c362eab12a.tar.xz
org.eclipse.mylyn.tasks-3fe9a80c23b06c07cd575e727cf360c362eab12a.zip
Version update
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaProductPage.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaProductPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaProductPage.java
index f2c5aaba7..42c21858e 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaProductPage.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaProductPage.java
@@ -317,7 +317,9 @@ public class BugzillaProductPage extends WizardPage {
Object element = selection.getFirstElement();
if (element instanceof BugzillaTask) {
BugzillaTask task = (BugzillaTask) element;
- products.add(task.getTaskData().getProduct());
+ if (task.getTaskData() != null) {
+ products.add(task.getTaskData().getProduct());
+ }
} else {
BugzillaRepositoryQuery query = null;
if (element instanceof BugzillaRepositoryQuery) {

Back to the top