cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <>
Subject Re: Spring errors when creating new DAO
Date Thu, 03 Nov 2016 04:09:41 GMT
Hi Nicolas,

Can you share your PR/changes? Maybe the issue was caused by them.

The constructor for StoragePoolMonitor class had changed between 4.8 and 4.9+, I merged PR
#1694 yesterday which has caused a build failure in a newly added unit test. Your build error
looks different than what I'm getting, but this may be related. I'm pushing the build fix,
can you try again rebasing against latest 4.9 branch?

I apologise for the build failure, historically when we forward-merge the PR, on those branch
(not the original base branch for which the PR was sent) we don't run regression test suite
again I'll also explore how we can fix that, at least run mvn builds.


From: Nicol?s V?zquez <>
Sent: 03 November 2016 00:09:02
Subject: Spring errors when creating new DAO

Hi all,

I've been having troubles creating a new DAO on cloud-engine-schema.
Specifically, I'm getting this error:

*java.lang.IllegalArgumentException: Superclass has no null constructors
but no arguments were given*
I defined new bean on spring-engine-schema-core-daos.xml file and injected
it into StorageManagerImpl class.
I annotated new impl class with @Component, and provided a constructor with
no arguments. Did you have a similar issue?

Error creating bean with name 'storageManagerImpl': Injection of autowired
dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field:; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'storagePoolTagsDaoImpl' defined in URL
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class []: Constructor
threw exception; nested exception is java.lang.IllegalArgumentException:
Superclass has no null constructors but no arguments were given

53 Chandos Place, Covent Garden, London  WC2N 4HSUK

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message