Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid property 'dynamoDBMapperConfig' of bean class [org.socialsignin.spring.data.dynamodb.repository.support.DynamoDBRepositoryFactoryBean] - Release 5.1.1 #253

Closed
shexbeer opened this issue Jun 5, 2019 · 8 comments

Comments

@shexbeer
Copy link

shexbeer commented Jun 5, 2019

Many users still have this issue: (see #230 #237)

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)
	at org.springframework.beans.AbstractNestablePropertyAccessor.processLocalProperty(AbstractNestablePropertyAccessor.java:426)
	at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:278)
	at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:266)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:97)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:77)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1714)
	... 31 common frames omitted

I read in your comment in issue #235 (#235 (comment)_) that its fixed in master and is part of 5.1.1

Please some maintainer, please release 5.1.1 because many of us are blocked and need this fix.
Also see Pullrequest #238


This one is fixed in master and will be part of 5.1.1

Originally posted by @derjust in #235 (comment)

@boostchicken
Copy link

https://github.com/derjust/spring-data-dynamodb/wiki/Access-to-releases

Go grab the snapshot, that's what I am running

@shexbeer
Copy link
Author

Thanks for that hint

@gauravbrills
Copy link

gauravbrills commented Nov 18, 2019

@derjust not sure mine giving a weird error (below) when I start using the snapshot



FAILURE: Build failed with an exception.

What went wrong:
java.lang.ArrayIndexOutOfBoundsException (no error message)

@boostchicken
Copy link

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

@gauravbrills
Copy link

gauravbrills commented Nov 19, 2019

@boostchicken is the repo transitioning to your repo from now on ? Or will there be a PR on this later .

@boostchicken
Copy link

I have PRs sent, but I have not heard from derjust lately. I would like to not fork it but unless we see movement here it might be the best idea

@ddskolla
Copy link

ddskolla commented Jul 10, 2020

I have tried @boostchicken's 5.2.1 and that did indeed resolve the issue.
Still don't see a 5.1.1 release on the "derjust/spring-data-dynamodb" project ? Any progress with this ?

@aauronn
Copy link

aauronn commented Apr 6, 2021

I used @boostchicken 5.2.1 and "@primary" on "dynamoDBMapper" and "dynamoDBMapperConfig" and solved the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants