[rules-users] sliding window combination ?

Andre morpheusandre at web.de
Fri Jul 8 05:54:15 EDT 2011


thx but it crashes when ich start the engine withthis interface

Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'kbase1': Initialization of bean failed; nested
exception is org.springframework.beans.ConversionNotSupportedException:
Failed to convert property value of type 'java.util.LinkedHashMap' to
required type 'java.util.Map' for property 'accumulateFunctions'; nested
exception is java.lang.IllegalStateException: Cannot convert value of type
[de.tarent.abiege.drools.util.CountRequestsbySubjectID] to required type
[org.drools.base.accumulators.AccumulateFunction] for property
'accumulateFunctions[countMatchingSubjectIdsInRequest]': no matching editors
or conversion strategy found
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
        at
org.apache.camel.spring.Main.createDefaultApplicationContext(Main.java:185)
        at org.apache.camel.spring.Main.doStart(Main.java:139)
        at
org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
        at
org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
        at org.apache.camel.impl.MainSupport.run(MainSupport.java:136)
        at org.apache.camel.impl.MainSupport.run(MainSupport.java:322)
        at org.apache.camel.spring.Main.main(Main.java:72)
        ... 6 more
Caused by: org.springframework.beans.ConversionNotSupportedException: Failed
to convert property value of type 'java.util.LinkedHashMap' to required type
'java.util.Map' for property 'accumulateFunctions'; nested exception is
java.lang.IllegalStateException: Cannot convert value of type
[de.tarent.abiege.drools.util.CountRequestsbySubjectID] to required type
[org.drools.base.accumulators.AccumulateFunction] for property
'accumulateFunctions[countMatchingSubjectIdsInRequest]': no matching editors
or conversion strategy found
        at
org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:462)
        at
org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:499)
        at
org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:493)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1371)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1330)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        ... 23 more
Caused by: java.lang.IllegalStateException: Cannot convert value of type
[de.tarent.abiege.drools.util.CountRequestsbySubjectID] to required type
[org.drools.base.accumulators.AccumulateFunction] for property
'accumulateFunctions[countMatchingSubjectIdsInRequest]': no matching editors
or conversion strategy found
        at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)
        at
org.springframework.beans.TypeConverterDelegate.convertToTypedMap(TypeConverterDelegate.java:610)
        at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:178)
        at
org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:447

--
View this message in context: http://drools.46999.n3.nabble.com/sliding-window-combination-tp3132340p3151375.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list