Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A29B17BBE for ; Mon, 20 Oct 2014 17:49:34 +0000 (UTC) Received: (qmail 63979 invoked by uid 500); 20 Oct 2014 17:49:34 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 63941 invoked by uid 500); 20 Oct 2014 17:49:34 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 63931 invoked by uid 99); 20 Oct 2014 17:49:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Oct 2014 17:49:34 +0000 Date: Mon, 20 Oct 2014 17:49:34 +0000 (UTC) From: =?utf-8?Q?Christian_M=C3=BCller_=28JIRA=29?= To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (CAMEL-7930) org.apache.camel.itest.ftp.SpringFtpEndpointTest is failing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-7930?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian M=C3=BCller reopened CAMEL-7930: ------------------------------------- Willem (and all others), could you please rerun the test with Java 6 in cam= el 2.13.x branch (we do not support Java 7 in Camel 2.13.x): {noformat} Christians-MBP:camel-itest cmueller$ git status On branch camel-2.13.x Your branch is up-to-date with 'origin/camel-2.13.x'. nothing to commit, working directory clean {noformat} My Maven settings: {noformat} Christians-MBP:camel-itest cmueller$ mvn -v Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 1= 4:51:28+0100) Maven home: /Applications/apache-maven-3.0.5 Java version: 1.6.0_65, vendor: Apple Inc. Java home: /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/= Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x", version: "10.10", arch: "x86_64", family: "mac" {noformat} Run the command in camel/tests/camel-itests: {noformat} Christians-MBP:camel-itest cmueller$ mvn clean test -Dtest=3DSpringFtpEndpo= intTest [INFO] Scanning for projects... [INFO] [INFO] --------------------------------------------------------------------= ---- [INFO] Building Camel :: Integration Tests :: Non OSGi 2.13.3-SNAPSHOT [INFO] --------------------------------------------------------------------= ---- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ camel-itest --- [INFO] Deleting /Users/cmueller/workspaceCamel/camel/tests/camel-itest/targ= et [INFO] [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ camel-itest= --- [INFO] [INFO] --- cxf-codegen-plugin:2.7.12:wsdl2java (generate-test-sources) @ ca= mel-itest --- [INFO] Running code generation in fork mode... [INFO] Building jar: /var/folders/jl/mtm191_155qg810p8m0662tr0000gn/T/cxf-t= mp-365454/cxf-codegen1815344060534911509.jar [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ camel-ites= t --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ camel= -itest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ camel-it= est --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources)= @ camel-itest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 101 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ = camel-itest --- [INFO] Compiling 173 source files to /Users/cmueller/workspaceCamel/camel/t= ests/camel-itest/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ camel-itest --- [WARNING] The parameter forkMode is deprecated since version 2.14. Use fork= Count and reuseForks instead. [INFO] Surefire report directory: /Users/cmueller/workspaceCamel/camel/test= s/camel-itest/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.camel.itest.ftp.SpringFtpEndpointTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.498 sec <= << FAILURE! - in org.apache.camel.itest.ftp.SpringFtpEndpointTest testFtpEndpointAsSpringBean(org.apache.camel.itest.ftp.SpringFtpEndpointTes= t) Time elapsed: 1.308 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext =09at org.springframework.test.context.CacheAwareContextLoaderDelegate.load= Context(CacheAwareContextLoaderDelegate.java:99) =09at org.springframework.test.context.TestContext.getApplicationContext(Te= stContext.java:122) =09at org.springframework.test.context.support.DependencyInjectionTestExecu= tionListener.injectDependencies(DependencyInjectionTestExecutionListener.ja= va:109) =09at org.springframework.test.context.support.DependencyInjectionTestExecu= tionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.j= ava:75) =09at org.springframework.test.context.TestContextManager.prepareTestInstan= ce(TestContextManager.java:307) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.creat= eTest(SpringJUnit4ClassRunner.java:211) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.run= ReflectiveCall(SpringJUnit4ClassRunner.java:288) =09at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal= lable.java:12) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.metho= dBlock(SpringJUnit4ClassRunner.java:284) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runCh= ild(SpringJUnit4ClassRunner.java:231) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runCh= ild(SpringJUnit4ClassRunner.java:88) =09at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) =09at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) =09at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) =09at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) =09at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) =09at org.springframework.test.context.junit4.statements.RunBeforeTestClass= Callbacks.evaluate(RunBeforeTestClassCallbacks.java:61) =09at org.springframework.test.context.junit4.statements.RunAfterTestClassC= allbacks.evaluate(RunAfterTestClassCallbacks.java:71) =09at org.junit.runners.ParentRunner.run(ParentRunner.java:309) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(S= pringJUnit4ClassRunner.java:174) =09at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provide= r.java:264) =09at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4= Provider.java:153) =09at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider= .java:124) =09at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameCla= ssLoader(ForkedBooter.java:200) =09at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Fork= edBooter.java:153) =09at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:= 103) Caused by: org.springframework.beans.factory.BeanCreationException: Error c= reating bean with name 'myFTPEndpoint' defined in class path resource [org/= apache/camel/itest/ftp/SpringFtpEndpointTest-context.xml]: Error setting pr= operty values; nested exception is org.springframework.beans.NotWritablePro= pertyException: Invalid property 'configuration' of bean class [org.apache.= camel.component.file.remote.FtpEndpoint]: Bean property 'configuration' is = not writable or has an invalid setter method. Does the parameter type of th= e setter match the return type of the getter? =09at org.springframework.beans.factory.support.AbstractAutowireCapableBean= Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1453) =09at org.springframework.beans.factory.support.AbstractAutowireCapableBean= Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1158) =09at org.springframework.beans.factory.support.AbstractAutowireCapableBean= Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) =09at org.springframework.beans.factory.support.AbstractAutowireCapableBean= Factory.createBean(AbstractAutowireCapableBeanFactory.java:458) =09at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb= ject(AbstractBeanFactory.java:296) =09at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr= y.getSingleton(DefaultSingletonBeanRegistry.java:223) =09at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe= an(AbstractBeanFactory.java:293) =09at org.springframework.beans.factory.support.AbstractBeanFactory.getBean= (AbstractBeanFactory.java:194) =09at org.springframework.beans.factory.support.DefaultListableBeanFactory.= preInstantiateSingletons(DefaultListableBeanFactory.java:628) =09at org.springframework.context.support.AbstractApplicationContext.finish= BeanFactoryInitialization(AbstractApplicationContext.java:932) =09at org.springframework.context.support.AbstractApplicationContext.refres= h(AbstractApplicationContext.java:479) =09at org.springframework.test.context.support.AbstractGenericContextLoader= .loadContext(AbstractGenericContextLoader.java:120) =09at org.springframework.test.context.support.AbstractGenericContextLoader= .loadContext(AbstractGenericContextLoader.java:60) =09at org.springframework.test.context.support.AbstractDelegatingSmartConte= xtLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) =09at org.springframework.test.context.support.AbstractDelegatingSmartConte= xtLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248) =09at org.springframework.test.context.CacheAwareContextLoaderDelegate.load= ContextInternal(CacheAwareContextLoaderDelegate.java:64) =09at org.springframework.test.context.CacheAwareContextLoaderDelegate.load= Context(CacheAwareContextLoaderDelegate.java:91) =09at org.springframework.test.context.TestContext.getApplicationContext(Te= stContext.java:122) =09at org.springframework.test.context.support.DependencyInjectionTestExecu= tionListener.injectDependencies(DependencyInjectionTestExecutionListener.ja= va:109) =09at org.springframework.test.context.support.DependencyInjectionTestExecu= tionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.j= ava:75) =09at org.springframework.test.context.TestContextManager.prepareTestInstan= ce(TestContextManager.java:307) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.creat= eTest(SpringJUnit4ClassRunner.java:211) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.run= ReflectiveCall(SpringJUnit4ClassRunner.java:288) =09at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal= lable.java:12) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.metho= dBlock(SpringJUnit4ClassRunner.java:284) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runCh= ild(SpringJUnit4ClassRunner.java:231) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runCh= ild(SpringJUnit4ClassRunner.java:88) =09at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) =09at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) =09at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) =09at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) =09at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) =09at org.springframework.test.context.junit4.statements.RunBeforeTestClass= Callbacks.evaluate(RunBeforeTestClassCallbacks.java:61) =09at org.springframework.test.context.junit4.statements.RunAfterTestClassC= allbacks.evaluate(RunAfterTestClassCallbacks.java:71) =09at org.junit.runners.ParentRunner.run(ParentRunner.java:309) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(S= pringJUnit4ClassRunner.java:174) =09at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provide= r.java:264) =09at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4= Provider.java:153) =09at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider= .java:124) =09at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameCla= ssLoader(ForkedBooter.java:200) =09at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Fork= edBooter.java:153) =09at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:= 103) Caused by: org.springframework.beans.NotWritablePropertyException: Invalid = property 'configuration' of bean class [org.apache.camel.component.file.rem= ote.FtpEndpoint]: Bean property 'configuration' is not writable or has an i= nvalid setter method. Does the parameter type of the setter match the retur= n type of the getter? =09at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrappe= rImpl.java:1043) =09at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrappe= rImpl.java:903) =09at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(= AbstractPropertyAccessor.java:75) =09at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(= AbstractPropertyAccessor.java:57) =09at org.springframework.beans.factory.support.AbstractAutowireCapableBean= Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1450) =09at org.springframework.beans.factory.support.AbstractAutowireCapableBean= Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1158) =09at org.springframework.beans.factory.support.AbstractAutowireCapableBean= Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) =09at org.springframework.beans.factory.support.AbstractAutowireCapableBean= Factory.createBean(AbstractAutowireCapableBeanFactory.java:458) =09at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb= ject(AbstractBeanFactory.java:296) =09at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr= y.getSingleton(DefaultSingletonBeanRegistry.java:223) =09at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe= an(AbstractBeanFactory.java:293) =09at org.springframework.beans.factory.support.AbstractBeanFactory.getBean= (AbstractBeanFactory.java:194) =09at org.springframework.beans.factory.support.DefaultListableBeanFactory.= preInstantiateSingletons(DefaultListableBeanFactory.java:628) =09at org.springframework.context.support.AbstractApplicationContext.finish= BeanFactoryInitialization(AbstractApplicationContext.java:932) =09at org.springframework.context.support.AbstractApplicationContext.refres= h(AbstractApplicationContext.java:479) =09at org.springframework.test.context.support.AbstractGenericContextLoader= .loadContext(AbstractGenericContextLoader.java:120) =09at org.springframework.test.context.support.AbstractGenericContextLoader= .loadContext(AbstractGenericContextLoader.java:60) =09at org.springframework.test.context.support.AbstractDelegatingSmartConte= xtLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) =09at org.springframework.test.context.support.AbstractDelegatingSmartConte= xtLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248) =09at org.springframework.test.context.CacheAwareContextLoaderDelegate.load= ContextInternal(CacheAwareContextLoaderDelegate.java:64) =09at org.springframework.test.context.CacheAwareContextLoaderDelegate.load= Context(CacheAwareContextLoaderDelegate.java:91) =09at org.springframework.test.context.TestContext.getApplicationContext(Te= stContext.java:122) =09at org.springframework.test.context.support.DependencyInjectionTestExecu= tionListener.injectDependencies(DependencyInjectionTestExecutionListener.ja= va:109) =09at org.springframework.test.context.support.DependencyInjectionTestExecu= tionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.j= ava:75) =09at org.springframework.test.context.TestContextManager.prepareTestInstan= ce(TestContextManager.java:307) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.creat= eTest(SpringJUnit4ClassRunner.java:211) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.run= ReflectiveCall(SpringJUnit4ClassRunner.java:288) =09at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal= lable.java:12) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.metho= dBlock(SpringJUnit4ClassRunner.java:284) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runCh= ild(SpringJUnit4ClassRunner.java:231) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runCh= ild(SpringJUnit4ClassRunner.java:88) =09at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) =09at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) =09at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) =09at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) =09at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) =09at org.springframework.test.context.junit4.statements.RunBeforeTestClass= Callbacks.evaluate(RunBeforeTestClassCallbacks.java:61) =09at org.springframework.test.context.junit4.statements.RunAfterTestClassC= allbacks.evaluate(RunAfterTestClassCallbacks.java:71) =09at org.junit.runners.ParentRunner.run(ParentRunner.java:309) =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(S= pringJUnit4ClassRunner.java:174) =09at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provide= r.java:264) =09at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4= Provider.java:153) =09at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider= .java:124) =09at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameCla= ssLoader(ForkedBooter.java:200) =09at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Fork= edBooter.java:153) =09at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:= 103) Results : Tests in error: SpringFtpEndpointTest.testFtpEndpointAsSpringBean =EF=BF=BD IllegalState = Failed to loa... Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] --------------------------------------------------------------------= ---- [INFO] BUILD FAILURE [INFO] --------------------------------------------------------------------= ---- [INFO] Total time: 14.180s [INFO] Finished at: Mon Oct 20 19:48:05 CEST 2014 [INFO] Final Memory: 24M/81M [INFO] --------------------------------------------------------------------= ---- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plug= in:2.16:test (default-test) on project camel-itest: There are test failures= . [ERROR] [ERROR] Please refer to /Users/cmueller/workspaceCamel/camel/tests/camel-it= est/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e= switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, pleas= e read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailu= reException {noformat} > org.apache.camel.itest.ftp.SpringFtpEndpointTest is failing > ----------------------------------------------------------- > > Key: CAMEL-7930 > URL: https://issues.apache.org/jira/browse/CAMEL-7930 > Project: Camel > Issue Type: Improvement > Components: tests > Affects Versions: 2.12.3, 2.12.4, 2.12.5, 2.13.2, 2.14.0 > Reporter: Christian M=C3=BCller > Assignee: Willem Jiang > > it's failing with the following stack trace: > {noformat} > java.lang.IllegalStateException: Failed to load ApplicationContext > =09at org.springframework.test.context.CacheAwareContextLoaderDelegate.lo= adContext(CacheAwareContextLoaderDelegate.java:99) > =09at org.springframework.test.context.TestContext.getApplicationContext(= TestContext.java:122) > =09at org.springframework.test.context.support.DependencyInjectionTestExe= cutionListener.injectDependencies(DependencyInjectionTestExecutionListener.= java:109) > =09at org.springframework.test.context.support.DependencyInjectionTestExe= cutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener= .java:75) > =09at org.springframework.test.context.TestContextManager.prepareTestInst= ance(TestContextManager.java:321) > =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.cre= ateTest(SpringJUnit4ClassRunner.java:211) > =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.r= unReflectiveCall(SpringJUnit4ClassRunner.java:288) > =09at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveC= allable.java:12) > =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.met= hodBlock(SpringJUnit4ClassRunner.java:284) > =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run= Child(SpringJUnit4ClassRunner.java:231) > =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run= Child(SpringJUnit4ClassRunner.java:88) > =09at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) > =09at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) > =09at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) > =09at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) > =09at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) > =09at org.springframework.test.context.junit4.statements.RunBeforeTestCla= ssCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) > =09at org.springframework.test.context.junit4.statements.RunAfterTestClas= sCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) > =09at org.junit.runners.ParentRunner.run(ParentRunner.java:309) > =09at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run= (SpringJUnit4ClassRunner.java:174) > =09at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUni= t4TestReference.java:50) > =09at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecuti= on.java:38) > =09at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Rem= oteTestRunner.java:459) > =09at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Rem= oteTestRunner.java:675) > =09at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTe= stRunner.java:382) > =09at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteT= estRunner.java:192) > Caused by: org.springframework.beans.factory.BeanCreationException: Error= creating bean with name 'myFTPEndpoint' defined in class path resource [or= g/apache/camel/itest/ftp/SpringFtpEndpointTest-context.xml]: Error setting = property values; nested exception is org.springframework.beans.NotWritableP= ropertyException: Invalid property 'configuration' of bean class [org.apach= e.camel.component.file.remote.FtpEndpoint]: Bean property 'configuration' i= s not writable or has an invalid setter method. Does the parameter type of = the setter match the return type of the getter? > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1455) > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1160) > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) > =09at org.springframework.beans.factory.support.AbstractBeanFactory$1.get= Object(AbstractBeanFactory.java:293) > =09at org.springframework.beans.factory.support.DefaultSingletonBeanRegis= try.getSingleton(DefaultSingletonBeanRegistry.java:223) > =09at org.springframework.beans.factory.support.AbstractBeanFactory.doGet= Bean(AbstractBeanFactory.java:290) > =09at org.springframework.beans.factory.support.AbstractBeanFactory.getBe= an(AbstractBeanFactory.java:191) > =09at org.springframework.beans.factory.support.DefaultListableBeanFactor= y.preInstantiateSingletons(DefaultListableBeanFactory.java:636) > =09at org.springframework.context.support.AbstractApplicationContext.fini= shBeanFactoryInitialization(AbstractApplicationContext.java:934) > =09at org.springframework.context.support.AbstractApplicationContext.refr= esh(AbstractApplicationContext.java:479) > =09at org.springframework.test.context.support.AbstractGenericContextLoad= er.loadContext(AbstractGenericContextLoader.java:120) > =09at org.springframework.test.context.support.AbstractGenericContextLoad= er.loadContext(AbstractGenericContextLoader.java:60) > =09at org.springframework.test.context.support.AbstractDelegatingSmartCon= textLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:102) > =09at org.springframework.test.context.support.AbstractDelegatingSmartCon= textLoader.loadContext(AbstractDelegatingSmartContextLoader.java:246) > =09at org.springframework.test.context.CacheAwareContextLoaderDelegate.lo= adContextInternal(CacheAwareContextLoaderDelegate.java:64) > =09at org.springframework.test.context.CacheAwareContextLoaderDelegate.lo= adContext(CacheAwareContextLoaderDelegate.java:91) > =09... 25 more > Caused by: org.springframework.beans.NotWritablePropertyException: Invali= d property 'configuration' of bean class [org.apache.camel.component.file.r= emote.FtpEndpoint]: Bean property 'configuration' is not writable or has an= invalid setter method. Does the parameter type of the setter match the ret= urn type of the getter? > =09at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrap= perImpl.java:1044) > =09at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrap= perImpl.java:904) > =09at org.springframework.beans.AbstractPropertyAccessor.setPropertyValue= s(AbstractPropertyAccessor.java:75) > =09at org.springframework.beans.AbstractPropertyAccessor.setPropertyValue= s(AbstractPropertyAccessor.java:57) > =09at org.springframework.beans.factory.support.AbstractAutowireCapableBe= anFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1452) > =09... 41 more > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)