[ https://issues.apache.org/jira/browse/RYA-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Lotts updated RYA-518: ---------------------------- Fix Version/s: 4.0.1 > SPARQL queries using XPath string functions throw a NullPointerException > ------------------------------------------------------------------------ > > Key: RYA-518 > URL: https://issues.apache.org/jira/browse/RYA-518 > Project: Rya > Issue Type: Bug > Affects Versions: 4.0.0 > Environment: $ 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 > Reporter: Ryan Lantzy > Priority: Minor > Fix For: 4.0.1 > > > 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] > -- This message was sent by Atlassian Jira (v8.3.4#803005)