You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Hasan (JIRA)" <ji...@apache.org> on 2010/04/09 12:35:51 UTC
[jira] Assigned: (CLEREZZA-188) SPARQL query error
[ https://issues.apache.org/jira/browse/CLEREZZA-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hasan reassigned CLEREZZA-188:
------------------------------
Assignee: Hasan
> SPARQL query error
> ------------------
>
> Key: CLEREZZA-188
> URL: https://issues.apache.org/jira/browse/CLEREZZA-188
> Project: Clerezza
> Issue Type: Bug
> Reporter: Hasan
> Assignee: Hasan
>
> submitting the following query into /sparql/form
> select ?resource where {?resource a ?mytype . filter (?mytype = <http://discobits.org/ontology#XHTMLInfoDiscoBit>)}
> generates an error
> Problem accessing /sparql. Reason:
> Encountered " <NIL> "() "" at line 4, column 21.
> Was expecting one of:
> <IRIref> ...
> <PNAME_NS> ...
> <PNAME_LN> ...
> <VAR1> ...
> <VAR2> ...
> "bound" ...
> "str" ...
> "datatype" ...
> "lang" ...
> "langmatches" ...
> "isURI" ...
> "isIRI" ...
> "isBlank" ...
> "isLiteral" ...
> "regex" ...
> "sameTerm" ...
> "true" ...
> "false" ...
> <INTEGER> ...
> <DECIMAL> ...
> <DOUBLE> ...
> <INTEGER_POSITIVE> ...
> <DECIMAL_POSITIVE> ...
> <DOUBLE_POSITIVE> ...
> <INTEGER_NEGATIVE> ...
> <DECIMAL_NEGATIVE> ...
> <DOUBLE_NEGATIVE> ...
> <STRING_LITERAL1> ...
> <STRING_LITERAL2> ...
> <STRING_LITERAL_LONG1> ...
> <STRING_LITERAL_LONG2> ...
> "(" ...
> "!" ...
> "+" ...
> "-" ...
>
> Caused by:
> com.hp.hpl.jena.query.QueryParseException: Encountered " <NIL> "() "" at line 4, column 21.
> Was expecting one of:
> <IRIref> ...
> <PNAME_NS> ...
> <PNAME_LN> ...
> <VAR1> ...
> <VAR2> ...
> "bound" ...
> "str" ...
> "datatype" ...
> "lang" ...
> "langmatches" ...
> "isURI" ...
> "isIRI" ...
> "isBlank" ...
> "isLiteral" ...
> "regex" ...
> "sameTerm" ...
> "true" ...
> "false" ...
> <INTEGER> ...
> <DECIMAL> ...
> <DOUBLE> ...
> <INTEGER_POSITIVE> ...
> <DECIMAL_POSITIVE> ...
> <DOUBLE_POSITIVE> ...
> <INTEGER_NEGATIVE> ...
> <DECIMAL_NEGATIVE> ...
> <DOUBLE_NEGATIVE> ...
> <STRING_LITERAL1> ...
> <STRING_LITERAL2> ...
> <STRING_LITERAL_LONG1> ...
> <STRING_LITERAL_LONG2> ...
> "(" ...
> "!" ...
> "+" ...
> "-" ...
>
> at com.hp.hpl.jena.sparql.lang.ParserSPARQL10.perform(ParserSPARQL10.java:86)
> at com.hp.hpl.jena.sparql.lang.ParserSPARQL10.parse(ParserSPARQL10.java:39)
> at com.hp.hpl.jena.query.QueryFactory.parse(QueryFactory.java:129)
> at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:72)
> at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:43)
> at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:31)
> at org.apache.clerezza.rdf.jena.sparql.JenaSparqlEngine$1.run(JenaSparqlEngine.java:60)
> at org.apache.clerezza.rdf.jena.sparql.JenaSparqlEngine$1.run(JenaSparqlEngine.java:56)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.clerezza.rdf.jena.sparql.JenaSparqlEngine.execute(JenaSparqlEngine.java:55)
> at org.apache.clerezza.rdf.core.access.TcManager.executeSparqlQuery(TcManager.java:636)
> at org.apache.clerezza.rdf.web.core.SparqlEndpoint.runFormQuery(SparqlEndpoint.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.clerezza.triaxrs.RootResourceExecutorImpl.handleWithMethod(RootResourceExecutorImpl.java:471)
> at org.apache.clerezza.triaxrs.RootResourceExecutorImpl.execute(RootResourceExecutorImpl.java:121)
> at org.apache.clerezza.triaxrs.JaxRsHandler.handle(JaxRsHandler.java:502)
> at org.wymiwyg.wrhapi.util.pathmappings.PathMappingHandler$RegisteredHandler.handle(PathMappingHandler.java:127)
> at org.wymiwyg.wrhapi.util.pathmappings.PathMappingHandler.handle(PathMappingHandler.java:102)
> at org.apache.clerezza.platform.security.auth.AuthenticatingFilter$1.run(AuthenticatingFilter.java:94)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
> at org.apache.clerezza.platform.security.auth.AuthenticatingFilter.handle(AuthenticatingFilter.java:90)
> at org.wymiwyg.wrhapi.filter.impl.FilterRunner.handle(FilterRunner.java:56)
> at org.apache.clerezza.platform.xhtml2html.Xhtml2HtmlFilter.handle(Xhtml2HtmlFilter.java:73)
> at org.wymiwyg.wrhapi.filter.impl.FilterRunner.handle(FilterRunner.java:56)
> at org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServerFactory.java:76)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
> at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
> at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:326)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
> at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.