Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9776

Bundles without a MANIFEST.MF cause a crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5, 5.6-RC1
    • Fix Version/s: 5.6-RC2, 5.6
    • Component/s: Runtime

      Description

      If a JAR without any MANIFEST.MF is placed in the bundles directory (or is scanned as part of WEB-INF/lib in a WAR-packed Nuxeo), a crash occurs:

      [StandardContext.listenerStart] Exception sending context initialized event to listener instance of class org.nuxeo.runtime.deployment.NuxeoStarter
      java.lang.NullPointerException
              at org.nuxeo.osgi.application.loader.FrameworkLoader.isBundle(FrameworkLoader.java:197)
              at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(FrameworkLoader.java:208)
              at org.nuxeo.osgi.application.loader.FrameworkLoader.start(FrameworkLoader.java:112)
              at org.nuxeo.runtime.deployment.NuxeoStarter.start(NuxeoStarter.java:111)
              at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(NuxeoStarter.java:79)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fguillaume Florent Guillaume
                Reporter:
                fguillaume Florent Guillaume
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: