Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7434

Disabling Notifd crashes webUI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 15.0.0
    • Fix Version/s: 15.0.1, 16.0.0
    • Component/s: Web UI - General
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Mac OS X, PostgreSQL 9.1, today's build of 15.0.1 (develop branch)

      Description

      if you disable the Notifd service in service-configuration.xml, the WebUI will fail with present the following message in the browser:

      "Error in WebUI"
          org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping#0' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '/admin/notification/noticeWizard/eventNotices.htm': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.opennms.netmgt.config.NotificationFactory org.opennms.web.controller.admin.notifications.EventNoticesController.m_notificationFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationFactory-init' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: init() not called.
      

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              david David Hustace
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: