[jboss-osgi-issues] [JBoss JIRA] (JBOSGI-761) WAB fragment deployment fails

Harald Wellmann (JIRA) issues at jboss.org
Sun Feb 16 12:35:47 EST 2014


Harald Wellmann created JBOSGI-761:
--------------------------------------

             Summary: WAB fragment deployment fails
                 Key: JBOSGI-761
                 URL: https://issues.jboss.org/browse/JBOSGI-761
             Project: JBoss OSGi
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
    Affects Versions: JBossOSGi 2.1.1
         Environment: WildFly 8.0.0.CR1, jbosgi-2.1.2-SNAPSHOT
            Reporter: Harald Wellmann


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-osgi-issues mailing list