commit | c056b9ca9c9ce2c975bc673b435d3f6aa9f12e56 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Thu Feb 10 17:32:08 2011 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Thu Feb 10 17:32:08 2011 +0000 |
tree | 50ffd20efeb8f0f335b56ebe3500d388fdedb213 | |
parent | 1ebea1e479b3c547f048e474ca670534f2bccdd8 [diff] |
Check if the bundle exists before trying to update it. (FELIX-2796) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1069491 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/main/src/main/java/org/apache/felix/main/AutoProcessor.java b/main/src/main/java/org/apache/felix/main/AutoProcessor.java index e5d38f7..f934400 100644 --- a/main/src/main/java/org/apache/felix/main/AutoProcessor.java +++ b/main/src/main/java/org/apache/felix/main/AutoProcessor.java
@@ -175,7 +175,7 @@ } // If the bundle is already installed, then update it // if the 'update' action is present. - else if (actionList.contains(AUTO_DEPLOY_UPDATE_VALUE)) + else if ((b != null) && actionList.contains(AUTO_DEPLOY_UPDATE_VALUE)) { b.update(); }