| Configuration restore failed [message #948636] |
Thu, 18 October 2012 04:01  |
nemesis Missing name 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 04:07   |
|
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 04:09] Report message to a moderator
|
|
|
|
| Re: Configuration restore failed [message #948674 is a reply to message #948651] |
Thu, 18 October 2012 04:54  |
|
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
*/
|
|
|
Powered by
FUDForum. Page generated in 0.01532 seconds