-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.0
-
Fix Version/s: 1.9.0
-
Component/s: None
-
Labels:None
onos> get-flow-stats -a -i OUTPUT of:0000000000000001/2
deviceId=of:0000000000000001, show ALL flows, liveType=ALL, instruction type=OUTPUT
Error executing command: java.lang.NullPointerException
KARAF LOG:
2017-02-03 12:11:34,864 | ERROR | sh for user onos | ShellUtil | 27 - org.apache.karaf.shell.console - 3.0.8 | Exception caught while executing command
java.lang.NullPointerException
at org.onosproject.net.statistic.impl.FlowStatisticManager.loadAllPortInternal(FlowStatisticManager.java:290)
at org.onosproject.net.statistic.impl.FlowStatisticManager.loadAllByType(FlowStatisticManager.java:151)
at org.onosproject.cli.net.GetFlowStatisticsCommand.execute(GetFlowStatisticsCommand.java:185)
at org.onosproject.cli.AbstractShellCommand.doExecute(AbstractShellCommand.java:150)
at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[27:org.apache.karaf.shell.console:3.0.8]
at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[27:org.apache.karaf.shell.console:3.0.8]
at Proxyaa370def_b193_419e_845b_726060d74566.execute(Unknown Source)[:]
at Proxyaa370def_b193_419e_845b_726060d74566.execute(Unknown Source)[:]
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[27:org.apache.karaf.shell.console:3.0.8]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[27:org.apache.karaf.shell.console:3.0.8]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[27:org.apache.karaf.shell.console:3.0.8]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[27:org.apache.karaf.shell.console:3.0.8]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[27:org.apache.karaf.shell.console:3.0.8]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[27:org.apache.karaf.shell.console:3.0.8]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:210)
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[47:org.apache.karaf.shell.ssh:3.0.8]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133)
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_77]
at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[28:org.apache.karaf.jaas.modules:3.0.8]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[47:org.apache.karaf.shell.ssh:3.0.8]
Even filtering by livetype is not working.