Issue 17: flowservice: EmailNotificationSender.loadUnsentNotifications exception
Status:  Fixed
Owner:
Closed:  Jan 2010
Project Member Reported by kumarami...@gmail.com, Jan 22, 2010
When I start the flow service this is the exception I get. It is a clean install.


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 
'notificationSender': Invocation of init method failed; nested exception is 
java.lang.NullPointerException
	at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProc
essBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:147)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPost
ProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(A
bstractAutowireCapableBeanFactory.java:1331)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(
AbstractAutowireCapableBeanFactory.java:473)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(Abstract
AutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(Abs
tractAutowireCapableBeanFactory.java:380)
	at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactor
y.java:264)
	at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSi
ngletonBeanRegistry.java:222)
	at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.
java:261)
	at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.ja
va:185)
	at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.ja
va:164)
	at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(
DefaultListableBeanFactory.java:429)
	at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(
AbstractApplicationContext.java:728)
	at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationCo
ntext.java:380)
	at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlAppli
cationContext.java:139)
	at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlAppli
cationContext.java:83)
	at org.imirsel.nema.flowservice.FlowServiceApp.main(FlowServiceApp.java:33)
Caused by: java.lang.NullPointerException
	at 
org.imirsel.nema.flowservice.EmailNotificationSender.loadUnsentNotifications(EmailNotificationSe
nder.java:74)
	at org.imirsel.nema.flowservice.EmailNotificationSender.init(EmailNotificationSender.java:69)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

Jan 22, 2010
Project Member #1 kumarami...@gmail.com
minor issue the daoFactory property was not hooked up in the bean
Status: Fixed