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

Kryo Exception: Class not registered

    XMLWordPrintable

    Details

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

      current commit: commit a394b95a6def3a892e767ced56a221326216a5cc

    • Story Points:
      2
    • Epic Link:

      Description

      2016-06-14 17:57:46,517 | ERROR | source-registrar | ResourceRegistrar                | 76 - org.onosproject.onos-core-net - 1.7.0.SNAPSHOT | Uncaught exception on onos-resource-registrar
      java.util.concurrent.CompletionException: com.esotericsoftware.kryo.KryoException: java.lang.IllegalArgumentException: Class is not registered: com.google.common.collect.Sets$1
      	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292)[:1.8.0_91]
      	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308)[:1.8.0_91]
      	at java.util.concurrent.CompletableFuture.biRelay(CompletableFuture.java:1284)[:1.8.0_91]
      	at java.util.concurrent.CompletableFuture.andTree(CompletableFuture.java:1307)[:1.8.0_91]
      	at java.util.concurrent.CompletableFuture.allOf(CompletableFuture.java:2225)[:1.8.0_91]
      	at org.onlab.util.Tools.allOf(Tools.java:617)
      	at org.onosproject.store.primitives.impl.PartitionedAsyncConsistentMap.prepareAndCommit(PartitionedAsyncConsistentMap.java:252)
      	at org.onosproject.store.primitives.impl.DelegatingAsyncConsistentMap.prepareAndCommit(DelegatingAsyncConsistentMap.java:184)
      	at org.onosproject.store.primitives.impl.MeteredAsyncConsistentMap.prepareAndCommit(MeteredAsyncConsistentMap.java:275)
      	at org.onosproject.store.primitives.impl.DefaultTransactionalMap.prepareAndCommit(DefaultTransactionalMap.java:186)
      	at org.onosproject.store.primitives.impl.TransactionCoordinator.commit(TransactionCoordinator.java:59)
      	at org.onosproject.store.primitives.impl.DefaultTransactionContext.commit(DefaultTransactionContext.java:78)
      	at org.onosproject.store.resource.impl.ConsistentResourceStore.register(ConsistentResourceStore.java:143)
      	at org.onosproject.net.resource.impl.ResourceManager.register(ResourceManager.java:208)
      	at org.onosproject.net.resource.ResourceAdminService.register(ResourceAdminService.java:36)
      	at org.onosproject.net.resource.impl.ResourceDeviceListener.lambda$registerDeviceResource$0(ResourceDeviceListener.java:145)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_91]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_91]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_91]
      	at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:101)
      	at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518)
      	at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552)
      	at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80)
      	at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518)
      	at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628)
      	at org.onlab.util.KryoNamespace.serialize(KryoNamespace.java:279)
      	at org.onlab.util.KryoNamespace.serialize(KryoNamespace.java:264)
      	at org.onosproject.store.service.Serializer$1.encode(Serializer.java:57)
      	at org.onosproject.store.primitives.impl.StoragePartitionClient.lambda$newAsyncConsistentMap$9(StoragePartitionClient.java:138)
      	at org.onosproject.store.primitives.impl.TranscodingAsyncConsistentMap.lambda$new$2(TranscodingAsyncConsistentMap.java:69)
      	at org.onosproject.store.primitives.MapUpdate.map(MapUpdate.java:146)
      	at org.onosproject.store.service.MapTransaction.lambda$map$0(MapTransaction.java:81)
      	at com.google.common.collect.Lists$TransformingRandomAccessList$1.transform(Lists.java:640)
      	at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
      	at java.util.AbstractCollection.toArray(AbstractCollection.java:141)[:1.8.0_91]
      	at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:239)
      	at org.onosproject.store.service.MapTransaction.<init>(MapTransaction.java:41)
      	at org.onosproject.store.service.MapTransaction.map(MapTransaction.java:81)
      	at org.onosproject.store.primitives.impl.TranscodingAsyncConsistentMap.prepareAndCommit(TranscodingAsyncConsistentMap.java:280)
      	at org.onosproject.store.primitives.impl.PartitionedAsyncConsistentMap.lambda$prepareAndCommit$35(PartitionedAsyncConsistentMap.java:254)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)[:1.8.0_91]
      	at java.util.Iterator.forEachRemaining(Iterator.java:116)[:1.8.0_91]
      	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)[:1.8.0_91]
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)[:1.8.0_91]
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)[:1.8.0_91]
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)[:1.8.0_91]
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[:1.8.0_91]
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)[:1.8.0_91]
      	at org.onosproject.store.primitives.impl.PartitionedAsyncConsistentMap.prepareAndCommit(PartitionedAsyncConsistentMap.java:255)
      	at com.esotericsoftware.kryo.Kryo.getRegistration(Kryo.java:488)[57:com.esotericsoftware.kryo:3.0.3]
      	at com.esotericsoftware.kryo.util.DefaultClassResolver.writeClass(DefaultClassResolver.java:97)
      	at com.esotericsoftware.kryo.Kryo.writeClass(Kryo.java:517)[57:com.esotericsoftware.kryo:3.0.3]
      	at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:76)
      

        Attachments

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

          Activity

            People

            Assignee:
            madan Madan Jampani
            Reporter:
            jhall Jon Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: