Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1011

RiotReader.createIteratorTriples causes NPE for some syntaxes.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 3.0.0
    • Jena 3.0.1
    • RIOT
    • None

    Description

      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".

      Adding out.start/out.finish nesting in createIteratorTriples causes "Pipe closed".

      Attachments

        1. ExampleIteratorParsing.java
          3 kB
          Andy Seaborne

        Activity

          People

            andy Andy Seaborne
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: