[ 
https://issues.apache.org/jira/browse/STANBOL-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rupert Westenthaler resolved STANBOL-1073.
------------------------------------------

    Resolution: Fixed

marking as resolved.

NOTE the "temporary workaround for STANBOL-1073" comment in the code. As Reto 
mentioned this should be revisited after upgrading to Apache Jena

> exception parsing turtle, nt and n3
> -----------------------------------
>
>                 Key: STANBOL-1073
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1073
>             Project: Stanbol
>          Issue Type: Bug
>            Reporter: Reto Bachmann-Gmür
>
> Parsing these formats fail with the following exception:
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.openjena.riot.system.IRIResolver
>       at 
> org.openjena.riot.system.JenaReaderRIOT.readImpl(JenaReaderRIOT.java:121)
>       at org.openjena.riot.system.JenaReaderRIOT.read(JenaReaderRIOT.java:79)
>       at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:226)
>       at 
> org.apache.clerezza.rdf.jena.parser.JenaParserProvider.parse(JenaParserProvider.java:68)
> The problem occurs when the first usee of the parser happens from an 
> unprivileged context, e.g. with :
> curl -i -X POST -H "Content-Type:text/turtle" -T {contacts.nt} 
> http://localhost:8080/entityhub/entity
> Is subsequently also occurs in privileged context, e.g.:
> zz>import org.apache.clerezza.rdf.core.serializedform._  
> zz>val p = $[Parser]
> zz>import java.io._
> zz>val in = new ByteArrayInputStream("<http://example.org/me> 
> <http://xmlns.com/foaf/0.1/name> \"Jane Doe\" .".getBytes)
> zz>p.parse(in, "text/turtle")
> The problem doesn't occur when first access is privileged.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to