[
https://issues.apache.org/jira/browse/IGNITE-12513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005341#comment-17005341
]
Ivan Pavlukhin commented on IGNITE-12513:
-----------------------------------------
[~amashenkov], do not we need a TC bot visa here? Everything else LGTM.
> SQL: Improve QueryEntity field conflict message.
> ------------------------------------------------
>
> Key: IGNITE-12513
> URL: https://issues.apache.org/jira/browse/IGNITE-12513
> Project: Ignite
> Issue Type: Task
> Components: sql
> Reporter: Andrey Mashenkov
> Assignee: Andrey Mashenkov
> Priority: Major
> Fix For: 2.9
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We have 2 objects that have same field (balance in this case)
> While we start node there is lack of information about what is wrong - the
> only thing we display is a conflicting field name
> We need to add at least class names to this error (cache name?)
> {code:java}
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name
> 'org.apache.ignite.configuration.CacheConfiguration#7e9a5fbe' defined in URL
> [file:/storage/ssd/dsherstobitov/tiden/compatibility-190716-181722/test_rolling_upgrade/caches.xml]:
> Error setting property values; nested exception is
> org.springframework.beans.PropertyBatchUpdateException; nested
> PropertyAccessExceptions (1) are:
> PropertyAccessException 1:
> org.springframework.beans.MethodInvocationException: Property 'indexedTypes'
> threw exception; nested exception is javax.cache.CacheException: Property
> with name 'balance' already exists.
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1568)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:299)
> ... 24 more
> Caused by: org.springframework.beans.PropertyBatchUpdateException; nested
> PropertyAccessExceptions (1) are:
> PropertyAccessException 1:
> org.springframework.beans.MethodInvocationException: Property 'indexedTypes'
> threw exception; nested exception is javax.cache.CacheException: Property
> with name 'balance' already exists.
> at
> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:121)
> at
> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1564)
> ... 28 more
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)