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

NullPointerException in IO_Jena.resetJena()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: Jena 2.10.1
    • Fix Version/s: Jena 2.11.0
    • Component/s: RIOT
    • Labels:
      None

      Description

      IO_JenaReaders.resetJena() (called by org.apache.jena.riot.IO_Jena.resetJena()) - threw a NullPointerException.

      This is because it calls Property.setProperty("RDF/JSON", null) which does not allow null as value.

      My suggested patch is at https://github.com/apache/jena/pull/2/files

      This patch also fixes the bug JENA-521 in that other readers and writers like RDF/XML and RDF/XML-Abbrev were not reset.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andy Andy Seaborne
                Reporter:
                soilandreyes Stian Soiland-Reyes (old) (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: