commit | fe36a8cac8426fcc7a32ab648b436221be715f9f | [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 | 657cb30e97e9faf4723673128554f5f7e1938a33 [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) {