:47:27.237 [main] ERROR o.s.b.c.l.s.CommandLineJobRunner - Job Terminated in error: Error creating bean with name 'kbase': Invocation of init method failed; nested exception is java.lang.RuntimeException: Unable to create Field Extractor for 'productExperience[$name]' : [Rule name='A2 Product Class Experience'] org.drools.RuntimeDroolsException: Field/method '$name' not found for class 'Client' Unable to build expression for 'accumulate' : null : [Rule name='A2 Product Class Experience'] java.lang.NullPointerException org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kbase': Invocation of init method failed; nested exception is java.lang.RuntimeException: Unable to create Field Extractor for 'productExperience[$name]' : [Rule name='A2 Product Class Experience'] org.drools.RuntimeDroolsException: Field/method '$name' not found for class 'com.msdw.pwmap.suitability.model.Client' Unable to build expression for 'accumulate' : null : [Rule name='A2 Product Class Experience'] java.lang.NullPointerException at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1401) [org.springframework.beans.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512) [org.springframework.beans.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450) [org.springframework.beans.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290) [org.springframework.beans.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [org.springframework.beans.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287) [org.springframework.beans.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189) [org.springframework.beans.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:540) [org.springframework.beans.jar:3.0.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842) [org.springframework.context.jar:3.0.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416) [org.springframework.context.jar:3.0.0.RELEASE] at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139) [org.springframework.context.jar:3.0.0.RELEASE] at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:83) [org.springframework.context.jar:3.0.0.RELEASE] at org.springframework.batch.core.launch.support.CommandLineJobRunner.start(CommandLineJobRunner.java:272) [spring-batch-core.jar:na] at org.springframework.batch.core.launch.support.CommandLineJobRunner.main(CommandLineJobRunner.java:541) [spring-batch-core.jar:na] Caused by: java.lang.RuntimeException: Unable to create Field Extractor for 'productExperience[$name]' : [Rule name='A2 Product Class Experience'] org.drools.RuntimeDroolsException: Field/method '$name' not found for class 'Client' Unable to build expression for 'accumulate' : null : [Rule name='A2 Product Class Experience'] java.lang.NullPointerException at org.drools.container.spring.beans.KnowledgeBaseBeanFactory.afterPropertiesSet(KnowledgeBaseBeanFactory.java:114) [drools-spring-5.1.1.jar:5.1.1] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460) [org.springframework.beans.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398) [org.springframework.beans.jar:3.0.0.RELEASE] ... 13 common frames omitted