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

Linkd Not Start and close OpenNMS starting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 16.0.0, 16.0.2, 17.0.0
    • Fix Version/s: 16.0.4
    • Component/s: Architecture
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Linux Ubuntu 14, Windows 8

      Description

      Linkd Log show this error

      2015-06-16 06:42:14,231 INFO [Main] o.s.c.s.ClassPathXmlApplicationContext: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@d8b966: startup date [Tue Jun 16 06:42:14 EDT 2015]; parent: ApplicationContext 'daoContext'
      2015-06-16 06:42:14,250 INFO [Main] o.s.b.f.x.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [META-INF/opennms/applicationContext-linkd.xml]
      2015-06-16 06:42:15,282 WARN [Main] o.s.a.f.CglibAopProxy: Unable to proxy method [public final void org.opennms.netmgt.daemon.AbstractServiceDaemon.afterPropertiesSet() throws java.lang.Exception] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
      2015-06-16 06:42:15,282 WARN [Main] o.s.a.f.CglibAopProxy: Unable to proxy method [public final void org.opennms.netmgt.daemon.AbstractServiceDaemon.pause()] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
      2015-06-16 06:42:15,282 WARN [Main] o.s.a.f.CglibAopProxy: Unable to proxy method [public final java.lang.String org.opennms.netmgt.daemon.AbstractServiceDaemon.getName()] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
      2015-06-16 06:42:15,282 WARN [Main] o.s.a.f.CglibAopProxy: Unable to proxy method [public final void org.opennms.netmgt.daemon.AbstractServiceDaemon.init()] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
      2015-06-16 06:42:15,282 WARN [Main] o.s.a.f.CglibAopProxy: Unable to proxy method [public final synchronized void org.opennms.netmgt.daemon.AbstractServiceDaemon.start()] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
      2015-06-16 06:42:15,282 WARN [Main] o.s.a.f.CglibAopProxy: Unable to proxy method [public final synchronized void org.opennms.netmgt.daemon.AbstractServiceDaemon.stop()] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
      2015-06-16 06:42:15,282 WARN [Main] o.s.a.f.CglibAopProxy: Unable to proxy method [public final void org.opennms.netmgt.daemon.AbstractServiceDaemon.destroy()] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
      2015-06-16 06:42:15,282 WARN [Main] o.s.a.f.CglibAopProxy: Unable to proxy method [public final void org.opennms.netmgt.daemon.AbstractServiceDaemon.resume()] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
      2015-06-16 06:43:30,446 ERROR [Main] o.o.n.d.AbstractSpringContextJmxServiceDaemon: Could not start daemon: java.lang.NullPointerException
      java.lang.NullPointerException
      at org.opennms.netmgt.daemon.AbstractServiceDaemon.setStatus(AbstractServiceDaemon.java:113) ~[org.opennms.core.daemon-16.0.0.jar:?]
      at org.opennms.netmgt.daemon.AbstractServiceDaemon$4.run(AbstractServiceDaemon.java:296) ~[org.opennms.core.daemon-16.0.0.jar:?]
      at org.opennms.core.logging.Logging.withPrefix(Logging.java:66) ~[org.opennms.core.logging-16.0.0.jar:?]
      at

      While manager.log show this referred to linkd:

      2015-07-08 11:53:09,465 ERROR [Main] o.o.n.v.Invoker: An error occurred invoking operation start on MBean OpenNMS:Name=Linkd
      javax.management.RuntimeMBeanException: java.lang.NullPointerException
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839) ~[?:1.8.0_45]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852) ~[?:1.8.0_45]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821) ~[?:1.8.0_45]
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) ~[?:1.8.0_45]
      at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278) [org.opennms.core.daemon-16.0.2.jar:?]
      at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207) [org.opennms.core.daemon-16.0.2.jar:?]
      at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:248) [org.opennms.core.daemon-16.0.2.jar:?]
      at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:107) [org.opennms.core.daemon-16.0.2.jar:?]
      at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:183) [org.opennms.core.daemon-16.0.2.jar:?]
      at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:162) [org.opennms.core.daemon-16.0.2.jar:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
      at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
      at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:366) [opennms_bootstrap.jar:?]
      at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
      Caused by: java.lang.NullPointerException
      at org.opennms.netmgt.daemon.AbstractServiceDaemon.setStatus(AbstractServiceDaemon.java:113) ~[org.opennms.core.daemon-16.0.2.jar:?]
      at org.opennms.netmgt.daemon.AbstractServiceDaemon$4.run(AbstractServiceDaemon.java:296) ~[org.opennms.core.daemon-16.0.2.jar:?]
      at org.opennms.core.logging.Logging.withPrefix(Logging.java:66) ~[org.opennms.core.logging-16.0.2.jar:?]
      at org.opennms.netmgt.daemon.AbstractServiceDaemon.start(AbstractServiceDaemon.java:290) ~[org.opennms.core.daemon-16.0.2.jar:?]
      at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$2.run(AbstractSpringContextJmxServiceDaemon.java:128) ~[org.opennms.core.daemon-16.0.2.jar:?]
      at org.opennms.core.logging.Logging.withPrefix(Logging.java:66) ~[org.opennms.core.logging-16.0.2.jar:?]
      at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.start(AbstractSpringContextJmxServiceDaemon.java:118) ~[org.opennms.core.daemon-16.0.2.jar:?]
      at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source) ~[?:?]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
      at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]

        Attachments

          Activity

            People

            Assignee:
            rssntn67 Antonio Russo
            Reporter:
            Ughes Ugo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: