You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SEVERE 2024-05-31T14:11:56.901014111 StateMachineManager [TransferProcessManagerImpl] error caught
Caused by: org.eclipse.edc.spi.persistence.EdcPersistenceException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.eclipse.edc.connector.transfer.spi.types.ResourceDefinition$Builder` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
connectorb | at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 57] (through reference chain: org.eclipse.edc.connector.transfer.spi.types.ResourceManifest$Builder["definitions"]->java.util.ArrayList[0])
connectorb | at org.eclipse.edc.sql.store.AbstractSqlStore.fromJson(AbstractSqlStore.java:94)
connectorb | at org.eclipse.edc.connector.store.sql.transferprocess.store.SqlTransferProcessStore.mapTransferProcess(SqlTransferProcessStore.java:309)
connectorb | at org.eclipse.edc.sql.SqlQueryExecutor$1.tryAdvance(SqlQueryExecutor.java:128)
connectorb | ... 27 more
connectorb | Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.eclipse.edc.connector.transfer.spi.types.ResourceDefinition$Builder` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
connectorb | at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 57] (through reference chain: org.eclipse.edc.connector.transfer.spi.types.ResourceManifest$Builder["definitions"]->java.util.ArrayList[0])
connectorb | at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:67)
connectorb | at com.fasterxml.jackson.databind.DeserializationContext.reportBadDefinition(DeserializationContext.java:1887)
connectorb | at com.fasterxml.jackson.databind.DatabindContext.reportBadDefinition(DatabindContext.java:414)
connectorb | at com.fasterxml.jackson.databind.DeserializationContext.handleMissingInstantiator(DeserializationContext.java:1375)
connectorb | at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1508)
connectorb | at com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.deserializeFromObject(BuilderBasedDeserializer.java:319)
connectorb | at com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.deserialize(BuilderBasedDeserializer.java:240)
connectorb | at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:170)
connectorb | at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:136)
connectorb | at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeWithType(BeanDeserializerBase.java:1380)
connectorb | at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer._deserializeFromArray(CollectionDeserializer.java:361)
connectorb | at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:244)
connectorb | at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:28)
connectorb | at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeSetAndReturn(MethodProperty.java:158)
connectorb | at com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.vanillaDeserialize(BuilderBasedDeserializer.java:293)
connectorb | at com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.deserialize(BuilderBasedDeserializer.java:217)
connectorb | at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:342)
connectorb | at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4899)
connectorb | at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3846)
connectorb | at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3814)
connectorb | at org.eclipse.edc.sql.store.AbstractSqlStore.fromJson(AbstractSqlStore.java:92)
connectorb | ... 29 more
How
looks to be a bug in the S3BucketResourceDefinition class, it misses the jackson annotations needed for deserialization.
error detail
How
looks to be a bug in the
S3BucketResourceDefinition
class, it misses the jackson annotations needed for deserialization.This test is broken:
to make it work we need to add the jackson annotations on
S3BucketResourceDefinition
:this discussion deserves to stay in the
Technology-Aws
repository, will open a bug report as well.Originally posted by @ndr-brt in #337 (reply in thread)
The text was updated successfully, but these errors were encountered: