working in 4
PREFIX add: http://data.vlaanderen.be/ns/adres#
CONSTRUCT {?x ?p ?v.}
WHERE
{?x ?p ?v.
FILTER (isLiteral(?v))
?x ?l ?e.
FILTER (isURI(?e))
?e ?ep ?ev.
{SELECT ?x
WHERE {?x a add:Adres.}
LIMIT 50}}
In 5
Internal server error
working in 4
PREFIX add: http://data.vlaanderen.be/ns/adres#
CONSTRUCT {?x ?p ?v.}
WHERE
{?x ?p ?v.
FILTER (isLiteral(?v))
?x ?l ?e.
FILTER (isURI(?e))
?e ?ep ?ev.
{SELECT ?x
WHERE {?x a add:Adres.}
LIMIT 50}}
In 5
Internal server error
Hi Paul,
Can you send us the stardog.log file from the Stardog home directory?
Thanks,
Pavel
Since I can only upload images, the relevant snippets I hope:
ERROR 2017-05-10 11:09:35,353 [XNIO-1 task-8] com.stardog.http.server.undertow.ErrorHandling:writeError(179): Unexpected error on the server
java.lang.NullPointerException: null
at com.complexible.stardog.protocols.http.server.ProtocolUtils.executeReadQuery(ProtocolUtils.java:524) ~[stardog-protocols-http-server-5.0-beta.jar:?]
at com.complexible.stardog.protocols.http.annex.QueryPanelService.executeQuery(QueryPanelService.java:195) ~[stardog-webconsole-annex-5.0-beta.jar:?]
at com.complexible.stardog.protocols.http.annex.QueryPanelService.post(QueryPanelService.java:120) ~[stardog-webconsole-annex-5.0-beta.jar:?]
at com.stardog.http.server.undertow.jaxrs.ExtractRoutes.lambda$handleIt$81(ExtractRoutes.java:183) ~[stardog-protocols-http-server-5.0-beta.jar:?]
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) ~[shiro-core-1.2.3.jar:1.2.3]
at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) ~[shiro-core-1.2.3.jar:1.2.3]
at com.stardog.http.server.undertow.ErrorHandling.lambda$safeDispatch$43(ErrorHandling.java:70) ~[stardog-protocols-http-server-5.0-beta.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
ERROR 2017-05-10 11:09:36,288 [XNIO-1 task-10] com.stardog.http.server.undertow.ErrorHandling:writeError(179): Unexpected error on the server
java.lang.NullPointerException: null
at com.complexible.stardog.protocols.http.server.ProtocolUtils.executeReadQuery(ProtocolUtils.java:524) ~[stardog-protocols-http-server-5.0-beta.jar:?]
at com.complexible.stardog.protocols.http.annex.QueryPanelService.executeQuery(QueryPanelService.java:195) ~[stardog-webconsole-annex-5.0-beta.jar:?]
at com.complexible.stardog.protocols.http.annex.QueryPanelService.post(QueryPanelService.java:120) ~[stardog-webconsole-annex-5.0-beta.jar:?]
at com.stardog.http.server.undertow.jaxrs.ExtractRoutes.lambda$handleIt$81(ExtractRoutes.java:183) ~[stardog-protocols-http-server-5.0-beta.jar:?]
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) ~[shiro-core-1.2.3.jar:1.2.3]
at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) ~[shiro-core-1.2.3.jar:1.2.3]
at com.stardog.http.server.undertow.ErrorHandling.lambda$safeDispatch$43(ErrorHandling.java:70) ~[stardog-protocols-http-server-5.0-beta.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
Waiting for running tasks to complete…done. Executor service has been shut down.
Hi Paul, thanks for the report. This is a bug with the interaction between the webconsole and the 5.x HTTP server. It will be fixed in the next release. Until then, I would recommend using the CLI or one of the various APIs for executing your query.