PropertyResourceConfigurerTests class throwing exception during build in 4 test methods [SPR-12794] #17391
Labels
status: backported
An issue that has been backported to maintenance branches
type: task
A general task
Milestone
rahul chaudhary opened SPR-12794 and commented
In spring-beans module when test class PropertyResourceConfigurerTests execute during build 4 test cases fails
PropertyResourceConfigurerTests. testPropertyPlaceholderConfigurer
PropertyResourceConfigurerTests. testPropertyPlaceholderConfigurerWithOverridingSystemProperty
PropertyResourceConfigurerTests. testPropertyPlaceholderConfigurerWithParentChildSeparation
PropertyResourceConfigurerTests. testPropertyPlaceholderConfigurerWithSystemPropertyFallback
I am attaching stack trace. these 4 test method test against System operating system and set a property on TestBean touchy as ${os.name} which ultimately flow reaches to BeanWrapperImpl to set the property on bean and in this class at call writeMethod.invoke(this.object, value); throws exception since I am running windows 8.1 hence value comes as Windows 8.1 and this method call throw exception of beancreation saying that value contain a . character
Please help :-)
Attachments:
Referenced from: commits 0920266, 6fe85c2, f2b9a0a
Backported to: 3.2.14
The text was updated successfully, but these errors were encountered: