Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Fails on two boxes 1.) Mac with Power Dog Linux OS with jdk IBMJava2-ppc-141 and 2.) Ubuntu Linux with Sun JDK 1.4.2_09
Description
INFO: Destroying singletons in factory
{org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [installationDescriptorExtension,jbi]; root of BeanFactory hierarchy}org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.servicemix.jbi.deployment.Component' defined in URL file://tmp/servicemix4687rootDir/defaultJBI/tmp/component-dummy-1.0-jbi-installer.0.tmp/META-INF/jbi.xml: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'type' of bean class [org.servicemix.jbi.deployment.Component]: Bean property 'type' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
org.springframework.beans.NotWritablePropertyException: Invalid property 'type' of bean class [org.servicemix.jbi.deployment.Component]: Bean property 'type' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:797)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:717)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:845)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:872)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:861)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:930)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:731)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:340)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:147)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:96)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:920)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:731)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:340)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:277)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:312)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:82)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:67)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:58)
at org.servicemix.jbi.framework.AutoDeploymentService.buildDescriptor(AutoDeploymentService.java:391)
at org.servicemix.jbi.framework.InstallationService.install(InstallationService.java:232)
at org.servicemix.jbi.container.JBIContainer.installArchive(JBIContainer.java:300)
at org.servicemix.jbi.installation.ComponentInstallationTest.testInstallation(ComponentInstallationTest.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
------------- ---------------- ---------------
Testcase: testInstallation(org.servicemix.jbi.installation.ComponentInstallationTest): FAILED
Error creating bean with name 'org.servicemix.jbi.deployment.Component' defined in URL file://tmp/servicemix4687rootDir/defaultJBI/tmp/component-dummy-1.0-jbi-installer.0.tmp/META-INF/jbi.xml: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'type' of bean class [org.servicemix.jbi.deployment.Component]: Bean property 'type' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
junit.framework.AssertionFailedError: Error creating bean with name 'org.servicemix.jbi.deployment.Component' defined in URL file://tmp/servicemix4687rootDir/defaultJBI/tmp/component-dummy-1.0-jbi-installer.0.tmp/META-INF/jbi.xml: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'type' of bean class [org.servicemix.jbi.deployment.Component]: Bean property 'type' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
at org.servicemix.jbi.installation.ComponentInstallationTest.testInstallation(ComponentInstallationTest.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)