Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.0.0
-
None
-
None
-
$ java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
mongo -version
MongoDB shell version v4.0.10
git version: c389e7f69f637f7a1ac3cc9fae843b635f20b766
OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
allocator: tcmalloc
modules: none
build environment:
distmod: ubuntu1604
distarch: x86_64
target_arch: x86_64$ java -version openjdk version "1.8.0_212" OpenJDK Runtime Environment (build 1.8.0_212-b04) OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode) mongo -version MongoDB shell version v4.0.10 git version: c389e7f69f637f7a1ac3cc9fae843b635f20b766 OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016 allocator: tcmalloc modules: none build environment: distmod: ubuntu1604 distarch: x86_64 target_arch: x86_64
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
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
- links to