Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java
index 565a6489e..2dab796ae 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java
@@ -707,8 +707,14 @@ public class BugzillaClient {
if (!repositoryConfiguration.getProducts().isEmpty()) {
repositoryConfiguration.setRepositoryUrl(repositoryUrl.toString());
}
- xmlRpcClient.updateConfiguration(monitor, repositoryConfiguration,
- configParameters.get(IBugzillaConstants.BUGZILLA_DESCRIPTOR_FILE));
+ if (xmlRpcClient != null) {
+ xmlRpcClient.updateConfiguration(monitor, repositoryConfiguration,
+ configParameters.get(IBugzillaConstants.BUGZILLA_DESCRIPTOR_FILE));
+ } else {
+ repositoryConfiguration.setValidTransitions(monitor,
+ configParameters.get(IBugzillaConstants.BUGZILLA_DESCRIPTOR_FILE), null);
+ }
+
if (!repositoryConfiguration.getProducts().isEmpty()) {
return repositoryConfiguration;
} else {

Back to the top