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

NPEs at removeDeviceInternal after device remove issued

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
    • Epic Link:
    • Sprint:
      Drake Sprint 1 (7/6-7/24), Drake Sprint 2 (7/27-8/14) 2, Drake Sprint 3 (8/17-8/28)

      Description

      onos>
      onos> device-remove of:000000000000001
      Error executing command: java.lang.NullPointerException
      onos>
      onos> log:exception-display
      java.lang.NullPointerException
      at org.onosproject.store.device.impl.GossipDeviceStore.removeDeviceInternal(GossipDeviceStore.java:921)
      at org.onosproject.store.device.impl.GossipDeviceStore.removeDevice(GossipDeviceStore.java:900)
      at org.onosproject.net.device.impl.DeviceManager.removeDevice(DeviceManager.java:236)
      at org.onosproject.cli.net.DeviceRemoveCommand.execute(DeviceRemoveCommand.java:37)
      at org.onosproject.cli.AbstractShellCommand.doExecute(AbstractShellCommand.java:129)
      at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3]
      at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3]
      at Proxy1d9adf69_ae42_4259_9fac_6bb6ef2578db.execute(Unknown Source)[:]
      at Proxy1d9adf69_ae42_4259_9fac_6bb6ef2578db.execute(Unknown Source)[:]
      at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3]
      at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3]
      at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3]
      at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3]
      at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
      at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208)
      at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[88:org.apache.karaf.shell.ssh:3.0.3]
      at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133)
      at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_25]
      at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3]
      at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[88:org.apache.karaf.shell.ssh:3.0.3]

      onos>
      onos> summary
      node=10.128.20.12, version=1.3.0.admin~2015/07/31@16:02
      nodes=3, devices=25, links=114, hosts=0, SCC(s)=1, flows=75, intents=0
      onos> roles
      of:0000000000000001: master=10.128.20.12, standbys=[ 10.128.20.13 10.128.20.11 ]
      of:0000000000000002: master=10.128.20.13, standbys=[ 10.128.20.12 10.128.20.11 ]
      of:0000000000000003: master=10.128.20.13, standbys=[ 10.128.20.12 10.128.20.11 ]
      of:0000000000000004: master=10.128.20.13, standbys=[ 10.128.20.12 10.128.20.11 ]
      of:0000000000000005: master=10.128.20.13, standbys=[ 10.128.20.12 10.128.20.11 ]
      of:0000000000000006: master=10.128.20.11, standbys=[ 10.128.20.12 10.128.20.13 ]
      of:0000000000000007: master=10.128.20.12, standbys=[ 10.128.20.13 10.128.20.11 ]
      of:0000000000000008: master=10.128.20.12, standbys=[ 10.128.20.13 10.128.20.11 ]
      of:0000000000000009: master=10.128.20.13, standbys=[ 10.128.20.12 10.128.20.11 ]
      of:000000000000000a: master=10.128.20.11, standbys=[ 10.128.20.12 10.128.20.13 ]
      of:000000000000000b: master=10.128.20.13, standbys=[ 10.128.20.12 10.128.20.11 ]
      of:000000000000000c: master=10.128.20.13, standbys=[ 10.128.20.12 10.128.20.11 ]
      of:000000000000000d: master=10.128.20.11, standbys=[ 10.128.20.12 10.128.20.13 ]
      of:000000000000000e: master=10.128.20.11, standbys=[ 10.128.20.12 10.128.20.13 ]
      of:000000000000000f: master=10.128.20.11, standbys=[ 10.128.20.12 10.128.20.13 ]
      of:0000000000000010: master=10.128.20.11, standbys=[ 10.128.20.12 10.128.20.13 ]
      of:0000000000000011: master=10.128.20.11, standbys=[ 10.128.20.12 10.128.20.13 ]
      of:0000000000000012: master=10.128.20.11, standbys=[ 10.128.20.12 10.128.20.13 ]
      of:0000000000000013: master=10.128.20.12, standbys=[ 10.128.20.13 10.128.20.11 ]
      of:0000000000000014: master=10.128.20.12, standbys=[ 10.128.20.13 10.128.20.11 ]
      of:0000000000000015: master=10.128.20.13, standbys=[ 10.128.20.12 10.128.20.11 ]
      of:0000000000000016: master=10.128.20.12, standbys=[ 10.128.20.13 10.128.20.11 ]
      of:0000000000000017: master=10.128.20.12, standbys=[ 10.128.20.11 10.128.20.13 ]
      of:0000000000000018: master=10.128.20.12, standbys=[ 10.128.20.11 10.128.20.13 ]
      of:0000000000000019: master=10.128.20.12, standbys=[ 10.128.20.13 10.128.20.11 ]
      onos>

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            hari hari
            Reporter:
            hari hari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: