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
For regex analysis function, the stacktrace is the following with a ConverterNotFoundException:
Stacktrace: ERROR e.e.h.c.a.t.r.i.DefaultTransformationReporter(169) - Skipping property transformation: Executing property transformation failed. (2 times) org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type eu.esdihumboldt.hale.common.instance.model.impl.DefaultInstance to type java.lang.String at org.springframework.core.convert.support.GenericConversionService.handleConverterNotFound(GenericConversionService.java:475) ~[spring-core-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:175) ~[spring-core-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:154) ~[spring-core-3.1.1.RELEASE.jar:3.1.1.RELEASE] at eu.esdihumboldt.hale.common.align.transformation.function.impl.PropertyValueImpl.getValueAs(PropertyValueImpl.java:77) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.functions.string.RegexAnalysis.evaluate(RegexAnalysis.java:65) ~[eu.esdihumboldt.cst.functions.string-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.align.transformation.function.impl.AbstractSingleTargetPropertyTransformation.evaluate(AbstractSingleTargetPropertyTransformation.java:57) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.align.transformation.function.impl.AbstractPropertyTransformation.execute(AbstractPropertyTransformation.java:102) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.internal.FunctionExecutor.executeTransformation(FunctionExecutor.java:224) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.internal.FunctionExecutor.processValid(FunctionExecutor.java:133) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.CellNodeValidator.visit(CellNodeValidator.java:110) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.CellNodeImpl.accept(CellNodeImpl.java:103) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.TargetNodeImpl.accept(TargetNodeImpl.java:177) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.TransformationTreeImpl.accept(TransformationTreeImpl.java:129) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.internal.TreePropertyTransformer$2.lambda$0(TreePropertyTransformer.java:224) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.core.report.SimpleLogContext.withLog(SimpleLogContext.java:112) ~[eu.esdihumboldt.hale.common.core-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.internal.TreePropertyTransformer$2.run(TreePropertyTransformer.java:181) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.internal.TreePropertyTransformer.publish(TreePropertyTransformer.java:264) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.functions.core.Retype.execute(Retype.java:76) ~[eu.esdihumboldt.cst.functions.core-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.ConceptualSchemaTransformer.doTypeTransformation(ConceptualSchemaTransformer.java:327) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.ConceptualSchemaTransformer.transform(ConceptualSchemaTransformer.java:155) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.headless.transform.Transformation$5.run(Transformation.java:398) [eu.esdihumboldt.hale.common.headless-4.2.0-SNAPSHOT.jar:na] at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [org.eclipse.core.jobs-3.10.700.v20200106-1020.jar:na]
First investigation dev team: "it appears to happen only for Regex Analysis cells that map from a source property that has both a value itself as well as an attribute (like gml:identifier or gml:description). If I change the source property e.g. to id, it works. When the source property is set to identifier, the transformation fails and a Java Object description shows up in the field "Sample text"."
Update: This is not happening only for Regex Analysis but at least as well for Formatted String mapping. There is no error message in that case but the target property contains values such as eu.esdihumboldt.hale.common.instance.orient.storage.DatabaseHandle$InstanceHandle@1008ac5f
The text was updated successfully, but these errors were encountered:
JohannaOtt
changed the title
Regex Analysis mapping on source property with value and attribute running into ConverterNotFoundException
Regex Analysis and Character String mapping on source property with value and attribute running into errors
Dec 27, 2023
JohannaOtt
changed the title
Regex Analysis and Character String mapping on source property with value and attribute running into errors
Regex Analysis and Formatted String mapping on source property with value and attribute running into errors
Dec 27, 2023
JohannaOtt
changed the title
Regex Analysis and Formatted String mapping on source property with value and attribute running into errors
Regex Analysis and Formatted String mapping on source property with value and attribute not working
Dec 27, 2023
For regex analysis function, the stacktrace is the following with a ConverterNotFoundException:
Stacktrace:
ERROR e.e.h.c.a.t.r.i.DefaultTransformationReporter(169) - Skipping property transformation: Executing property transformation failed. (2 times) org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type eu.esdihumboldt.hale.common.instance.model.impl.DefaultInstance to type java.lang.String at org.springframework.core.convert.support.GenericConversionService.handleConverterNotFound(GenericConversionService.java:475) ~[spring-core-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:175) ~[spring-core-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:154) ~[spring-core-3.1.1.RELEASE.jar:3.1.1.RELEASE] at eu.esdihumboldt.hale.common.align.transformation.function.impl.PropertyValueImpl.getValueAs(PropertyValueImpl.java:77) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.functions.string.RegexAnalysis.evaluate(RegexAnalysis.java:65) ~[eu.esdihumboldt.cst.functions.string-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.align.transformation.function.impl.AbstractSingleTargetPropertyTransformation.evaluate(AbstractSingleTargetPropertyTransformation.java:57) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.align.transformation.function.impl.AbstractPropertyTransformation.execute(AbstractPropertyTransformation.java:102) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.internal.FunctionExecutor.executeTransformation(FunctionExecutor.java:224) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.internal.FunctionExecutor.processValid(FunctionExecutor.java:133) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.CellNodeValidator.visit(CellNodeValidator.java:110) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.CellNodeImpl.accept(CellNodeImpl.java:103) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.TargetNodeImpl.accept(TargetNodeImpl.java:177) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.TransformationTreeImpl.accept(TransformationTreeImpl.java:129) ~[eu.esdihumboldt.hale.common.align-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.internal.TreePropertyTransformer$2.lambda$0(TreePropertyTransformer.java:224) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.core.report.SimpleLogContext.withLog(SimpleLogContext.java:112) ~[eu.esdihumboldt.hale.common.core-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.internal.TreePropertyTransformer$2.run(TreePropertyTransformer.java:181) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.internal.TreePropertyTransformer.publish(TreePropertyTransformer.java:264) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.functions.core.Retype.execute(Retype.java:76) ~[eu.esdihumboldt.cst.functions.core-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.ConceptualSchemaTransformer.doTypeTransformation(ConceptualSchemaTransformer.java:327) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.cst.ConceptualSchemaTransformer.transform(ConceptualSchemaTransformer.java:155) ~[eu.esdihumboldt.cst-4.2.0-SNAPSHOT.jar:na] at eu.esdihumboldt.hale.common.headless.transform.Transformation$5.run(Transformation.java:398) [eu.esdihumboldt.hale.common.headless-4.2.0-SNAPSHOT.jar:na] at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [org.eclipse.core.jobs-3.10.700.v20200106-1020.jar:na]
First investigation dev team: "it appears to happen only for Regex Analysis cells that map from a source property that has both a value itself as well as an attribute (like gml:identifier or gml:description). If I change the source property e.g. to id, it works. When the source property is set to identifier, the transformation fails and a Java Object description shows up in the field "Sample text"."
Update: This is not happening only for Regex Analysis but at least as well for Formatted String mapping. There is no error message in that case but the target property contains values such as
eu.esdihumboldt.hale.common.instance.orient.storage.DatabaseHandle$InstanceHandle@1008ac5f
The text was updated successfully, but these errors were encountered: