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

Service Enhancer breaks literals in service clause #31

Open
Aklakan opened this issue Mar 28, 2023 · 0 comments
Open

Service Enhancer breaks literals in service clause #31

Aklakan opened this issue Mar 28, 2023 · 0 comments
Assignees

Comments

@Aklakan
Copy link
Member

Aklakan commented Mar 28, 2023

This issue actually needs to be fixed at the service enhancer jena plugin - but for now I document it here:

The following example incorrectly uses <env:S> (string substitution) rather than env://S (IRI substitution).

S=https://query.wikidata.org/sparql rpt integrate 'SELECT * { SERVICE <env:S> { <http://www.wikidata.org/entity/Q54837> ?p ?o } }'

This causes a NPE in my service enhancer plugin. The plugin should not interfere and just pass on the execution request to the engine.

Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.size()" because "opts" is null
	at org.apache.jena.sparql.service.enhancer.impl.ChainingServiceExecutorBulkServiceEnhancer.createExecution(ChainingServiceExecutorBulkServiceEnhancer.java:53) ~[jena-serviceenhancer-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT]
@Aklakan Aklakan self-assigned this Mar 28, 2023
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

1 participant