Details

      Description

      The test resources for net.corda.serialization.internal.amqp.EnumEvolveTests#deserializeWithRename need regenerating but that's not possible as the following error occurs if you follow the regen steps:

      java.io.NotSerializableException: Cyclic renames are not allowed (XX)
      
          at net.corda.serialization.internal.amqp.TransformTypes$Rename.validate(TransformTypes.kt:90)
          at net.corda.serialization.internal.amqp.TransformsSchema$Companion$get$1.apply(TransformsSchema.kt:224)
          at net.corda.serialization.internal.amqp.TransformsSchema$Companion$get$1.apply(TransformsSchema.kt:192)
          at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
          at net.corda.serialization.internal.amqp.TransformsSchema$Companion.get(TransformsSchema.kt:203)
          at net.corda.serialization.internal.amqp.TransformsSchema$Companion.getAndAdd(TransformsSchema.kt:241)
          at net.corda.serialization.internal.amqp.TransformsSchema$Companion.build(TransformsSchema.kt:258)
          at net.corda.serialization.internal.amqp.SerializationOutput$_serialize$1$1.invoke(SerializationOutput.kt:73)
          at net.corda.serialization.internal.amqp.SerializationOutput$_serialize$1$1.invoke(SerializationOutput.kt:27)
          at net.corda.serialization.internal.amqp.SerializationHelperKt.withList(SerializationHelper.kt:409)
          at net.corda.serialization.internal.amqp.SerializationOutput$_serialize$1.invoke(SerializationOutput.kt:69)
          at net.corda.serialization.internal.amqp.SerializationOutput$_serialize$1.invoke(SerializationOutput.kt:27)
          at net.corda.serialization.internal.amqp.SerializationHelperKt.withDescribed(SerializationHelper.kt:398)
          at net.corda.serialization.internal.amqp.SerializationOutput._serialize$serialization_main(SerializationOutput.kt:68)
          at net.corda.serialization.internal.amqp.testutils.AMQPTestUtilsKt.serialize(AMQPTestUtils.kt:63)
          at net.corda.serialization.internal.amqp.EnumEvolveTests.deserializeWithRename(EnumEvolveTests.kt:171)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Anthony.Keenan Anthony Keenan
                Reporter:
                shams.asari Shams Asari
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: