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

Reto Bachmann-Gmür commented on STANBOL-1073:
---------------------------------------------

Committed work-around with 1483855 that should be removed once clerezza/jena is 
updated
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to