Skip to content

Commit

Permalink
527707: NullPointerException below ProxyHelper.doGetProxyData (thrown…
Browse files Browse the repository at this point in the history
… in ProxyManager.tryGetURI)

Bug: 527707
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=527707
  • Loading branch information
creckord committed Nov 24, 2017
1 parent 0a897c8 commit a31b6a3
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -95,6 +95,9 @@ public static IProxyData getProxyData(URI uri) {
}

private static IProxyData doGetProxyData(final IProxyService proxyService, URI uri) {
if (uri.getHost() == null || uri.getScheme() == null) {
return null;
}
final IProxyData[] proxyData = proxyService.select(uri);
if (proxyData != null && proxyData.length > 0 && proxyData[0] != null) {
final IProxyData pd = proxyData[0];
Expand Down

0 comments on commit a31b6a3

Please sign in to comment.