java.net.UnknownHostException: ${FitNesse_hostname}

Jenkins JIRA | peter_schuetze | 5 years 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

    I added port and server of a remote FitNesse instance as variables (we have quite a few FitNesse installations). These don't get resolved. Following the stack trace 13:11:49 hudson.plugins.fitnesse.FitnesseBuilder: {fitnesseTargetPage=FrontPage.SmokeTests, fitnesseTargetIsSuite=true, fitnesseHost=${FitNesse_hostname}, fitnesseHttpTimeout=7200000, fitnessePortRemote=, fitnesseStart=False, fitnessePathToXmlResultsOut=fitnesse-results.xml} 13:11:49 Connnecting to http://${FitNesse_hostname}/FrontPage.SmokeTests?suite&format=xml 13:11:49 java.net.UnknownHostException: ${FitNesse_hostname} 13:11:49 at java.net.PlainSocketImpl.connect(Unknown Source) 13:11:49 at java.net.SocksSocketImpl.connect(Unknown Source) 13:11:49 at java.net.Socket.connect(Unknown Source) 13:11:49 at java.net.Socket.connect(Unknown Source) 13:11:49 at sun.net.NetworkClient.doConnect(Unknown Source) 13:11:49 at sun.net.www.http.HttpClient.openServer(Unknown Source) 13:11:49 at sun.net.www.http.HttpClient.openServer(Unknown Source) 13:11:49 at sun.net.www.http.HttpClient.<init>(Unknown Source) 13:11:49 at sun.net.www.http.HttpClient.New(Unknown Source) 13:11:49 at sun.net.www.http.HttpClient.New(Unknown Source) 13:11:49 at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) 13:11:49 at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) 13:11:49 at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) 13:11:49 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 13:11:49 at java.net.HttpURLConnection.getResponseCode(Unknown Source) 13:11:49 at hudson.plugins.fitnesse.FitnesseExecutor.getHttpBytes(FitnesseExecutor.java:218) 13:11:49 at hudson.plugins.fitnesse.FitnesseExecutor$1.run(FitnesseExecutor.java:197) 13:11:49 at java.lang.Thread.run(Unknown Source) 13:11:49 Xml results saved as windows-1252 to D:\Hudson\jobs\OCNS_Test_FitNesse\workspace\fitnesse-results.xml

    Jenkins JIRA | 5 years ago | peter_schuetze
    java.net.UnknownHostException: ${FitNesse_hostname}
  2. 0

    I added port and server of a remote FitNesse instance as variables (we have quite a few FitNesse installations). These don't get resolved. Following the stack trace 13:11:49 hudson.plugins.fitnesse.FitnesseBuilder: {fitnesseTargetPage=FrontPage.SmokeTests, fitnesseTargetIsSuite=true, fitnesseHost=${FitNesse_hostname}, fitnesseHttpTimeout=7200000, fitnessePortRemote=, fitnesseStart=False, fitnessePathToXmlResultsOut=fitnesse-results.xml} 13:11:49 Connnecting to http://${FitNesse_hostname}/FrontPage.SmokeTests?suite&format=xml 13:11:49 java.net.UnknownHostException: ${FitNesse_hostname} 13:11:49 at java.net.PlainSocketImpl.connect(Unknown Source) 13:11:49 at java.net.SocksSocketImpl.connect(Unknown Source) 13:11:49 at java.net.Socket.connect(Unknown Source) 13:11:49 at java.net.Socket.connect(Unknown Source) 13:11:49 at sun.net.NetworkClient.doConnect(Unknown Source) 13:11:49 at sun.net.www.http.HttpClient.openServer(Unknown Source) 13:11:49 at sun.net.www.http.HttpClient.openServer(Unknown Source) 13:11:49 at sun.net.www.http.HttpClient.<init>(Unknown Source) 13:11:49 at sun.net.www.http.HttpClient.New(Unknown Source) 13:11:49 at sun.net.www.http.HttpClient.New(Unknown Source) 13:11:49 at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) 13:11:49 at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) 13:11:49 at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) 13:11:49 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 13:11:49 at java.net.HttpURLConnection.getResponseCode(Unknown Source) 13:11:49 at hudson.plugins.fitnesse.FitnesseExecutor.getHttpBytes(FitnesseExecutor.java:218) 13:11:49 at hudson.plugins.fitnesse.FitnesseExecutor$1.run(FitnesseExecutor.java:197) 13:11:49 at java.lang.Thread.run(Unknown Source) 13:11:49 Xml results saved as windows-1252 to D:\Hudson\jobs\OCNS_Test_FitNesse\workspace\fitnesse-results.xml

    Jenkins JIRA | 5 years ago | peter_schuetze
    java.net.UnknownHostException: ${FitNesse_hostname}
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    Error from Eclipse ADT Plugin while "Saving workspace"

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

  1. Andreas Häber 1 times, last 1 month ago
  2. aldrinleal 2 times, last 1 year 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

    ${FitNesse_hostname}

    at java.net.PlainSocketImpl.connect()
  2. Java RT
    HttpURLConnection.getResponseCode
    1. java.net.PlainSocketImpl.connect(Unknown Source)
    2. java.net.SocksSocketImpl.connect(Unknown Source)
    3. java.net.Socket.connect(Unknown Source)
    4. java.net.Socket.connect(Unknown Source)
    5. sun.net.NetworkClient.doConnect(Unknown Source)
    6. sun.net.www.http.HttpClient.openServer(Unknown Source)
    7. sun.net.www.http.HttpClient.openServer(Unknown Source)
    8. sun.net.www.http.HttpClient.<init>(Unknown Source)
    9. sun.net.www.http.HttpClient.New(Unknown Source)
    10. sun.net.www.http.HttpClient.New(Unknown Source)
    11. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    12. sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    13. sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    14. sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    15. java.net.HttpURLConnection.getResponseCode(Unknown Source)
    15 frames
  3. hudson.plugins.fitnesse
    FitnesseExecutor$1.run
    1. hudson.plugins.fitnesse.FitnesseExecutor.getHttpBytes(FitnesseExecutor.java:218)
    2. hudson.plugins.fitnesse.FitnesseExecutor$1.run(FitnesseExecutor.java:197)
    2 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame