Fwd: Unable to inject ConfigurationDao in cloud-server module

2014-03-19 Thread Sonal Ojha
yes, I tried doing that as well and then it gives build failure showing unit test case failure for org.apache.cloudstack.affinity.AffinityApiUnitTest Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.apache.cloudstack.framework.config.dao.Configurati

Re: Unable to inject ConfigurationDao in cloud-server module

2014-03-19 Thread Sonal Ojha
yes, I tried doing that as well and then it gives build failure showing unit test case failure for org.apache.cloudstack.affinity.AffinityApiUnitTest Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.apache.cloudstack.framework.config.dao.Configurati

Re: Unable to inject ConfigurationDao in cloud-server module

2014-03-19 Thread Alena Prokharchyk
Sonal, did you initialize it the way other daos are initialized? In init() method marked with @PostConstruct On 3/19/14, 8:22 AM, "Sonal Ojha" wrote: >Hello, > >I am trying to inject ConfigurationDao into the ActionEventUtils.java for >some code changes related to CLOUDSTACK-3272. While building

Unable to inject ConfigurationDao in cloud-server module

2014-03-19 Thread Sonal Ojha
Hello, I am trying to inject ConfigurationDao into the ActionEventUtils.java for some code changes related to CLOUDSTACK-3272. While building(with unit test case) it doesnt give any error and builds successfully, but while debugging it gives a NullPointerException when trying to use the Configurat