Status: Closed (View Workflow)
When Hudson is restarted after configuring an EC2 cloud, the attached error shows up in Hudson's log, and the cloud configuration is no longer present. Also see http://hudson.361315.n4.nabble.com/Initialization-error-with-EC2-plugin-td2173614.html. I got this error when running via hpi:run on trunk (ec2 plugin 1.9-SNAPSHOT) but we're also seeing it with the released 1.8 on ci.hudson-labs.org.
- is duplicated by
JENKINS-5738 Upgrading to Hudson 1.347 and EC2 Plugin 1.6 loses my EC2 cloud configuration
Code changed in hudson
User: : abayer
[FIXED JENKINS-6782] Moved xstream alias mapping to new PluginImpl, so that it's in place before we try to load the data from the config file
Exception shows attempt to load an abstract class, so XSTREAM.alias() call at bottom of EC2Cloud.java is not taking effect. Probably this static block is not called before xstream starts loading.. some other plugins (locale, sauce_ondemand) add xstream aliases in Plugin class to ensure it is done before data loading.