-
Notifications
You must be signed in to change notification settings - Fork 369
IllegalArgumentException Being Thrown When Password Is Not Null #355
Comments
I have the same issue. application.properties pom.xml I noticed that AmazonRdsDataSourceFactoryBean is the responsible for creating the DataSource based on the above configuration. The only way to set the password seems to be via its constructor which seems not to be called. Instead, the createInstance method is called which ends up not setting the password field (just reads from it). Moreover, password doesn't have a setter. Additionally, the class AmazonRdsReadReplicaAwareDataSourceFactoryBean extends from AmazonRdsDataSourceFactoryBean, and having configured readReplicaSupport=true, one will suppose that the createInstance of this class would be called instead, but that isn't the case. @aemruli Any thoughts? Is this a bug or is it missing configuration? How can I fix it? Thanks in advance! |
I got the same error and solved by removing the below entry.
|
Does the stack overflow answer resolve this issue? |
Hello, yes the issue is solved but the official documentation hasn’t been changed which can and was misleading. Thanks for reaching out. |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am experiencing an issue in which an IllegalArgumentException is being thrown because my RDS instance's password must not be null. However, I have confirmed by checking my AWS console that the password is not null and I'm unsure why this error is getting thrown; therefore, it's either a bug or it's something I am doing wrong. My application.properties file looks like the following:
I commented out the last three lines given that they were not making a difference.
Any thoughts or pointers would be very helpful.
Thanks.
The text was updated successfully, but these errors were encountered: