morg.apache.jena.riot.RiotException

<file:///staging/4e/3c/58/0e/4e3c580e-319d-4dae-9d8c-88f6fa1e721f/content/jcr:content {jcr:lastModifiedBy=bypassAdmin, jcr:uuid=a74de80f-a60c-4d40-8f92-6a74e3d3dccd, jcr:mimeType=text/plain, premis:hasSize=6945267, ebucore:hasMimeType=text/csv, jcr:createdBy=bypassAdmin, jcr:primaryType=nt:resource, jcr:created=2016-08-10T11:46:31.708-05:00, premis:hasMessageDigest=urn:sha1:e7de44aea6276cc3dd280f0bf2f5ff6d5267e0d1, jcr:mixinTypes=[fedora:Binary], jcr:lastModified=2016-08-10T11:46:31.708-05:00, ebucore:filename=users_20160510.csv, jcr:data=**binary-value-not-shown**}> Code: 0/ILLEGAL_CHARACTER in PATH: The character violates the grammar rules for URIs/IRIs.

Solutions on the web1

  • via GitHub by phebal
    , 10 months ago
    <file:///staging/4e/3c/58/0e/4e3c580e-319d-4dae-9d8c-88f6fa1e721f/content/jcr:content {jcr:lastModifiedBy=bypassAdmin, jcr:uuid=a74de80f-a60c-4d40-8f92-6a74e3d3dccd, jcr:mimeType=text/plain, premis:hasSize=6945267, ebucore:hasMimeType=text/csv
  • Stack trace

    • morg.apache.jena.riot.RiotException: <file:///staging/4e/3c/58/0e/4e3c580e-319d-4dae-9d8c-88f6fa1e721f/content/jcr:content {jcr:lastModifiedBy=bypassAdmin, jcr:uuid=a74de80f-a60c-4d40-8f92-6a74e3d3dccd, jcr:mimeType=text/plain, premis:hasSize=6945267, ebucore:hasMimeType=text/csv, jcr:createdBy=bypassAdmin, jcr:primaryType=nt:resource, jcr:created=2016-08-10T11:46:31.708-05:00, premis:hasMessageDigest=urn:sha1:e7de44aea6276cc3dd280f0bf2f5ff6d5267e0d1, jcr:mixinTypes=[fedora:Binary], jcr:lastModified=2016-08-10T11:46:31.708-05:00, ebucore:filename=users_20160510.csv, jcr:data=**binary-value-not-shown**}> Code: 0/ILLEGAL_CHARACTER in PATH: The character violates the grammar rules for URIs/IRIs. at org.apache.jena.riot.system.IRIResolver.exceptions(IRIResolver.java:311) at org.apache.jena.riot.system.IRIResolver.access$000(IRIResolver.java:31) at org.apache.jena.riot.system.IRIResolver$IRIResolverNormal.resolve(IRIResolver.java:414) at org.apache.jena.riot.system.IRIResolver$IRIResolverSync.resolve(IRIResolver.java:449) at org.apache.jena.riot.system.IRIResolver.resolveIRI(IRIResolver.java:190) at org.apache.jena.riot.system.IRIResolver.resolveString(IRIResolver.java:170) at org.apache.jena.riot.lang.LangCSV.parse(LangCSV.java:97) at org.apache.jena.riot.RDFParserRegistry$ReaderRIOTLang.read(RDFParserRegistry.java:185) at org.apache.jena.riot.RDFDataMgr.process(RDFDataMgr.java:906) at org.apache.jena.riot.RDFDataMgr.read(RDFDataMgr.java:257) at org.apache.jena.riot.RDFDataMgr.read(RDFDataMgr.java:243) at org.apache.jena.riot.adapters.RDFReaderRIOT.read(RDFReaderRIOT.java:70) at org.apache.jena.riot.adapters.RDFReaderRIOT_CSV.read(RDFReaderRIOT_CSV.java:43) at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:277) at org.fcrepo.http.api.ContentExposingResource.getContent(ContentExposingResource.java:183) at org.fcrepo.http.api.FedoraLdp.describe(FedoraLdp.java:211) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.