linkedpipes / etl

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

SPARQL CONSTRUCT to file list: iriString must not be null #427

Closed jindrichmynarz closed 7 years ago

jindrichmynarz commented 7 years ago

SPARQL CONSTRUCT to file list throws iriString must not be null exception.

Caused by: java.lang.NullPointerException: iriString must not be null
    at java.util.Objects.requireNonNull(Objects.java:228)
    at org.eclipse.rdf4j.model.impl.SimpleIRI.setIRIString(SimpleIRI.java:73)
    at org.eclipse.rdf4j.model.impl.SimpleIRI.<init>(SimpleIRI.java:65)
    at org.eclipse.rdf4j.model.impl.AbstractValueFactory.createIRI(AbstractValueFactory.java:88)
    at com.linkedpipes.plugin.transformer.sparql.constructtofilelist.SparqlConstructToFileList.executeTask(SparqlConstructToFileList.java:111)
    at com.linkedpipes.plugin.transformer.sparql.constructtofilelist.SparqlConstructToFileList.executeTasks(SparqlConstructToFileList.java:100)
    at com.linkedpipes.plugin.transformer.sparql.constructtofilelist.SparqlConstructToFileList.executeTaskGroups(SparqlConstructToFileList.java:77)
    at com.linkedpipes.plugin.transformer.sparql.constructtofilelist.SparqlConstructToFileList.execute(SparqlConstructToFileList.java:57)
    at com.linkedpipes.etl.executor.api.v1.component.SequentialWrap.execute(SequentialWrap.java:44)
    ... 2 common frames omitted

The exception also appeared in #257, but it seems unrelated.

I used this configuration on this dataset.

Tested using the develop version 1b6ef835dd2bff425b9caa77860c13bf61fd199f.

skodapetr commented 7 years ago

The sctfl:graph should be sctfl:outputGraph .

jindrichmynarz commented 7 years ago

You're right. This is an error in the configuration.

The demo pipeline also uses sctfl:graph, so it should be updated.