hudson.plugins.build_publisher.ServerFailureException: java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/config.xml (No such file or directory)

Jenkins JIRA | Oliver Gondža | 1 year ago
  1. 0

    In case of {{IOException}} it should be rechecked if job still exists and item removed from queue it if does not. The plugin does not seem to do that proactively when run/project is deleted. {noformat} Waiting for a time out before a retry, after encountering an error while sending JOB_NAME #34 (5 min 35 sec before retry): hudson.plugins.build_publisher.ServerFailureException: java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/config.xml (No such file or directory) at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:193) at hudson.plugins.build_publisher.HTTPBuildTransmitter.executeMethod(HTTPBuildTransmitter.java:158) at hudson.plugins.build_publisher.PublisherThread.executeMethod(PublisherThread.java:306) at hudson.plugins.build_publisher.PublisherThread.submitConfig(PublisherThread.java:273) at hudson.plugins.build_publisher.PublisherThread.createOrSynchronize(PublisherThread.java:266) at hudson.plugins.build_publisher.PublisherThread.synchronizeProjectSettings(PublisherThread.java:220) at hudson.plugins.build_publisher.PublisherThread.run(PublisherThread.java:113) Caused by: java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/config.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:120) at org.apache.commons.httpclient.methods.FileRequestEntity.writeRequest(FileRequestEntity.java:73) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:176) ... 6 more {noformat}

    Jenkins JIRA | 1 year ago | Oliver Gondža
    hudson.plugins.build_publisher.ServerFailureException: java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/config.xml (No such file or directory)
  2. 0

    In case of {{IOException}} it should be rechecked if job still exists and item removed from queue it if does not. The plugin does not seem to do that proactively when run/project is deleted. {noformat} Waiting for a time out before a retry, after encountering an error while sending JOB_NAME #34 (5 min 35 sec before retry): hudson.plugins.build_publisher.ServerFailureException: java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/config.xml (No such file or directory) at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:193) at hudson.plugins.build_publisher.HTTPBuildTransmitter.executeMethod(HTTPBuildTransmitter.java:158) at hudson.plugins.build_publisher.PublisherThread.executeMethod(PublisherThread.java:306) at hudson.plugins.build_publisher.PublisherThread.submitConfig(PublisherThread.java:273) at hudson.plugins.build_publisher.PublisherThread.createOrSynchronize(PublisherThread.java:266) at hudson.plugins.build_publisher.PublisherThread.synchronizeProjectSettings(PublisherThread.java:220) at hudson.plugins.build_publisher.PublisherThread.run(PublisherThread.java:113) Caused by: java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/config.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:120) at org.apache.commons.httpclient.methods.FileRequestEntity.writeRequest(FileRequestEntity.java:73) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:176) ... 6 more {noformat}

    Jenkins JIRA | 1 year ago | Oliver Gondža
    hudson.plugins.build_publisher.ServerFailureException: java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/config.xml (No such file or directory)
  3. 0

    ArcGISCompactCacheTest fails in path with spaces

    GitHub | 3 years ago | bencaradocdavies
    java.io.FileNotFoundException: /home/car605/geoserver/src%20with%20spaces/geowebcache/geowebcache/arcgiscache/target/test-classes/compactcache/_alllayers/L05/R0000C0000.bundlx (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RFE: sbt should not try to parse every file that ends with .sbt

    GitHub | 4 years ago | harrah
    java.io.FileNotFoundException: /<snip>/.#props.sbt (No such file or directory)
  6. 0

    New index fails with java.lang.NullPointerException

    GitHub | 4 years ago | fluential
    java.io.FileNotFoundException: /data/zookeeper/data/version-2/exhibitor-1361546755727 (Is a directory)

  1. gehel 2 times, last 1 week ago
  2. Kialandei 100 times, last 1 week ago
  3. Reich 1 times, last 2 weeks ago
  4. bluebunnty 1 times, last 2 weeks ago
  5. Aria Pahlavan 1 times, last 2 weeks ago
43 more registered users
52 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.io.FileNotFoundException

    /jenkins/jobs/JOB_NAME/config.xml (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:120)
    2 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.methods.FileRequestEntity.writeRequest(FileRequestEntity.java:73)
    2. org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
    3. org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
    4. org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    6. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    8. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    8 frames
  4. hudson.plugins.build_publisher
    PublisherThread.run
    1. hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:176)
    2. hudson.plugins.build_publisher.HTTPBuildTransmitter.executeMethod(HTTPBuildTransmitter.java:158)
    3. hudson.plugins.build_publisher.PublisherThread.executeMethod(PublisherThread.java:306)
    4. hudson.plugins.build_publisher.PublisherThread.submitConfig(PublisherThread.java:273)
    5. hudson.plugins.build_publisher.PublisherThread.createOrSynchronize(PublisherThread.java:266)
    6. hudson.plugins.build_publisher.PublisherThread.synchronizeProjectSettings(PublisherThread.java:220)
    7. hudson.plugins.build_publisher.PublisherThread.run(PublisherThread.java:113)
    7 frames