Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Configuration restore failed
Configuration restore failed [message #948636] Thu, 18 October 2012 08:01 Go to next message
nemesis Missing name is currently offline nemesis Missing nameFriend
Messages: 6
Registered: March 2010
Junior Member
Dear Hudson users,

I'm using apache Tomcat 5.5.28 and Hudson 2.1.0 under Linux

For my mistake, I removed .hudson directory so I restored it using a .hudson backup folder.

The problem is that Hudson doesn't load any project, giving errors like that:


SEVERE: Failed Loading job PROJECT_1
java.lang.NullPointerException
at org.hudsonci.utils.tasks.MetaProject.getBuilders(MetaProject.java:234)

Or:

SEVERE: Failed Loading job PROJECT_2
hudson.util.IOException2: Unable to read /plx/userprod/proeni02/.hudson/jobs/PROJECT_2/config.xml

Another error:

"You have data stored in an older format and/or unreadable data. "

Why older format? It Is the same format I used before backup!

So my Hudson project list is empy! For some reason, Hudson doesn't load my backup folder in a good way. I tried to undeploy and deploy again without any results.

Do you have any idea how to restore my project?

Thanks in forward.
Re: Configuration restore failed [message #948640 is a reply to message #948636] Thu, 18 October 2012 08:07 Go to previous messageGo to next message
Steve Christou is currently offline Steve ChristouFriend
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

It sounds like you're missing a few plugins. The reason you are getting the error from PROJECT_2 and PROJECT_1 sounds like there's a plugin that is either missing or outdated.

--- Edit ---
Can you reveal more of the stack trace? You can email it to me if it's too long, or for security reasons.


/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */

[Updated on: Thu, 18 October 2012 08:09]

Report message to a moderator

Re: Configuration restore failed [message #948651 is a reply to message #948640] Thu, 18 October 2012 08:20 Go to previous messageGo to next message
nemesis Missing name is currently offline nemesis Missing nameFriend
Messages: 6
Registered: March 2010
Junior Member
Dear Steve,

I sent you on Gmail email the full stack_trace.

Thanks!
Re: Configuration restore failed [message #948674 is a reply to message #948651] Thu, 18 October 2012 08:54 Go to previous message
Steve Christou is currently offline Steve ChristouFriend
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

The issue is your config.xml files contain elements from cascading projects (a feature that was implemented in hudson 2.2.0 and up). To fix the error upgrade to either 2.2.0 or higher.

/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
Previous Topic:Attempting to set up a Build Once Deploy Many job chain using several Hudson plugins, but ...
Next Topic:Manage Users label missing
Goto Forum:
  


Current Time: Tue Apr 16 16:51:44 GMT 2024

Powered by FUDForum. Page generated in 0.15414 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top