We experienced the same problem after an automatic update this morning.

If it's any help figuring out why this was occurring, here's our experience:

One of our projects was failing to load after the auto-update this morning, with the same exception as above except with the index/size of 3. That's because we have this project only keeping the last 3 builds.

Now, we looked in the builds directory of this project and it contained the following directory listing:

drwxr-xr-x. 2 jenkins jenkins 4096 Nov 20  2009 2009-11-20_11-28-12
drwxr-xr-x  2 jenkins jenkins 4096 Oct  9 15:53 2012-10-09_15-52-05
drwxr-xr-x  2 jenkins jenkins 4096 Oct  9 16:17 2012-10-09_16-17-07
drwxr-xr-x  2 jenkins jenkins 4096 Oct  9 16:25 2012-10-09_16-24-49
lrwxrwxrwx. 1 jenkins jenkins   19 Jan 15  2010 579 -> 2009-11-20_11-28-12
lrwxrwxrwx  1 jenkins jenkins   19 Oct  9 15:52 7683 -> 2012-10-09_15-52-05
lrwxrwxrwx  1 jenkins jenkins   19 Oct  9 16:17 7684 -> 2012-10-09_16-17-07
lrwxrwxrwx  1 jenkins jenkins   19 Oct  9 16:24 7685 -> 2012-10-09_16-24-49

Build 579 had not been appearing in the list of builds for this project, and as you can see it is quite old (well before we changed our server from using Hudson to Jenkins).

We deleted the 579 link and it's associated directory and restarted Jenkins. The project then loaded fine without the error.

Now what's weird is that we have a similar project which is also keeping 3 builds and again the build directory contains 4 builds, one of which is very old:

lrwxrwxrwx. 1 jenkins jenkins   19 Mar 23  2010 1265 -> 2010-03-23_16-52-53
drwxr-xr-x. 2 jenkins jenkins 4096 Mar 23  2010 2010-03-23_16-52-53
drwxr-xr-x  2 jenkins jenkins 4096 Oct 10 10:38 2012-10-10_10-36-42
drwxr-xr-x  2 jenkins jenkins 4096 Oct 10 10:42 2012-10-10_10-41-42
drwxr-xr-x  2 jenkins jenkins 4096 Oct 10 12:12 2012-10-10_12-10-57
lrwxrwxrwx  1 jenkins jenkins   19 Oct 10 10:36 6170 -> 2012-10-10_10-36-42
lrwxrwxrwx  1 jenkins jenkins   19 Oct 10 10:41 6171 -> 2012-10-10_10-41-42
lrwxrwxrwx  1 jenkins jenkins   19 Oct 10 12:10 6172 -> 2012-10-10_12-10-57

Build 1265 does not show up in the list of builds for this project, but this project loads fine when Jenkins starts. Don't know what the difference is.

If anyone needs to see the config files I can post them on request.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to