linkedpipes / etl

LinkedPipes ETL is an RDF based, lightweight ETL tool
https://etl.linkedpipes.com
Other
147 stars 30 forks source link

JSON-LD Titanium framing does not work #954

Closed jakubklimek closed 1 year ago

jakubklimek commented 1 year ago

See this execution.

The error is Cannot invoke "String.length()" because "s" is null:

com.linkedpipes.etl.executor.ExecutorException: PipelineComponent execution failed.
at com.linkedpipes.etl.executor.component.SequentialComponentExecutor.run(SequentialComponentExecutor.java:42)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: com.linkedpipes.etl.executor.api.v1.LpException: Execution failed.
at com.linkedpipes.etl.executor.plugin.v1.PluginV1Instance.execute(PluginV1Instance.java:39)
at com.linkedpipes.etl.executor.component.SequentialComponentExecutor.run(SequentialComponentExecutor.java:38)
... 1 common frames omitted
Caused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "s" is null
at java.base/java.io.StringReader.<init>(StringReader.java:51)
at com.linkedpipes.plugin.transformer.jsonldformattitanium.TitaniumOperator.documentFromString(TitaniumOperator.java:58)
at com.linkedpipes.plugin.transformer.jsonldformattitanium.TitaniumOperator.frameToJson(TitaniumOperator.java:108)
at com.linkedpipes.plugin.transformer.jsonldformattitanium.TitaniumOperator.frame(TitaniumOperator.java:101)
at com.linkedpipes.plugin.transformer.jsonldformattitanium.JsonLdFormatTitanium.transformFile(JsonLdFormatTitanium.java:79)
at com.linkedpipes.plugin.transformer.jsonldformattitanium.JsonLdFormatTitanium.execute(JsonLdFormatTitanium.java:43)
at com.linkedpipes.etl.executor.api.v1.component.SequentialExecution.execute(SequentialExecution.java:11)
at com.linkedpipes.etl.executor.plugin.v1.PluginV1Instance.execute(PluginV1Instance.java:37)
... 2 common frames omitted
skodapetr commented 1 year ago

This is problem with the configuration dialog, where the part with the frame was not visible and thus could not be provided. As the transformation is frame based the frame must be provided.