commit | 127d55702a29caf3fba7a9e063bb65e9ece2a4e6 | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Fri Mar 19 18:24:02 2010 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Fri Mar 19 18:24:02 2010 +0000 |
tree | 0ee2d79a0b13f1901714666e355d4bad6876fdba | |
parent | 1c644bf80512bc267fbafac10b0058f470f8b580 [diff] |
[bundleplugin] fix possible NPE when installing non osgi bundles artifacts git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@925367 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrUpdate.java b/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrUpdate.java index 3a66cfe..0d9f719 100644 --- a/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrUpdate.java +++ b/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrUpdate.java
@@ -168,6 +168,10 @@ try { m_resourceBundle = (ResourceImpl) new DataModelHelperImpl().createResource( bundleJar.toURL() ); + if (m_resourceBundle == null) + { + return; + } } catch (IOException e) {