Fixed
Details
Assignee
Christian PapeChristian PapeReporter
Christian PapeChristian PapeComponents
Sprint
NoneFix versions
Affects versions
Priority
Minor
Details
Details
Assignee
Christian Pape
Christian PapeReporter
Christian Pape
Christian PapeComponents
Sprint
None
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created August 27, 2020 at 9:44 AM
Updated November 3, 2020 at 5:13 PM
Resolved August 28, 2020 at 6:45 AM
Tried to restart an OpenNMS instance which has applications (and its services and locations) defined. It seems that the rrd-repository is not set correctly.
An error occurred while attempting to start the "OpenNMS:Name=RemotePollerNG" service (class org.opennms.netmgt.daemon.SimpleSpringContextJmxServiceDaemon). Shutting down and exiting. javax.management.RuntimeMBeanException: java.lang.NullPointerException at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:277) at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:206) at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154) at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94) at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173) at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:527) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at java.io.File.<init>(File.java:277) at org.opennms.netmgt.remotepollerng.RemotePollerd.lambda$filterService$3(RemotePollerd.java:226) at org.opennms.netmgt.dao.hibernate.DefaultSessionUtils.withManualFlush(DefaultSessionUtils.java:81) at org.opennms.netmgt.dao.hibernate.DefaultSessionUtils.lambda$withReadOnlyTransaction$1(DefaultSessionUtils.java:73) at org.opennms.netmgt.dao.hibernate.DefaultSessionUtils.executeWithTransactionDefinition(DefaultSessionUtils.java:95) at org.opennms.netmgt.dao.hibernate.DefaultSessionUtils.withReadOnlyTransaction(DefaultSessionUtils.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy184.withReadOnlyTransaction(Unknown Source) at org.opennms.netmgt.remotepollerng.RemotePollerd.filterService(RemotePollerd.java:180) at org.opennms.netmgt.remotepollerng.ServiceTracker.start(ServiceTracker.java:87) at org.opennms.netmgt.remotepollerng.RemotePollerd.start(RemotePollerd.java:305) at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$2.run(AbstractSpringContextJmxServiceDaemon.java:128) at org.opennms.core.logging.Logging.withPrefix(Logging.java:71) at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.start(AbstractSpringContextJmxServiceDaemon.java:118) at sun.reflect.GeneratedMethodAccessor161.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237) at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) ... 13 more