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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Oliver Gondža,
  • 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}
    via by Oliver Gondža,
  • Pipe breaks at ner
    via GitHub by ghost
    ,
  • Cert file not found error
    via GitHub by forkner
    ,
    • 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.<init>(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

    Users with the same issue

    krisztian.puska
    krisztian.puska54 times, last one,
    jstrayer
    jstrayer1 times, last one,
    jf-ast
    jf-ast2 times, last one,
    carloscharx
    carloscharx2 times, last one,
    zsamboki
    zsamboki16 times, last one,
    179 more bugmates