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

KryoException when bringing up links

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
    • Environment:
    • Story Points:
      3
    • Epic Link:

      Description

      When bringing up links in Mininet, sometimes onos log gives the following exception:

      2016-06-28 09:22:07,104 | ERROR | source-registrar | ResourceRegistrar                | 76 - org.onosproject.onos-core-net - 1.7.0.SNAPSHOT | Uncaught exception on onos-resource-registrar
      com.esotericsoftware.kryo.KryoException: java.util.NoSuchElementException
              at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:144)[57:com.esotericsoftware.kryo:3.0.3]
              at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:551)[57:com.esotericsoftware.kryo:3.0.3]
              at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:790)[57:com.esotericsoftware.kryo:3.0.3]
              at org.onlab.util.KryoNamespace.deserialize(KryoNamespace.java:347)[72:org.onosproject.onlab-misc:1.7.0.SNAPSHOT]
              at org.onosproject.store.service.Serializer$1.decode(Serializer.java:62)[74:org.onosproject.onos-api:1.7.0.SNAPSHOT]
              at org.onosproject.store.primitives.impl.StoragePartitionClient.lambda$newAsyncConsistentMap$10(StoragePartitionClient.java:139)[79:org.onosproject.onos-core-primitives:1.7.0.SNAPSHOT]
              at org.onosproject.store.primitives.impl.StoragePartitionClient$$Lambda$307/1969860129.apply(Unknown Source)[79:org.onosproject.onos-core-primitives:1.7.0.SNAPSHOT]
              at org.onosproject.store.service.Versioned.map(Versioned.java:100)[74:org.onosproject.onos-api:1.7.0.SNAPSHOT]
              at org.onosproject.store.primitives.impl.TranscodingAsyncConsistentMap.lambda$new$4(TranscodingAsyncConsistentMap.java:71)[79:org.onosproject.onos-core-primitives:1.7.0.SNAPSHOT]
              at org.onosproject.store.primitives.impl.TranscodingAsyncConsistentMap$$Lambda$312/342633468.apply(Unknown Source)[79:org.onosproject.onos-core-primitives:1.7.0.SNAPSHOT]
              at java.util.concurrent.CompletableFuture$ThenApply.run(CompletableFuture.java:717)[:1.8.0_25]
              at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:193)[:1.8.0_25]
              at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2345)[:1.8.0_25]
              at org.onosproject.store.primitives.impl.OnosCopycatClient.lambda$submit$3(OnosCopycatClient.java:96)[79:org.onosproject.onos-core-primitives:1.7.0.SNAPSHOT]
              at org.onosproject.store.primitives.impl.OnosCopycatClient$$Lambda$290/575640324.accept(Unknown Source)[79:org.onosproject.onos-core-primitives:1.7.0.SNAPSHOT]
              at java.util.concurrent.CompletableFuture$WhenCompleteCompletion.run(CompletableFuture.java:1298)[:1.8.0_25]
              at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:193)[:1.8.0_25]
              at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2345)[:1.8.0_25]
              at io.atomix.catalyst.concurrent.ComposableFuture.accept(ComposableFuture.java:33)[69:io.atomix.all:1.0.0.rc9]
              at io.atomix.copycat.client.DefaultCopycatClient.lambda$null$51(DefaultCopycatClient.java:223)[69:io.atomix.all:1.0.0.rc9]
              at io.atomix.copycat.client.DefaultCopycatClient$$Lambda$293/105173509.run(Unknown Source)[69:io.atomix.all:1.0.0.rc9]
              at io.atomix.catalyst.concurrent.Runnables.lambda$logFailure$2(Runnables.java:20)[69:io.atomix.all:1.0.0.rc9]
              at io.atomix.catalyst.concurrent.Runnables$$Lambda$45/1685802171.run(Unknown Source)[69:io.atomix.all:1.0.0.rc9]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_25]
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_25]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_25]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_25]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_25]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_25]
              at java.lang.Thread.run(Thread.java:745)[:1.8.0_25]
              at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1205)[:1.8.0_25]
              at java.util.TreeMap$ValueIterator.next(TreeMap.java:1252)[:1.8.0_25]
              at org.onosproject.store.resource.impl.EncodedDiscreteResources.encodedClass(EncodedDiscreteResources.java:80)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
              at org.onosproject.store.resource.impl.EncodableDiscreteResourcesSerializer$$Lambda$878/1927813888.apply(Unknown Source)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
              at java.util.stream.Collectors.lambda$toMap$199(Collectors.java:1320)[:1.8.0_25]
              at java.util.stream.Collectors$$Lambda$881/1252218434.accept(Unknown Source)[:1.8.0_25]
              at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)[:1.8.0_25]
              at java.util.Iterator.forEachRemaining(Iterator.java:116)[:1.8.0_25]
              at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)[:1.8.0_25]
              at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)[:1.8.0_25]
              at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)[:1.8.0_25]
              at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)[:1.8.0_25]
              at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[:1.8.0_25]
              at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)[:1.8.0_25]
              at org.onosproject.store.resource.impl.EncodableDiscreteResourcesSerializer.read(EncodableDiscreteResourcesSerializer.java:47)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
              at org.onosproject.store.resource.impl.EncodableDiscreteResourcesSerializer.read(EncodableDiscreteResourcesSerializer.java:33)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
              at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:708)[57:com.esotericsoftware.kryo:3.0.3]
              at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)[57:com.esotericsoftware.kryo:3.0.3]
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              shimizu Shimizu Sho
              Reporter:
              You You Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: