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
Okay, I'm getting the same null pointer exception error.
I did some experimenting and it's being caused by attempting to add an rdf:comment that's an empty string
Use sample data file stuff.json:
{
"stuff": [
{"id":"12345", "value":"hi"}
]
}
This will cause an exception:
17:09:30.580 [main] DEBUG b.u.rml.records.JSONRecordFactory .getRecords(40) - No document found for stuff.json. Creating new one
17:09:30.597 [main] DEBUG c.j.j.internal.path.CompiledPath .evaluate(93) - Evaluating path: $['stuff'][*]
17:09:30.600 [main] DEBUG c.j.j.internal.path.CompiledPath .evaluate(93) - Evaluating path: $['stuff'][0]['id']
17:09:30.601 [main] ERROR be.ugent.rml.cli.Main .run(420) - Cannot invoke "be.ugent.rml.functions.SingleRecordFunctionExecutor.execute(be.ugent.rml.records.Record)" because "this.functionExecutor" is null
17:09:30.601 [main] ERROR be.ugent.rml.cli.Main .run(457) - Cannot invoke "be.ugent.rml.functions.SingleRecordFunctionExecutor.execute(be.ugent.rml.records.Record)" because "this.functionExecutor" is null
java.lang.NullPointerException: Cannot invoke "be.ugent.rml.functions.SingleRecordFunctionExecutor.execute(be.ugent.rml.records.Record)" because "this.functionExecutor" is null
at be.ugent.rml.termgenerator.LiteralGenerator.generate(LiteralGenerator.java:47)
at be.ugent.rml.Executor.generatePredicateObjectGraphs(Executor.java:345)
at be.ugent.rml.Executor.executeWithFunction(Executor.java:178)
at be.ugent.rml.Executor.execute(Executor.java:132)
at be.ugent.rml.cli.Main.run(Main.java:416)
at be.ugent.rml.cli.Main.main(Main.java:49)
I will like to generate blank nodes as part of a subject map. I provided the following rule:
rr:subjectMap [
rr:column "Column_Name";
rr:termType "blankNode";
rr:class giam:Entitlement
]
I get the following error:
Cannot invoke "be.ugent.rml.functions.SingleRecordFunctionExecutor.execute(be.ugent.rml.records.Record)" because "this.functionExecutor" is null
How do I fix it? I am using rmlmapper-6.2.1-r368-all.jar
The text was updated successfully, but these errors were encountered: