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

Arcadiy Ivanov (JIRA) issues at jboss.org
Wed May 11 13:29:00 EDT 2016


     [ https://issues.jboss.org/browse/JBOSGI-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arcadiy Ivanov resolved JBOSGI-761.
-----------------------------------
    Fix Version/s: JBossOSGI 2.5.2
                   JBossOSGI 2.4.2
       Resolution: Done


> 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
>             Fix For: JBossOSGI 2.5.2, JBossOSGI 2.4.2
>
>
> 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 was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-osgi-issues mailing list