[
https://issues.apache.org/jira/browse/SLING-8727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu reassigned SLING-8727:
-----------------------------------
Assignee: Radu Cotescu
> 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: 10m
> 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)