[ 
https://issues.apache.org/jira/browse/JENA-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16463528#comment-16463528
 ] 

Andy Seaborne commented on JENA-1540:
-------------------------------------

The problem is with the data - all the URIs for people have a trailing slash.

> Bugfix Tutorial 6: Missing "/" at the end of an URI
> ---------------------------------------------------
>
>                 Key: JENA-1540
>                 URL: https://issues.apache.org/jira/browse/JENA-1540
>             Project: Apache Jena
>          Issue Type: Bug
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Major
>             Fix For: Jena 3.8.0
>
>
> Reported in [PR#390|https://github.com/apache/jena/pull/390]
> h3. *supergitacc*  commented [on 4 
> Apr|https://github.com/apache/jena/pull/390#issue-179386524]
> |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/";>|http://somewhere/JohnSmith/%22%3E]|



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to