java.lang.IllegalArgumentException: Host name may not be blank

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Apache's JIRA Issue Tracker by Sebastiano Vigna, 1 year ago
Host name may not be blank
via Apache's JIRA Issue Tracker by Sebastiano Vigna, 1 year ago
Host name may not be blank
via Stack Overflow by Lokesh
, 11 months ago
java.lang.IllegalArgumentException: Host name may not be blank
at org.apache.http.util.Args.notBlank(Args.java:68)
at org.apache.http.HttpHost.(HttpHost.java:81)
at org.apache.http.client.utils.URIUtils.extractHost(URIUtils.java:370)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:132)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:214)
at it.unimi.di.law.bubing.util.FetchData.fetch(FetchData.java:322)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.