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

Bugfix Tutorial 6: Missing "/" at the end of an URI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Jena 3.8.0
    • None
    • None

    Description

      Reported in PR#390

      supergitacc commented on 4 Apr

      I found a bug in tutorial 6 and propose a fix for it.
      Without "/" at the end of the URI of JohnSmith (http://somewhere/JohnSmith/) an exception occurs in line 51 because no resource vcard could be found. The exception was: "Exception in thread "main" java.lang.NullPointerException". Adding the slash at the end fixes the issue because <rdf:Description rdf:about="http://somewhere/JohnSmith/">

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: