Skip to content

Inline transformation does not work anymore with hale cli 4.0.0 #71

@JohannaOtt

Description

@JohannaOtt

When using a transformation with an inline transformation (e.g. https://github.com/wetransform/adv-inspire-alignments/blob/master/annex-2-3/mappings/Buildings/2D/3A2INSPIRE_BU2D.halex) with the hale cli 4.0.0 release, this error is occurring:
!ERROR !MSG_TRANSFORMATION: #Mon Aug 31 16:45:07 CEST 2020 stack=eu.esdihumboldt.hale.common.align.transformation.function.TransformationException\: Transformation service not available for inline transformation\r\n\tat eu.esdihumboldt.cst.functions.core.inline.InlineTransformation.evaluate(InlineTransformation.java\:135)\r\n\tat eu.esdihumboldt.hale.common.align.transformation.function.impl.AbstractSingleTargetPropertyTransformation.evaluate(AbstractSingleTargetPropertyTransformation.java\:57)\r\n\tat eu.esdihumboldt.hale.common.align.transformation.function.impl.AbstractPropertyTransformation.execute(AbstractPropertyTransformation.java\:102)\r\n\tat eu.esdihumboldt.cst.internal.FunctionExecutor.executeTransformation(FunctionExecutor.java\:224)\r\n\tat eu.esdihumboldt.cst.internal.FunctionExecutor.processValid(FunctionExecutor.java\:133)\r\n\tat eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.CellNodeValidator.visit(CellNodeValidator.java\:110)\r\n\tat eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.CellNodeImpl.accept(CellNodeImpl.java\:103)\r\n\tat eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.TargetNodeImpl.accept(TargetNodeImpl.java\:177)\r\n\tat eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.TargetNodeImpl.accept(TargetNodeImpl.java\:173)\r\n\tat eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.TransformationTreeImpl.accept(TransformationTreeImpl.java\:129)\r\n\tat eu.esdihumboldt.cst.internal.TreePropertyTransformer$2.lambda$0(TreePropertyTransformer.java\:224)\r\n\tat eu.esdihumboldt.hale.common.core.report.SimpleLogContext.withLog(SimpleLogContext.java\:112)\r\n\tat eu.esdihumboldt.cst.internal.TreePropertyTransformer$2.run(TreePropertyTransformer.java\:181)\r\n\tat eu.esdihumboldt.cst.internal.TreePropertyTransformer.publish(TreePropertyTransformer.java\:264)\r\n\tat eu.esdihumboldt.cst.functions.groovy.GroovyRetype.execute(GroovyRetype.java\:69)\r\n\tat eu.esdihumboldt.cst.ConceptualSchemaTransformer.doTypeTransformation(ConceptualSchemaTransformer.java\:327)\r\n\tat eu.esdihumboldt.cst.ConceptualSchemaTransformer.transform(ConceptualSchemaTransformer.java\:155)\r\n\tat eu.esdihumboldt.hale.common.headless.transform.Transformation$5.run(Transformation.java\:339)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java\:55)\r\n message=Skipping property transformation\: Executing property transformation failed. (6885 times) cellId=C5eb3116a-ed7d-4ecb-9744-98176f9995cc

The same transformation works with the hale cli 3.5.0 release. The same issue used to occur some time ago for transformations on hale connect and with older cli versions: halestudio/hale#575

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions