wolfeidau / rake-bamboo-plugin

Plugin for bamboo which enables building of ruby projects using rake
Other
34 stars 16 forks source link

No unique bean of type [au.id.wolfe.bamboo.ruby.locator.RubyLocatorServiceFactory] #21

Closed brycejohnson closed 12 years ago

brycejohnson commented 12 years ago

We're seeing this on our new development version of Bamboo, 4.1 against the Ruby Rake plugin 1.7

Impact: remote agents will not communicate properly with the server

2012-05-30 02:03:14,383 INFO [Thread-1] [DefaultAgentCapabilityManagerImpl] Adding default capability key:test.server.mysql.host value: localhost 2012-05-30 02:03:14,507 FATAL [Thread-1] [AgentBootstrap] Exiting due to fatal exception. 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 com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:41) at java.lang.Thread.run(Thread.java:662) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentRegistrationBean' defined in class path resource [applicationContextRemoteAgentStartup.xml]: Invocation of init method failed; nested exception is com.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'au.id.wolfe.bamboo.ruby.RubyCapabilityDefaultsHelper': Unsatisfied dependency expressed through constructor argument with index 0 of type [au.id.wolfe.bamboo.ruby.locator.RubyLocatorServiceFactory]: : No unique bean of type [au.id.wolfe.bamboo.ruby.locator.RubyLocatorServiceFactory] is defined: Unsatisfied dependency of type [class au.id.wolfe.bamboo.ruby.locator.RubyLocatorServiceFactory]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [au.id.wolfe.bamboo.ruby.locator.RubyLocatorServiceFactory] is defined: Unsatisfied dependency of type [class au.id.wolfe.bamboo.ruby.locator.RubyLocatorServiceFactory]: expected at least 1 matching bean

wolfeidau commented 12 years ago

Just on the way back to Australia will test and do a point release once I get home.

Thanks for the info.

wolfeidau commented 12 years ago

I have just uploaded a new release for testing

http://repo.wolfe.id.au/au/id/wolfe/bamboo/rake-bamboo-plugin/1.8/

Download the rake-bamboo-plugin-1.8.jar from their if you want to test it out.