Dmitry Konstantinov created KARAF-3371: ------------------------------------------
Summary: FeatureService does not refresh bundles Key: KARAF-3371 URL: https://issues.apache.org/jira/browse/KARAF-3371 Project: Karaf Issue Type: Bug Components: karaf-feature Affects Versions: 3.0.2 Reporter: Dmitry Konstantinov org.apache.karaf.features.internal.BundleManager#refreshPackages method: {code} FrameworkWiring wiring = bundleContext.getBundle().adapt(FrameworkWiring.class); if (wiring != null) { {code} this code always returns null, because only the framework bundle can be adapted to FrameworkWiring (http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/wiring/FrameworkWiring.html). How it can be fixed: {code} bundleContext.getBundle(0).adapt(FrameworkWiring.class) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)