Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null pointer exception in query translation mode #9

Open
arenas-guerrero-julian opened this issue Aug 2, 2023 · 2 comments
Open

Null pointer exception in query translation mode #9

arenas-guerrero-julian opened this issue Aug 2, 2023 · 2 comments

Comments

@arenas-guerrero-julian
Copy link

Hi,

The virtualization mode in Morph-xR2RML using the latest jar file results in the following null pointer exception:

java.lang.NullPointerException
    at org.apache.jena.query.ARQ.isTrue(ARQ.java:650)
    at org.apache.jena.sparql.lang.ParserBase.<init>(ParserBase.java:292)
    at org.apache.jena.sparql.lang.SPARQLParserBase.<init>(SPARQLParserBase.java:43)
    at org.apache.jena.sparql.lang.sparql_11.SPARQLParser11Base.<init>(SPARQLParser11Base.java:22)
    at org.apache.jena.sparql.lang.sparql_11.SPARQLParser11.<init>(SPARQLParser11.java:4974)
    at org.apache.jena.sparql.lang.ParserSPARQL11.perform(ParserSPARQL11.java:91)
    at org.apache.jena.sparql.lang.ParserSPARQL11.parse$(ParserSPARQL11.java:52)
    at org.apache.jena.sparql.lang.SPARQLParser.parse(SPARQLParser.java:34)
    at org.apache.jena.query.QueryFactory.parse(QueryFactory.java:147)
    at org.apache.jena.query.QueryFactory.create(QueryFactory.java:79)
    at org.apache.jena.query.QueryFactory.read(QueryFactory.java:220)
    at org.apache.jena.query.QueryFactory.read(QueryFactory.java:165)
    at es.upm.fi.dia.oeg.morph.base.engine.MorphBaseRunner.run(MorphBaseRunner.scala:28)
    at fr.unice.i3s.morph.xr2rml.engine.MorphRunner$.main(MorphRunner.scala:97)
    at fr.unice.i3s.morph.xr2rml.engine.MorphRunner.main(MorphRunner.scala)

Materialization mode is working fine :)

@frmichel
Copy link
Owner

frmichel commented Aug 2, 2023

Query translation mode in non-server mode, that is with property query.sparql set in morph.properties file.
Tested on morph-xr2rml-dist-1.3.1-jar-with-dependencies.jar.

@namedgraph
Copy link

Is this project abandoned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants