-
Bug
-
Resolution: Done
-
Medium
-
Fluorine
-
None
Due to some bug, openflowplugin's service Descriptor was null, and in such scenarios, when we execute "showSvcStatus" the CLI was throwing some exception.
[vthapar@localhost odltools]$ cat
~/odldev/netvirt/karaf/target/assembly/data/log/karaf.log |grep SystemBootReady
2018-05-09T14:32:00,704 | DEBUG | Blueprint Extender: 3 |
OpenFlowPluginProviderImpl | 405 -
org.opendaylight.openflowplugin.impl - 0.7.0.SNAPSHOT | registered
onSystemBootReady() listener for deferred startSwitchConnections() [vthapar@localhost odltools]$ netstat -an |grep 6653 [vthapar@localhost odltools]$
karaf@root()> diagstatus:showsvcstatus
Timestamp: Wed May 09 14:34:05 IST 2018
Status retrieval JMX Operation failed for node 127.0.0.1~
2018-05-09T14:34:05,067 | ERROR | pipe-diagstatus:showsvcstatus |
DiagStatusCommand | 292 -
org.opendaylight.infrautils.diagstatus-shell - 1.4.0.SNAPSHOT | Exception while reaching Host 127.0.0.1
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.opendaylight.infrautils.diagstatus.MBeanUtils.invokeMBeanFunction(MBeanUtils.java:134)
[290:org.opendaylight.infrautils.diagstatus-api:1.4.0.SNAPSHOT]
at org.opendaylight.infrautils.diagstatus.shell.DiagStatusCommand.getLocalStatusSummary(DiagStatusCommand.java:71)
[292:org.opendaylight.infrautils.diagstatus-shell:1.4.0.SNAPSHOT]
at org.opendaylight.infrautils.diagstatus.shell.DiagStatusCommand.execute(DiagStatusCommand.java:49)
[292:org.opendaylight.infrautils.diagstatus-shell:1.4.0.SNAPSHOT]