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

RiotReader.createIteratorTriples causes NPE for some syntaxes.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Jena 3.0.0
    • Fix Version/s: Jena 3.0.1
    • Component/s: RIOT
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: