java.io.IOException

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.

  • Hi, I am using scm-sync-configuration plugin to have a backup. I am trying to restore the backup on a different system. The plugin restores everything but fails to restore the symlinks. Below are the contents of the builds. drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-06-27_17-41-37 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 lastSuccessfulBuild drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-08-18_23-46-54 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-29_18-47-12 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-29_18-22-33 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_18-02-07 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_06-45-22 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-06-27_21-43-37 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-06-27_17-54-11 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 18 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 16 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 13 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 10 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 1 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 8 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 6 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 5 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-08-18_23-34-14 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-29_18-02-01 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_18-30-59 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_06-11-06 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_05-07-46 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-23_23-09-06 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-02_05-01-48 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-06-27_21-44-16 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 19 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 11 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 lastStableBuild drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 9 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 7 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 4 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 3 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-23_23-09-08 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-06-19_06-08-51 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-06-19_06-06-23 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 17 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 15 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 14 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 12 As a result, jenkins server keeps throwing below warnings: Oct 03, 2014 9:22:27 PM jenkins.model.PeepholePermalink updateCache WARNING: Failed to update hudson.model.FreeStyleProject@282eb209[SAMPLE-rpm] lastSuccessfulBuild permalink for SAMPLE-rpm- #72 java.io.IOException: Unable to delete SAMPLE-rpm/builds/lastSuccessfulBuild at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:112) at jenkins.model.PeepholePermalink.writeSymlink(PeepholePermalink.java:177) at jenkins.model.PeepholePermalink.updateCache(PeepholePermalink.java:142) at jenkins.model.PeepholePermalink.resolve(PeepholePermalink.java:114) at hudson.model.Job.getLastSuccessfulBuild(Job.java:836) at hudson.model.AbstractProject.poll(AbstractProject.java:1477) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:462) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:491) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)
    via by ankita bairathi,
  • Hi, I am using scm-sync-configuration plugin to have a backup. I am trying to restore the backup on a different system. The plugin restores everything but fails to restore the symlinks. Below are the contents of the builds. drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-06-27_17-41-37 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 lastSuccessfulBuild drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-08-18_23-46-54 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-29_18-47-12 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-29_18-22-33 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_18-02-07 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_06-45-22 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-06-27_21-43-37 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-06-27_17-54-11 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 18 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 16 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 13 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 10 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 1 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 8 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 6 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 5 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-08-18_23-34-14 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-29_18-02-01 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_18-30-59 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_06-11-06 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-24_05-07-46 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-23_23-09-06 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-02_05-01-48 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-06-27_21-44-16 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 19 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 11 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 lastStableBuild drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 9 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 7 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 4 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 3 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-07-23_23-09-08 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-06-19_06-08-51 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 2014-06-19_06-06-23 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 17 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 15 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 14 drwxr-x--- 2 jenkins jenkins 4096 Sep 30 20:03 12 As a result, jenkins server keeps throwing below warnings: Oct 03, 2014 9:22:27 PM jenkins.model.PeepholePermalink updateCache WARNING: Failed to update hudson.model.FreeStyleProject@282eb209[SAMPLE-rpm] lastSuccessfulBuild permalink for SAMPLE-rpm- #72 java.io.IOException: Unable to delete SAMPLE-rpm/builds/lastSuccessfulBuild at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:112) at jenkins.model.PeepholePermalink.writeSymlink(PeepholePermalink.java:177) at jenkins.model.PeepholePermalink.updateCache(PeepholePermalink.java:142) at jenkins.model.PeepholePermalink.resolve(PeepholePermalink.java:114) at hudson.model.Job.getLastSuccessfulBuild(Job.java:836) at hudson.model.AbstractProject.poll(AbstractProject.java:1477) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:462) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:491) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)
    via by ankita bairathi,
  • when changing job configurations Hudson throws a lot HTTP 500 errors although going back to the job configuration page all the relevant changes are preserved. see an example below: 15-Jun-2010 10:45:16 org.apache.catalina.core.ApplicationContext log SEVERE: Error while serving http://ci.example.com:8080/hudson/view/aTab/job/testA/configSubmit java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:235) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:116) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:525) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:525) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:525) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:441) at org.kohsuke.stapler.Stapler.service(Stapler.java:123) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:368) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:42) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:64) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: Unable to delete D:\Hudson\.hudson\jobs\testA\config.xml at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:109) at hudson.XmlFile.write(XmlFile.java:166) at hudson.model.AbstractItem.save(AbstractItem.java:220) at hudson.model.Job.save(Job.java:167) at hudson.model.Job.doConfigSubmit(Job.java:1053) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:555) ... 66 more I am not sure if this just an Hudson Core issue or it is linked to the Job configuration History plugin (1.5). I will disable the plugin in order to narrow down what generates the problem. many thanks
    via by Andrea Barbieri,
  • Hi all, We are deploying Hudson job definitions (config.xml files) via http get/post onto our Hudson instances. While executing those deployments we are facing a bug in Hudson which hinders us to update existing jobs reliably. This bug seems to occur only on Hudson server which are running on Tomcat under Windows XP. Additionally this bug rises not every at time but in 80% :-( The test environment: - Windows XP - Hudson: 1.384 (no additional plugins installed) - Tomcat: 6.029 (installed from scratch) Here the step by step procedure to reproduce the problem: ================================================================== First we deploy a new simple job definition to Hudson: ================================================================== Post to URL: http://10.18.111.127:8080/hudson/createItem?name=ldi.validation.failGroupId PostData: ------------------------------- <?xml version='1.0' encoding='UTF-8'?> <project> <actions/> <description></description> <keepDependencies>false</keepDependencies> <properties/> <scm class="hudson.scm.NullSCM"/> <canRoam>true</canRoam> <disabled>false</disabled> <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> <triggers class="vector"/> <concurrentBuild>false</concurrentBuild> <builders/> <publishers/> <buildWrappers/> </project> RESULT: ------------------------------- + Post succeeds + No problem reported in any Tomcat log + For a TCP Dump se the attached success.log ================================================================== Secondary lets update that Job afterwards on Hudson: ================================================================== Post to URL: http://10.18.111.127:8080/hudson/job/ldi.validation.failGroupId/config.xml PostData: ------------------------------- <?xml version='1.0' encoding='UTF-8'?> <project> <actions/> <description></description> <keepDependencies>false</keepDependencies> <properties/> <scm class="hudson.scm.NullSCM"/> <canRoam>true</canRoam> <disabled>false</disabled> <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> <triggers class="vector"/> <concurrentBuild>false</concurrentBuild> <builders/> <publishers/> <buildWrappers/> </project> RESULT (In 80% of all updates): ------------------------------- - the post fails with: HTTP/1.1 500 Internal Server Error (text/html) - The Tomcatlog contains the folloging dump: SCHWERWIEGEND: Error while serving http://10.18.111.127:8080/hudson/job/ldi.validation.failGroupId/config.xml java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:102) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:242) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:478) at org.kohsuke.stapler.Stapler.service(Stapler.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: Unable to delete C:\Documents and Settings\D044133\.hudson\jobs\ldi.validation.failGroupId\config.xml at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:109) at hudson.model.Job.doConfigDotXml(Job.java:1033) ... 43 more 09.11.2010 10:55:50 org.apache.catalina.core.StandardWrapperValve invoke SCHWERWIEGEND: Servlet.service() for servlet Stapler threw exception java.io.IOException: Unable to delete C:\Documents and Settings\D044133\.hudson\jobs\ldi.validation.failGroupId\config.xml at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:109) at hudson.model.Job.doConfigDotXml(Job.java:1033) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:102) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:242) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:478) at org.kohsuke.stapler.Stapler.service(Stapler.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584) at java.lang.Thread.run(Thread.java:619)
    via by matthiasVach,
  • When I start Jenkins, the following message appears in the error log: Oct 10, 2012 3:14:51 PM hudson.model.Descriptor save WARNING: Failed to save C:\Program Files\Jenkins\hudson.plugins.ircbot.IrcPublisher.xml java.io.IOException: Unable to delete C:\Program Files\Jenkins\hudson.plugins.ircbot.IrcPublisher.xml at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:112) at hudson.XmlFile.write(XmlFile.java:178) at hudson.model.Descriptor.save(Descriptor.java:758) at hudson.plugins.ircbot.IrcPublisher$DescriptorImpl.readResolve(IrcPublisher.java:522) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(SerializationMethodInvoker.java:46) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926) at hudson.util.XStream2.unmarshal(XStream2.java:103) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at hudson.XmlFile.unmarshal(XmlFile.java:160) at hudson.model.Descriptor.load(Descriptor.java:779) at hudson.plugins.ircbot.IrcPublisher$DescriptorImpl.<init>(IrcPublisher.java:204) at hudson.plugins.ircbot.IrcPublisher.<clinit>(IrcPublisher.java:55) at sun.reflect.GeneratedSerializationConstructorAccessor27.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.newInstance(Sun14ReflectionProvider.java:76) at hudson.util.RobustReflectionConverter.instantiateNewInstance(RobustReflectionConverter.java:375) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:220) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:193) at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:263) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:332) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:274) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:221) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926) at hudson.util.XStream2.unmarshal(XStream2.java:103) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:864) at hudson.XmlFile.read(XmlFile.java:137) at hudson.model.Items.load(Items.java:220) at jenkins.model.Jenkins$17.run(Jenkins.java:2507) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:883) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I'm running Jenkins ver. 1.487-SNAPSHOT (private-10/10/2012 17:11 GMT-jenkins).
    via by Matt Kraai,
    • java.io.IOException: Unable to delete /var/lib/jenkins/jobs/tests_functional/builds/lastStableBuild at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:112) at jenkins.model.PeepholePermalink.writeSymlink(PeepholePermalink.java:200) at jenkins.model.PeepholePermalink.updateCache(PeepholePermalink.java:150) at jenkins.model.PeepholePermalink$RunListenerImpl.onCompleted(PeepholePermalink.java:237) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199) at hudson.model.Run.execute(Run.java:1783) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234)
    No Bugmate found.