commit | 44ff87d944bb8c9ef85841270b25375d34db213d | [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 | c22a23fa13e7a00ea451311be95bc81b58f2a64e [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(); }