[
https://issues.apache.org/jira/browse/JENA-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14705279#comment-14705279
]
Andy Seaborne edited comment on JENA-1011 at 8/20/15 5:02 PM:
--------------------------------------------------------------
The problem formats. May have found some combination that does not the problem
but also it have a timing component (this originally arose testing Fuseki but
the example caused the problem locally). They are ones that do not go through
the core of RiotReader (e.g. XML formats, JSON-LD).
Have you seen this occur? Do yo use the iterator interface to not_NT, not-NQ
formats? (NT and NQ are handled specially).
was (Author: andy.seaborne):
The problem formats. May have found some combination that does not the problem
but also it have a timing component (this originally arose testing Fuseki but
the example caused the problem locally).
> RiotReader.createIteratorTriples causes NPE for some syntaxes.
> --------------------------------------------------------------
>
> Key: JENA-1011
> URL: https://issues.apache.org/jira/browse/JENA-1011
> Project: Apache Jena
> Issue Type: Bug
> Components: RIOT
> Affects Versions: Jena 3.0.0
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Priority: Minor
> Attachments: ExampleIteratorParsing.java
>
>
> Some syntaxes (e.g. JSON-LD, TRIX) cause the async thread parsing to throw a
> null pointer exception.
> Changing {{RiotReader::parse}} to:
> {noformat}
> RDFDataMgr.parse(dest, in, baseIRI, lang);
> {noformat}
> then causes "Producer dead".
> Adding {{out.start}}/{{out.finish}} nesting in {{createIteratorTriples}}
> causes "Pipe closed".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)