]
Work on JBOSGI-761 started by Arcadiy Ivanov.
---------------------------------------------
WAB fragment deployment fails
-----------------------------
Key: JBOSGI-761
URL:
https://issues.jboss.org/browse/JBOSGI-761
Project: JBoss OSGi
Issue Type: Bug
Affects Versions: JBossOSGi 2.1.1
Environment: WildFly 8.0.0.CR1, jbosgi-2.1.2-SNAPSHOT
Reporter: Harald Wellmann
Assignee: Arcadiy Ivanov
When deploying a fragment bundle attached to a WAB, there is a NullPointerException in
{{WebBundleFragmentProcessor.deploy()}}, caused by {{hostRef.getWiring()}} being null.
I suppose this processor should only be run on web bundles, not on fragments.
After patching this class to do an early exit
{code}
if (hostRev.isFragment()) {
return;
}
{code}
the exception is gone, but then I'm running into JBOSGI-751.