java.net.UnknownHostException: foo

java.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Bug ID: JDK-4523989 Behavior of getResponseCode() is different between 131_01 and

    java.com | 8 months ago
    java.net.UnknownHostException: foo
  2. 0

    Jersey test response fails to fetch Jersey API client

    GitHub | 4 years ago | yegor256
    com.rexsl.test.JerseyTestResponse: Failed to fetch: com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: absent-1.rexsl.com
  3. 0

    Accessing own private ip from public ip

    Stack Overflow | 2 years ago | volbollo
    javax.ws.rs.ProcessingException: java.net.UnknownHostException: 109.134.124.94%0A
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error from Eclipse ADT Plugin while "Saving workspace"

    Google Groups | 4 years ago | Adrian Tejn Kern
    java.net.UnknownHostException: tools.google.com
  6. 0

    Jersy Client gives UnkownHostException

    Stack Overflow | 2 years ago | Simon Karlsson
    javax.ws.rs.ProcessingException: java.net.UnknownHostException: t%C3%A5g.info

  1. aldrinleal 2 times, last 11 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.UnknownHostException

    foo

    at java.net.InetAddress.getAllByName0()
  2. Java RT
    HttpURLConnection.getResponseCode
    1. java.net.InetAddress.getAllByName0(InetAddress.java:571)
    2. java.net.InetAddress.getAllByName0(InetAddress.java:540)
    3. java.net.InetAddress.getByName(InetAddress.java:449)
    4. java.net.Socket.<init>(Socket.java:100)
    5. sun.net.NetworkClient.doConnect(NetworkClient.java:50)
    6. sun.net.www.http.HttpClient.openServer(HttpClient.java:331)
    7. sun.net.www.http.HttpClient.openServer(HttpClient.java:517)
    8. sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
    9. sun.net.www.http.HttpClient.<init>(HttpClient.java:277)
    10. sun.net.www.http.HttpClient.New(HttpClient.java:289)
    11. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:408)
    12. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:501)
    13. java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:230)
    13 frames