taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stian Soiland-Reyes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAVERNA-892) Update to Jena 3.0.1
Date Wed, 10 Feb 2016 16:41:18 GMT

    [ https://issues.apache.org/jira/browse/TAVERNA-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141115#comment-15141115
] 

Stian Soiland-Reyes commented on TAVERNA-892:
---------------------------------------------

Using jena-osgi 3.0.1 fails the tests of robundle:

{code}
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)
{code}

3.0.0 works fine - is this caused by JENA-1038 or other changes to the Jena initialization
system?


We should report this upstream to Jena and use 3.0.0 as workaround.

> Update to Jena 3.0.1
> --------------------
>
>                 Key: TAVERNA-892
>                 URL: https://issues.apache.org/jira/browse/TAVERNA-892
>             Project: Apache Taverna
>          Issue Type: Bug
>          Components: Taverna Language, Taverna Maven Parent
>            Reporter: Stian Soiland-Reyes
>            Assignee: Stian Soiland-Reyes
>            Priority: Minor
>
> As Jena 3.0.1 is now released, we should update taverna-maven-parent to use 
> [code}
> <jena.version>3.0.1</jena.version>
> {code}
> instead of 2.13.0.
> Note that Jena 3 includes change of package names to from com.hp.hpl.jena to org.apache.jena



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message