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

Andy Seaborne updated JENA-1011:
--------------------------------
    Description: 
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". 



  was:
Some syntaxes (e.g. JSON-LD, TRIX) cause the async thread parsing to throw a 
null pointer exception.

Changing {{RiotReader:;parse}} to:

    RDFDataMgr.parse(dest, in, baseIRI, lang);

then causes "Producer dead"



> 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
>
> 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)

Reply via email to