Uploaded image for project: 'JBoss OSGi'
  1. JBoss OSGi
  2. JBOSGI-761

WAB fragment deployment fails

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBossOSGi 2.1.1
    • Component/s: None
    • Labels:
      None

      Description

      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

              if (hostRev.isFragment()) {
                  return;
      	}
      

      the exception is gone, but then I'm running into JBOSGI-751.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              arcivanov Arcadiy Ivanov (Inactive)
              Reporter:
              hwellmann.de Harald Wellmann (Inactive)
              Archiver:
              samahaja Sagar Mahajan

                Dates

                Created:
                Updated:
                Resolved:
                Archived: