次のコードがあります
URL targetUrl = ...
HttpClient client = new HttpClient(connectionManager);
GetMethod getMethod = new GetMethod();
getMethod.setPath(targetUrl.getPath());
HostConfiguration hostConfiguration = getConfiguration(targetUrl) //unknown lib code
client.executeMethod(hostConfiguration, getMethod);
場合によっては(一部のホストで)取得します
java.lang.IllegalArgumentException: host parameter is null"
client.executeMethod 呼び出し時。
なぜこれが起こるのでしょうか?