Код: Выделить всё
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"Почему это может произойти?
Подробнее здесь: https://stackoverflow.com/questions/163 ... er-is-null
Мобильная версия