curtney
Apr 6th, 2006, 09:37 PM
Greetings everyone.
The following SWF listener configuration is throwing IncompatibleClassChangerError exception. I tried compiling everything again, making sure I am using the same jar dependencies, but I still get the exception. :confused:Any ideas?
<bean id="repositoryFactory" class="org.springframework.webflow.execution.repository.c ontinuation.ContinuationFlowExecutionRepositoryFac tory">
<constructor-arg ref="flowRegistry"/>
<property name="listenerLoader">
<bean class="org.springframework.webflow.executor.ConditionalFl owExecutionListenerLoader">
<property name="listener" ref="openSessionInFlowListener"/>
</bean>
</property>
</bean>
Stacktrace:
org.springframework.beans.PropertyAccessExceptions Exception: PropertyAccessExceptionsException
(1 errors); nested PropertyAccessExceptions are: [org.springframework.beans.MethodInvocationExceptio n:
Property 'listener' threw exception; nested exception is java.lang.IncompatibleClassChangeError:
null]
at org.springframework.beans.AbstractPropertyAccessor .setPropertyValues(AbstractPropertyAccessor.java:8 5)
at org.springframework.beans.AbstractPropertyAccessor .setPropertyValues(AbstractPropertyAccessor.java:5 7)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:771)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:571)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:414)
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveInnerBeanDefinition(Bea nDefinitionValueResolver.java:151)
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:97)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:760)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:571)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:414)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:241)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:152)
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:186)
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:106)
at org.springframework.beans.factory.support.Construc torResolver.resolveConstructorArguments(Constructo rResolver.java:332)
at org.springframework.beans.factory.support.Construc torResolver.autowireConstructor(ConstructorResolve r.java:97)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.autowireConstructor(Abs tractAutowireCapableBeanFactory.java:538)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:377)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:241)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:152)
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:186)
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:106)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:760)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:571)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:414)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:241)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:152)
at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:253)
at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:331)
at org.springframework.web.context.support.AbstractRe freshableWebApplicationContext.refresh(AbstractRef reshableWebApplicationContext.java:155)
at org.springframework.web.context.ContextLoader.crea teWebApplicationContext(ContextLoader.java:246)
at org.springframework.web.context.ContextLoader.init WebApplicationContext(ContextLoader.java:184)
at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 49)
at com.caucho.server.webapp.Application.start(Applica tion.java:1592)
at com.caucho.server.deploy.DeployController.startImp l(DeployController.java:587)
at com.caucho.server.deploy.DeployController.restartI mpl(DeployController.java:550)
at com.caucho.server.deploy.StartAutoRedeployAutoStra tegy.request(StartAutoRedeployAutoStrategy.java:12 5)
at com.caucho.server.deploy.DeployController.request( DeployController.java:520)
at com.caucho.server.webapp.ApplicationContainer.getA pplication(ApplicationContainer.java:864)
at com.caucho.server.webapp.ApplicationContainer.buil dInvocation(ApplicationContainer.java:704)
at com.caucho.server.host.Host.buildInvocation(Host.j ava:421)
at com.caucho.server.host.HostContainer.buildInvocati on(HostContainer.java:316)
at com.caucho.server.resin.ServletServer.buildInvocat ion(ServletServer.java:600)
at com.caucho.server.dispatch.DispatchServer.buildInv ocation(DispatchServer.java:198)
at com.caucho.server.http.HttpRequest.handleRequest(H ttpRequest.java:263)
at com.caucho.server.port.TcpConnection.run(TcpConnec tion.java:389)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.jav a:492)
at com.caucho.util.ThreadPool.run(ThreadPool.java:425 )
at java.lang.Thread.run(Thread.java:595)
The following SWF listener configuration is throwing IncompatibleClassChangerError exception. I tried compiling everything again, making sure I am using the same jar dependencies, but I still get the exception. :confused:Any ideas?
<bean id="repositoryFactory" class="org.springframework.webflow.execution.repository.c ontinuation.ContinuationFlowExecutionRepositoryFac tory">
<constructor-arg ref="flowRegistry"/>
<property name="listenerLoader">
<bean class="org.springframework.webflow.executor.ConditionalFl owExecutionListenerLoader">
<property name="listener" ref="openSessionInFlowListener"/>
</bean>
</property>
</bean>
Stacktrace:
org.springframework.beans.PropertyAccessExceptions Exception: PropertyAccessExceptionsException
(1 errors); nested PropertyAccessExceptions are: [org.springframework.beans.MethodInvocationExceptio n:
Property 'listener' threw exception; nested exception is java.lang.IncompatibleClassChangeError:
null]
at org.springframework.beans.AbstractPropertyAccessor .setPropertyValues(AbstractPropertyAccessor.java:8 5)
at org.springframework.beans.AbstractPropertyAccessor .setPropertyValues(AbstractPropertyAccessor.java:5 7)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:771)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:571)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:414)
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveInnerBeanDefinition(Bea nDefinitionValueResolver.java:151)
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:97)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:760)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:571)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:414)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:241)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:152)
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:186)
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:106)
at org.springframework.beans.factory.support.Construc torResolver.resolveConstructorArguments(Constructo rResolver.java:332)
at org.springframework.beans.factory.support.Construc torResolver.autowireConstructor(ConstructorResolve r.java:97)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.autowireConstructor(Abs tractAutowireCapableBeanFactory.java:538)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:377)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:241)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:152)
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:186)
at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:106)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:760)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:571)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:414)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:241)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:152)
at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:253)
at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:331)
at org.springframework.web.context.support.AbstractRe freshableWebApplicationContext.refresh(AbstractRef reshableWebApplicationContext.java:155)
at org.springframework.web.context.ContextLoader.crea teWebApplicationContext(ContextLoader.java:246)
at org.springframework.web.context.ContextLoader.init WebApplicationContext(ContextLoader.java:184)
at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 49)
at com.caucho.server.webapp.Application.start(Applica tion.java:1592)
at com.caucho.server.deploy.DeployController.startImp l(DeployController.java:587)
at com.caucho.server.deploy.DeployController.restartI mpl(DeployController.java:550)
at com.caucho.server.deploy.StartAutoRedeployAutoStra tegy.request(StartAutoRedeployAutoStrategy.java:12 5)
at com.caucho.server.deploy.DeployController.request( DeployController.java:520)
at com.caucho.server.webapp.ApplicationContainer.getA pplication(ApplicationContainer.java:864)
at com.caucho.server.webapp.ApplicationContainer.buil dInvocation(ApplicationContainer.java:704)
at com.caucho.server.host.Host.buildInvocation(Host.j ava:421)
at com.caucho.server.host.HostContainer.buildInvocati on(HostContainer.java:316)
at com.caucho.server.resin.ServletServer.buildInvocat ion(ServletServer.java:600)
at com.caucho.server.dispatch.DispatchServer.buildInv ocation(DispatchServer.java:198)
at com.caucho.server.http.HttpRequest.handleRequest(H ttpRequest.java:263)
at com.caucho.server.port.TcpConnection.run(TcpConnec tion.java:389)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.jav a:492)
at com.caucho.util.ThreadPool.run(ThreadPool.java:425 )
at java.lang.Thread.run(Thread.java:595)