org.eclipse.rdf4j.query.QueryEvaluationException: Invalid Text Query: missing query string for Lucene query specification

GitHub | jgrzebyta | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    search query evaluator is not able to get query string from Literal

    GitHub | 9 months ago | jgrzebyta
    org.eclipse.rdf4j.query.QueryEvaluationException: Invalid Text Query: missing query string for Lucene query specification

    Root Cause Analysis

    1. org.eclipse.rdf4j.sail.SailException

      Invalid Text Query: missing query string for Lucene query specification

      at org.eclipse.rdf4j.sail.lucene.QuerySpecBuilder.failOrWarn()
    2. org.eclipse.rdf4j
      SailTupleQuery.evaluate
      1. org.eclipse.rdf4j.sail.lucene.QuerySpecBuilder.failOrWarn(QuerySpecBuilder.java:203)
      2. org.eclipse.rdf4j.sail.lucene.QuerySpecBuilder.process(QuerySpecBuilder.java:137)
      3. org.eclipse.rdf4j.sail.lucene.LuceneSailConnection.evaluate(LuceneSailConnection.java:294)
      4. org.eclipse.rdf4j.repository.sail.SailTupleQuery.evaluate(SailTupleQuery.java:50)
      5. org.eclipse.rdf4j.repository.sail.SailTupleQuery.evaluate(SailTupleQuery.java:67)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    4. Clojure
      Reflector.invokeInstanceMethod
      1. clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
      2. clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
      2 frames
    5. Unknown
      sparql$_main.doInvoke
      1. sparql$process_sparql_query.invokeStatic(sparql.clj:92)
      2. sparql$process_sparql_query.invoke(sparql.clj:83)
      3. sparql$_main$fn__652.invoke(sparql.clj:68)
      4. sparql$_main.invokeStatic(sparql.clj:67)
      5. sparql$_main.doInvoke(sparql.clj:47)
      5 frames
    6. Clojure
      RestFn.applyTo
      1. clojure.lang.RestFn.applyTo(RestFn.java:137)
      1 frame
    7. Unknown
      sparql.main
      1. sparql.main(Unknown Source)
      1 frame