spring-data-dynamodb: Upgrading to 5.1.0 results in the error Bean property 'dynamoDBMapperConfig' is not writable or has an invalid setter method.

Hi,

I have recreated this error in https://github.com/davidmelia/spring-data-dynamodb-bug (run the test DynamoDbBugTests)

In a nutshell, after upgrading to 5.1.0 I get the error below:

Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'dynamoDBMapperConfig' of bean class [org.socialsignin.spring.data.dynamodb.repository.support.DynamoDBRepositoryFactoryBean]: Bean property 'dynamoDBMapperConfig' 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.createNotWritablePropertyException(BeanWrapperImpl.java:243) ~[spring-beans-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.beans.AbstractNestablePropertyAccessor.processLocalProperty(AbstractNestablePropertyAccessor.java:426) ~[spring-beans-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:278) ~[spring-beans-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:266) ~[spring-beans-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:97) ~[spring-beans-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:77) ~[spring-beans-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1681) ~[spring-beans-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	... 55 common frames omitted

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (1 by maintainers)

Commits related to this issue

Most upvoted comments

Any news on a 5.1.1 release?

@derjust Is 5.1.1 ready to go? I am considering making my own maven package based on the current state of master in this repo and vendoring it into my app so that I can have this crucial fix. My main concern is that the 5.1.1 release is being held up by quality problems. Is it ready for production?

Hi @derjust , I’d also be keen to know when 5.1.1 will be released as we’re a bit stuck at the moment. We had to upgrade from 5.0.4 to fix https://github.com/derjust/spring-data-dynamodb/issues/218 but can’t use 5.1.0 owing to this issue.

Thanks

api group: ‘io.github.boostchicken’, name: ‘spring-data-dynamodb’, version: ‘5.2.1’ On maven central now

'io.github.boostchicken

Thank you very much, @boostchicken you are wonderful person 😃