[BUG] [azure-identity] `com.azure.identity.AzureIdentityEnvVars` missing in reflect-config.json
Describe the bug
The new com.azure.identity.AzureIdentityEnvVars uses reflections to build up the values. When running in native code, it can throw null pointer exceptions as the values are not build correctly.
Exception or Stack Trace
java.lang.NullPointerException
com.azure.identity.implementation.IdentityClientOptions.loadFromConfiguration(IdentityClientOptions.java:696)
com.azure.identity.implementation.IdentityClientOptions.<init>(IdentityClientOptions.java:92)
com.azure.identity.CredentialBuilderBase.<init>(CredentialBuilderBase.java:47)
com.azure.identity.DefaultAzureCredentialBuilder.<init>(DefaultAzureCredentialBuilder.java:68)
To Reproduce Try to use azure-identity in native built code. The static variables stay null
Setup (please complete the following information):
- Library/Libraries: [e.g. com.azure:azure-identity:1.18.1]
- Java version: Oracle Graalvm 25.0.1
- Frameworks: Quarkus
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- [x] Bug Description Added
- [x] Repro Steps Added
- [x] Setup information Added
@g2vinay @joshfree
Thank you for your feedback. Tagging and routing to the team member best able to assist.
@g2vinay / @anannya03 Could you take a look at the above issue and help out, thanks!
Thank you @joggeli34 for reporting this issue. We will investigate and get this resolved in a november patch release.
@g2vinay Did we get the fix out in November release ?
The fix if applicable will be part of January patch release. I will be picking up this work next week.