You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Sangpil Yoon (JIRA)" <ji...@apache.org> on 2017/03/23 09:58:41 UTC
[jira] [Created] (IGNITE-4858)
TcpDiscoveryS3IpFinder.setAwsCredentials should not be be overloaded
Sangpil Yoon created IGNITE-4858:
------------------------------------
Summary: TcpDiscoveryS3IpFinder.setAwsCredentials should not be be overloaded
Key: IGNITE-4858
URL: https://issues.apache.org/jira/browse/IGNITE-4858
Project: Ignite
Issue Type: Bug
Reporter: Sangpil Yoon
Due to this method being overloaded, the javabeans property "awsCredentials" is undefined, causing spring framework to spew error when it is given AWSCredentials.
{code}
Caused by: java.lang.IllegalStateException: Cannot convert value of type [com.amazonaws.auth.BasicAWSCredentials] to required type [com.amazonaws.auth.AWSCredentialsProvider] for property 'awsCredentials': no matching editors or conversion strategy found
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:287)
at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:440)
... 36 more
{code}
I suggest that the version accepting AWSCredentialsProvider be named setAwsCredentialsProvider.
Related spring issue: https://jira.spring.io/browse/SPR-4931
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)