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

Fix NPE in EventService.registerExtension()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.1
    • Component/s: Runtime
    • Sprint:
      DevOps Sprint 11

      Description

      When an extension being registered has no descriptor (contribution), a NullPointerException is raised instead of the expected NO OP.

      ERROR [RegistrationInfoImpl] Failed to register extension to: service:org.nuxeo.runtime.EventService, xpoint: listeners in component: service:org.nuxeo.ecm.core.scheduler.SchedulerService
      java.lang.NullPointerException
      	at org.nuxeo.runtime.services.event.EventService.registerExtension(EventService.java:69)
      (...)
      ======================================================================
      = Component Loading Errors:
        * Failed to register extension to: service:org.nuxeo.runtime.EventService, xpoint: listeners in component: service:org.nuxeo.ecm.core.work.service (java.lang.NullPointerException)
        * Failed to register extension to: service:org.nuxeo.runtime.EventService, xpoint: listeners in component: service:org.nuxeo.ecm.core.scheduler.SchedulerService (java.lang.NullPointerException)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: