org.springframework.beans.NotReadablePropertyException: Invalid property 'query' of bean class [com.sun.proxy.$Proxy51]: Bean property 'query' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Romain Moreau, 1 year ago
Invalid property 'query' of bean class [com.sun.proxy.$Proxy51]: Bean property 'query' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
via Spring JIRA by Romain Moreau, 1 year ago
Invalid property 'query' of bean class [com.sun.proxy.$Proxy51]: Bean property 'query' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
via GitHub by droggo
, 1 year ago
Invalid property 'propertyD' of bean class [error.DomainWithGetter]: Bean property 'propertyD' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
via Stack Overflow by Aravind
, 2 weeks ago
Invalid property '53095863' of bean class [beans.BankAccount]: Bean property '53095863' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
via GitHub by Toparvion
, 8 months ago
Invalid property 'source' of bean class [org.springframework.integration.file.tail.OSDelegatingFileTailingMessageProducer]: Bean property 'source' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
via Stack Overflow by M_Z
, 1 year ago
Invalid property 'userGroups[1].name' of bean class [com.siemens.isb.shared.user.client.data.UserDto]: Bean property 'userGroups[1].name' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
org.springframework.beans.NotReadablePropertyException: Invalid property 'query' of bean class [com.sun.proxy.$Proxy51]: Bean property 'query' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:617)
at org.springframework.data.jpa.provider.PersistenceProvider$HibernateScrollableResultsIterator.extractHibernateQueryFromQueryImpl(PersistenceProvider.java:442)
at org.springframework.data.jpa.provider.PersistenceProvider$HibernateScrollableResultsIterator.extractHibernate4Query(PersistenceProvider.java:425)
at org.springframework.data.jpa.provider.PersistenceProvider$HibernateScrollableResultsIterator.(PersistenceProvider.java:381)
at org.springframework.data.jpa.provider.PersistenceProvider$1.executeQueryWithResultStream(PersistenceProvider.java:119)
at org.springframework.data.jpa.repository.query.JpaQueryExecution$StreamExecution.doExecute(JpaQueryExecution.java:322)
at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:77)
at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:100)
at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:431)
at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:61)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at com.sun.proxy.$Proxy47.streamAll(Unknown Source)
at fr.romainmoreau.test.Main.main(Main.java:26)

Users with the same issue

3 times, 1 week ago
3 times, 9 months ago
4 times, 1 year ago
7 times, 1 year ago
30 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.