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

Radu Cotescu edited comment on SLING-8727 at 9/20/19 9:57 AM:
--------------------------------------------------------------

Applied patch in [commit 
609cb61|https://github.com/apache/sling-org-apache-sling-testing-clients/commit/609cb61].
 Thanks, [~volteanu]!


was (Author: radu.cotescu):
Applied patch in [commit 
609cb61|[https://github.com/apache/sling-org-apache-sling-testing-clients/commit/609cb61].]
 Thanks, [~volteanu]!

> NPE in SlingClient constructor when url doesn't have a protocol
> ---------------------------------------------------------------
>
>                 Key: SLING-8727
>                 URL: https://issues.apache.org/jira/browse/SLING-8727
>             Project: Sling
>          Issue Type: Bug
>          Components: Apache Sling Testing Clients
>    Affects Versions: Apache Sling Testing Clients 1.2.0
>            Reporter: Valentin Olteanu
>            Assignee: Radu Cotescu
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> {{new SlingClient(URI.create("example.com/"), "user", "pass")}} fails with 
> NPE because the url is considered relative and the hostname cannot be 
> extracted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to