Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.419 sec <<< FAILURE! - in org.apache.taverna.robundle.validator.ValidatorTest
test(org.apache.taverna.robundle.validator.ValidatorTest) Time elapsed: 0.418 sec <<< ERROR!
java.lang.ExceptionInInitializerError: null
at org.apache.jena.tdb.sys.EnvTDB.processGlobalSystemProperties(EnvTDB.java:33)
at org.apache.jena.tdb.TDB.init(TDB.java:250)
at org.apache.jena.tdb.sys.InitTDB.start(InitTDB.java:29)
at org.apache.jena.system.JenaSystem.lambda$init$40(JenaSystem.java:114)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at org.apache.jena.system.JenaSystem.forEach(JenaSystem.java:179)
at org.apache.jena.system.JenaSystem.forEach(JenaSystem.java:156)
at org.apache.jena.system.JenaSystem.init(JenaSystem.java:111)
at org.apache.jena.rdf.model.ModelFactory.<clinit>(ModelFactory.java:49)
at org.apache.taverna.robundle.manifest.RDFToManifest.loadOntologyFromClasspath(RDFToManifest.java:315)
at org.apache.taverna.robundle.manifest.RDFToManifest.loadDCT(RDFToManifest.java:262)
at org.apache.taverna.robundle.manifest.RDFToManifest.loadOntologies(RDFToManifest.java:304)
at org.apache.taverna.robundle.manifest.RDFToManifest.<init>(RDFToManifest.java:182)
at org.apache.taverna.robundle.Bundle.readOrPopulateManifest(Bundle.java:114)
at org.apache.taverna.robundle.Bundle.getManifest(Bundle.java:87)
at org.apache.taverna.robundle.validator.RoValidator.validate(RoValidator.java:88)
at org.apache.taverna.robundle.validator.RoValidator.<init>(RoValidator.java:80)
at org.apache.taverna.robundle.validator.ValidatorTest.test(ValidatorTest.java:47)
Running org.apache.taverna.robundle.TestExample
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.278 sec <<< FAILURE! - in org.apache.taverna.robundle.TestExample
example(org.apache.taverna.robundle.TestExample) Time elapsed: 0.277 sec <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.apache.jena.rdf.model.ModelFactory
at org.apache.taverna.robundle.manifest.RDFToManifest.loadOntologyFromClasspath(RDFToManifest.java:315)
at org.apache.taverna.robundle.manifest.RDFToManifest.loadDCT(RDFToManifest.java:262)
at org.apache.taverna.robundle.manifest.RDFToManifest.loadOntologies(RDFToManifest.java:304)
at org.apache.taverna.robundle.manifest.RDFToManifest.<init>(RDFToManifest.java:182)
at org.apache.taverna.robundle.Bundle.readOrPopulateManifest(Bundle.java:114)
at org.apache.taverna.robundle.Bundle.getManifest(Bundle.java:87)
at org.apache.taverna.robundle.Bundle.close(Bundle.java:61)
at org.apache.taverna.robundle.Bundle.close(Bundle.java:52)
at org.apache.taverna.robundle.TestExample.example(TestExample.java:100)
Using jena-osgi 3.0.1 fails the tests of robundle:
3.0.0 works fine - is this caused by
JENA-1038or other changes to the Jena initialization system?We should report this upstream to Jena and use 3.0.0 as workaround.