[
https://issues.apache.org/jira/browse/SLING-8727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu resolved SLING-8727.
---------------------------------
Fix Version/s: Apache Sling Testing Clients 1.2.2
Resolution: Fixed
> 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
> Fix For: Apache Sling Testing Clients 1.2.2
>
> 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)