Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Kotlin app java.lang.LinkageError: issue ,please help #28071

Closed
RyderChen0708 opened this issue Apr 7, 2022 · 3 comments
Closed
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. dependency-issue Issue that is caused by dependency conflicts dependency-issue-jackson Issue caused by dependency version mismatch with one of the Jackson libraries needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@RyderChen0708
Copy link

My app use microsoft.identity to login Microsoft account

but at here cause crash.

val interactiveBrowserCredential = InteractiveBrowserCredentialBuilder()
            .clientId(CLIENT_ID)
            .redirectUrl("")
            .build()

here is crash information

java.lang.LinkageError: Package versions: jackson-annotations=0.0, jackson-core=0.0, jackson-databind=0.0, jackson-dataformat-xml=0.0, jackson-datatype-jsr310=0.0, azure-core=1.26.0, Troubleshooting version conflicts: https://aka.ms/azsdk/java/dependency/troubleshoot

i try to modify dependencies
but not work.

    implementation 'com.microsoft.identity.client:msal:3.0.2'
    implementation 'com.microsoft.graph:microsoft-graph:5.19.0'
    implementation 'com.azure:azure-identity:1.4.6'
    implementation 'com.azure:azure-sdk-bom:1.2.0'
    implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.10.5'

Thanks for help!

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Apr 7, 2022
@lmolkova
Copy link
Member

lmolkova commented Apr 7, 2022

@RyderChen0708 thank you for reporting the issue.
Can you please help us understand a few more details?

  1. Setup (please complete the following information):
  • OS: [e.g. iOS]
  • IDE: [e.g. IntelliJ]
  • Java version: [e.g. 8]
  • App Server/Environment: [e.g. Tomcat, WildFly, Azure Function, Apache Spark, Databricks, IDE plugin or anything special]
  • Frameworks: [e.g. Spring Boot, Micronaut, Quarkus, etc]
  1. verbose dependency tree (mvn dependency:tree -Dverbose)
  2. if you can share a repro app - this would be a tremendous help.
  3. Can you please share the full exception with the stack trace?

Thank you!

@lmolkova lmolkova added the dependency-issue-jackson Issue caused by dependency version mismatch with one of the Jackson libraries label Apr 7, 2022
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Apr 7, 2022
@lmolkova lmolkova added the dependency-issue Issue that is caused by dependency conflicts label Apr 7, 2022
@ghost ghost added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Apr 7, 2022
@lmolkova lmolkova self-assigned this Apr 7, 2022
@jaypg
Copy link

jaypg commented May 24, 2022

@lmolkova Chiming in with the same issue. App is a Kotlin project and I've tried manually adding the Jackson libraries to my build.gradle but it didn't help. I've tried the interactive browser credential builder and the client credentials builder with the same crash at the same point.

OS: Android 12
IDE: Android Studio 2021.1.1 Patch #3 (Bumblebee)
Java version: 11
App Server/Environment: Kotlin IDE plugin
Frameworks: None

Copy link
Contributor

github-actions bot commented Apr 8, 2024

Hi @RyderChen0708, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. dependency-issue Issue that is caused by dependency conflicts dependency-issue-jackson Issue caused by dependency version mismatch with one of the Jackson libraries needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

3 participants