Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-5728

NPE in netcfg cli when asking for a non existent SubjectClassKey

    XMLWordPrintable

    Details

    • Story Points:
      3

      Description

      Example:
      onos> netcfg get
      Error executing command: java.lang.NullPointerException
      Stacktrace:

      2016-12-07 21:05:55,111 | ERROR | ssh for user sdn | ShellUtil                        | 27 - org.apache.karaf.shell.console - 3.0.5 | Exception caught while executing command
      java.lang.NullPointerException
              at org.onosproject.cli.cfg.NetworkConfigCommand.execute(NetworkConfigCommand.java:64)
              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.5]
              at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[27:org.apache.karaf.shell.console:3.0.5]
              at Proxy5bdb8089_443c_40e2_8ad0_f18e77eb671e.execute(Unknown Source)[:]
              at Proxy5bdb8089_443c_40e2_8ad0_f18e77eb671e.execute(Unknown Source)[:]
              at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[27:org.apache.karaf.shell.console:3.0.5]
              at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[27:org.apache.karaf.shell.console:3.0.5]
              at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[27:org.apache.karaf.shell.console:3.0.5]
              at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[27:org.apache.karaf.shell.console:3.0.5]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[27:org.apache.karaf.shell.console:3.0.5]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[27:org.apache.karaf.shell.console:3.0.5]
              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)[157:org.apache.karaf.shell.ssh:3.0.5]
              at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133)
              at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_101]
              at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[28:org.apache.karaf.jaas.modules:3.0.5]
              at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[157:org.apache.karaf.shell.ssh:3.0.5]
      

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kavitha Kavitha Alagesan
            Reporter:
            jhall Jon Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: