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" <sonal.o...@sungard.com> wrote: >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 ConfigurationDao >instance. I am not sure where am I missing to make the entry. > >-- > >Regards, > >___________________________________________________ > >*Sonal Ojha* ● Senior Engineer - Product Developement ● SunGard >Availability Services, India ● Mobile: +91 9922412645● Email: >sonal.o...@sungard.com ● Website: http://www.sungardas.in/ > >8 Times Winner – BC Service Provider of the Year – 2011, 2010, 2009, 2006, >2005, 2002, 2000, 1999; Finalist – 2008, 2007, 2004, 2001 ● Excellence in >Infrastructure Management – 2010 ● Outstanding Excellence in Business >Continuity – 2008 ● Business Continuity Provider of the Year (BCM Service) >– 2013 BCI Global Awards ● Business Continuity Provider of the Year (BCM >Product) – 2013 BCI India Awards > >*[image: AS_yt]* <http://www.youtube.com/user/SunGardAS>*[image: >AS_twitter]* <https://twitter.com/SunGardASIN>*[image: >AS_in]*<http://www.linkedin.com/company/sungardasin>*[image: >AS_gplus]* <https://plus.google.com/102459878242108588663/>*[image: >AS_fb]*<https://www.facebook.com/sungardas.in>*[image: >AS_ss]* <http://www.slideshare.net/SunGardASIN/documents>