[ https://issues.apache.org/jira/browse/MARMOTTA-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13755948#comment-13755948 ]
Sergio Fernández commented on MARMOTTA-297: ------------------------------------------- Could be an encoding issue in the previous InputStream reading? > Error in the KiWi ValueFactory with long literals > ------------------------------------------------- > > Key: MARMOTTA-297 > URL: https://issues.apache.org/jira/browse/MARMOTTA-297 > Project: Marmotta > Issue Type: Bug > Components: Triple Store > Affects Versions: 3.0-incubating > Reporter: Sergio Fernández > Assignee: Sebastian Schaffert > Priority: Critical > Labels: rdf, sesame > Fix For: 3.1-incubating > > > Trying to import a Turtle file with really long literals, I'm facing with the > following error: > 11:15:08.233 ERROR o.a.m.p.c.s.i.ImportWatchServiceImpl - Error importing > file /path/to/marmotta/home/import/foo/bar.ttl from the local directory: > org.openrdf.rio.RDFParseException: > org.apache.marmotta.kiwi.model.rdf.KiWiUriResource cannot be cast to > org.apache.marmotta.kiwi.model.rdf.KiWiLiteral [line 979155] > The file was generated by another tool which uses the default Sesame's > TurtleWriter, therefore we must be able to import into Marmotta. > I guess this issue could be related with the literal length, but I'm not > totally sure... I'd try to provide more details that could guide us to the > actual problem. -- 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