Uploaded image for project: 'Rya'
  1. Rya
  2. RYA-518

SPARQL queries using XPath string functions throw a NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0.0
    • 4.0.1
    • None
    • None

    Description

      Whenever a SPARQL query is evaluated using org.apache.rya.rdftriplestore.RdfCloudTripleStoreConnection.evaluateInternal(TupleExpr, Dataset, BindingSet, boolean) and said query uses an XPath string function, IndexingFunctionRegistry throws a NullPointerException at line 78 when running Rya with MongoDB.

      Sample query:

      SELECT (strlen(?s) AS ?s_length)
      WHERE

      {     ?s ?p ?o . }

      SPARQL string functions specification

      https://www.w3.org/TR/sparql11-query/#func-strlen

      XPath specification
      https://www.w3.org/TR/xpath-functions/#string-value-functions

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ryan.lantzy Ryan Lantzy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: