You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The software.amazon.encryption.s3.internal.ApiNameVersion uses resource.properties resource file, property "version", and throws NPE when the library is used together with aws-encryption-sdk-java, which has it's own resource.properties file with property "esdkVersion".
Right now if aws-encryption-sdk-java resource loads first, amazon-s3-encryption-client-java throws NPE exception, as no property "version" in the property file of that library.
How to reproduce:
add your own resource.properties file to the project resources with absent "value" property
try to create S3EncryptedClient
receive NPE
Solution:
A hide used resource file somewhere else, give a propery some more distinct name.