-
Notifications
You must be signed in to change notification settings - Fork 277
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
NoSuchMethodError on snakeyaml parser in unit tests since 1.13.3 #1359
Comments
SnakeYaml Libraryh has been updated, please always make sure to use Plugin Verifier to check for binary compatibility problems https://plugins.jetbrains.com/docs/intellij/verifying-plugin-compatibility.html |
Hello @YannCebron , I'm already using plugin verifier for my plugin and it pass for all supported versions (221 -> 231). My issue is not that plugin is not working with some versions of IntelliJ. Issue with snakeyaml library only appear in unit tests of my plugin. Could you consider reopening the issue ? |
awaiting resolution for JetBrains/intellij-platform-gradle-plugin#1359
awaiting resolution for JetBrains/intellij-platform-gradle-plugin#1359
For information, I managed to workaround the issue by enforcing snakeyaml 2.2 in testRuntime dependencies of helm-values-intellij-plugin module: Version 2.2 of snakeyaml should already be transitively provided by dependency jackson-dataformat-yaml set in helm-values-shared module but it seems to be overridden with an older version by dependencies of IntelliJ platform 2022.1.4. |
@fstaudt Could you please verify if this issue is still valid in 2.0? |
Describe the bug
Since bump to 1.13.3, some unit tests fail with following error
NoSuchMethodError: 'void org.yaml.snakeyaml.parser.ParserImpl.<init>(org.yaml.snakeyaml.reader.StreamReader, org.yaml.snakeyaml.LoaderOptions)'
.To Reproduce
Issue can be reproduced in PR created by dependabot for bump of gradle intellij plugin to 1.13.3: fstaudt/helm-values#74
Expected behavior
Unit tests run correctly with version of jackson-databind & snakeyaml defined in Gradle dependencies.
Environment:
Additional context
N/A
The text was updated successfully, but these errors were encountered: