java.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • A simple Jena example not working
    via Stack Overflow by Karim Mtl
    ,
  • NPE when reading file
    via GitHub by stevespringett
    ,
  • Compiling a class which depends on jena
    via Stack Overflow by ChrisW
    ,
    • java.lang.ExceptionInInitializerError at com.mycompany.app.RdfWriter.main(RdfWriter.java:13) Caused by: java.lang.NullPointerException at org.apache.jena.tdb.sys.EnvTDB.processGlobalSystemProperties(EnvTDB.java:33) at org.apache.jena.tdb.TDB.init(TDB.java:248) at org.apache.jena.tdb.sys.InitTDB.start(InitTDB.java:29) at org.apache.jena.system.JenaSystem.lambda$init$2(JenaSystem.java:119) at java.util.ArrayList.forEach(ArrayList.java:1249) at org.apache.jena.system.JenaSystem.forEach(JenaSystem.java:194) at org.apache.jena.system.JenaSystem.forEach(JenaSystem.java:171) at org.apache.jena.system.JenaSystem.init(JenaSystem.java:117) at org.apache.jena.rdf.model.ModelFactory.<clinit>(ModelFactory.java:49) ... 1 more
    No Bugmate found.