On 09/03/2022 11:16, Martynas Jusevičius wrote:
Hi,

This appeared after Java upgrade from 11 to 17:

WARN LocationMapper:188 - Error in configuration file: Cannot invoke
"org.apache.jena.rdf.model.Property.asNode()" because
"org.apache.jena.vocabulary.RDF.type" is null

May be init related ... depends when it happened in the app.

Always good to call
JenaSystem.init
before any Jena code is touched if you can. It makes the whole thing deterministic.

I was looking at the LocationMapper code, but line 188 does not
contain anything like that:
https://github.com/apache/jena/blob/main/jena-core/src/main/java/org/apache/jena/util/LocationMapper.java#L188

Wrong location manager?

Look at any stacktraces.

Run 4.4.0.


What is the cause and does this need to be addressed?

Martynas

Reply via email to