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

Gossip Store Exceptions when running onos-null with metrics

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      3 node cluster;
      enabled app: null, metrics

    • Epic Link:
    • Sprint:
      Cardinal Sprint 4 (5/4-5/15)

      Description

      015-04-03 13:45:15,475 | WARN | nos-device-fg-75 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Exception thrown handling device offline
      java.lang.NullPointerException
      at org.onosproject.store.device.impl.GossipDeviceStore.markOfflineInternal(GossipDeviceStore.java:438)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore.access$1500(GossipDeviceStore.java:106)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore$InternalDeviceOfflineEventListener.handle(GossipDeviceStore.java:1372)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalClusterMessageHandler.handle(ClusterCommunicationManager.java:197)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onlab.netty.NettyMessagingService$2.lambda$handle$0(NettyMessagingService.java:213)[81:org.onosproject.onlab-netty:1.2.0.SNAPSHOT]
      at org.onlab.netty.NettyMessagingService$2$$Lambda$20/701442673.run(Unknown Source)[81:org.onosproject.onlab-netty:1.2.0.SNAPSHOT]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_31]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_31]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_31]
      2015-04-03 13:45:20,477 | WARN | nos-device-fg-75 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Exception thrown handling device offline
      java.lang.NullPointerException
      at org.onosproject.store.device.impl.GossipDeviceStore.markOfflineInternal(GossipDeviceStore.java:438)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore.access$1500(GossipDeviceStore.java:106)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore$InternalDeviceOfflineEventListener.handle(GossipDeviceStore.java:1372)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalClusterMessageHandler.handle(ClusterCommunicationManager.java:197)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onlab.netty.NettyMessagingService$2.lambda$handle$0(NettyMessagingService.java:213)[81:org.onosproject.onlab-netty:1.2.0.SNAPSHOT]
      at org.onlab.netty.NettyMessagingService$2$$Lambda$20/701442673.run(Unknown Source)[81:org.onosproject.onlab-netty:1.2.0.SNAPSHOT]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_31]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_31]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_31]
      2015-04-03 13:45:21,419 | WARN | onos-device-bg-0 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Exception thrown handling Device advertisements.
      java.lang.IllegalArgumentException: Must be MastershipBasedTimestamp [null]
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)[44:com.google.guava:18.0.0]
      at org.onosproject.store.impl.MastershipBasedTimestamp.compareTo(MastershipBasedTimestamp.java:53)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.impl.MastershipBasedTimestamp.compareTo(MastershipBasedTimestamp.java:35)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore.handleAdvertisement(GossipDeviceStore.java:1235)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore.access$2000(GossipDeviceStore.java:106)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore$InternalDeviceAdvertisementListener.handle(GossipDeviceStore.java:1473)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalClusterMessageHandler.handle(ClusterCommunicationManager.java:197)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onlab.netty.NettyMessagingService$2.lambda$handle$0(NettyMessagingService.java:213)[81:org.onosproject.onlab-netty:1.2.0.SNAPSHOT]
      at org.onlab.netty.NettyMessagingService$2$$Lambda$20/701442673.run(Unknown Source)[81:org.onosproject.onlab-netty:1.2.0.SNAPSHOT]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_31]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_31]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_31]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_31]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_31]
      2015-04-03 13:45:22,121 | WARN | onos-device-bg-0 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Exception thrown handling Device advertisements.
      java.lang.IllegalArgumentException: Must be MastershipBasedTimestamp [null]
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)[44:com.google.guava:18.0.0]
      at org.onosproject.store.impl.MastershipBasedTimestamp.compareTo(MastershipBasedTimestamp.java:53)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.impl.MastershipBasedTimestamp.compareTo(MastershipBasedTimestamp.java:35)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore.handleAdvertisement(GossipDeviceStore.java:1235)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore.access$2000(GossipDeviceStore.java:106)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore$InternalDeviceAdvertisementListener.handle(GossipDeviceStore.java:1473)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalClusterMessageHandler.handle(ClusterCommunicationManager.java:197)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onlab.netty.NettyMessagingService$2.lambda$handle$0(NettyMessagingService.java:213)[81:org.onosproject.onlab-netty:1.2.0.SNAPSHOT]
      at org.onlab.netty.NettyMessagingService$2$$Lambda$20/701442673.run(Unknown Source)[81:org.onosproject.onlab-netty:1.2.0.SNAPSHOT]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_31]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_31]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_31]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_31]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_31]
      2015-04-03 13:45:22,315 | INFO | copycat-p2-1 | FollowerState | 72 - org.onosproject.onlab-thirdparty - 1.2.0.SNAPSHOT | tcp://10.254.1.201:7238 - Heartbeat timed out in 3513 milliseconds
      2015-04-03 13:45:22,316 | INFO | copycat-p2-1 | CopycatStateContext | 72 - org.onosproject.onlab-thirdparty - 1.2.0.SNAPSHOT | tcp://10.254.1.201:7238 - Transitioning to CANDIDATE
      2015-04-03 13:45:22,316 | INFO | copycat-p2-1 | CandidateState | 72 - org.onosproject.onlab-thirdparty - 1.2.0.SNAPSHOT | tcp://10.254.1.201:7238 - Starting election
      2015-04-03 13:45:22,316 | INFO | copycat-p2-1 | CandidateState | 72 - org.onosproject.onlab-thirdparty - 1.2.0.SNAPSHOT | tcp://10.254.1.201:7238 - Polling members [tcp://10.254.1.203:7238, tcp://10.254.1.202:7238, tcp://10.254.1.201:7238]
      2015-04-03 13:45:22,317 | INFO | copycat-p2-1 | CandidateState | 72 - org.onosproject.onlab-thirdparty - 1.2.0.SNAPSHOT | tcp://10.254.1.201:7238 - Received successful vote from tcp://10.254.1.201:7238
      2015-04-03 13:45:22,317 | INFO | copycat-p2-1 | CandidateState | 72 - org.onosproject.onlab-thirdparty - 1.2.0.SNAPSHOT | tcp://10.254.1.201:7238 - Received successful vote from tcp://10.254.1.202:7238
      2015-04-03 13:45:22,318 | INFO | copycat-p2-1 | CopycatStateContext | 72 - org.onosproject.onlab-thirdparty - 1.2.0.SNAPSHOT | tcp://10.254.1.201:7238 - Transitioning to LEADER
      2015-04-03 13:45:25,480 | WARN | nos-device-fg-75 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Exception thrown handling device offline
      java.lang.NullPointerException
      at org.onosproject.store.device.impl.GossipDeviceStore.markOfflineInternal(GossipDeviceStore.java:438)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore.access$1500(GossipDeviceStore.java:106)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore$InternalDeviceOfflineEventListener.handle(GossipDeviceStore.java:1372)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalClusterMessageHandler.handle(ClusterCommunicationManager.java:197)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onlab.netty.NettyMessagingService$2.lambda$handle$0(NettyMessagingService.java:213)[81:org.onosproject.onlab-netty:1.2.0.SNAPSHOT]
      at org.onlab.netty.NettyMessagingService$2$$Lambda$20/701442673.run(Unknown Source)[81:org.onosproject.onlab-netty:1.2.0.SNAPSHOT]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_31]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_31]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_31]
      2015-04-03 13:45:26,000 | WARN | onos-device-bg-0 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Exception thrown handling Device advertisements.
      java.lang.IllegalArgumentException: Must be MastershipBasedTimestamp [null]
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)[44:com.google.guava:18.0.0]
      at org.onosproject.store.impl.MastershipBasedTimestamp.compareTo(MastershipBasedTimestamp.java:53)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.impl.MastershipBasedTimestamp.compareTo(MastershipBasedTimestamp.java:35)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore.handleAdvertisement(GossipDeviceStore.java:1235)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore.access$2000(GossipDeviceStore.java:106)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.device.impl.GossipDeviceStore$InternalDeviceAdvertisementListener.handle(GossipDeviceStore.java:1473)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalClusterMessageHandler.handle(ClusterCommunicationManager.java:197)[79:org.onosproject.onos-core-dist:1.2.0.SNAPSHOT]
      at org.onlab.netty.NettyMessagingService$2.lambda$handle$0(NettyMessagingService.java:213)[81:org.onosproject.onlab-netty:1.2.0.SNAPSHOT]
      at org.onlab.netty.NettyMessagingService$2$$Lambda$20/701442673.run(Unknown Source)[81:org.onosproject.onlab-netty:1.2.0.SNAPSHOT]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_31]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_31]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_31]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_31]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_31]

        Attachments

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

          Activity

            People

            Assignee:
            suibin suibin
            Reporter:
            suibin suibin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: