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

chore(deps): update dependency org.yaml:snakeyaml to v2 #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

we-renovate[bot]
Copy link
Contributor

@we-renovate we-renovate bot commented Sep 11, 2024

This PR contains the following updates:

Package Type Update Change
org.yaml:snakeyaml devDependencies major 1.33 -> 2.3

@we-renovate we-renovate bot force-pushed the renovate/org.yaml-snakeyaml-2.x branch 2 times, most recently from d4db947 to cebe57c Compare September 16, 2024 06:17
@florianesser florianesser force-pushed the renovate/org.yaml-snakeyaml-2.x branch from cebe57c to dd94b72 Compare September 16, 2024 06:20
Copy link
Member

@florianesser florianesser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With snameyaml 2.3, ./gradlew --stacktrace tasks fails with:

Caused by: java.lang.NullPointerException: LoaderOptions must be provided.
        at org.yaml.snakeyaml.constructor.BaseConstructor.<init>(BaseConstructor.java:119)
        at org.yaml.snakeyaml.constructor.SafeConstructor.<init>(SafeConstructor.java:53)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at org.gradle.internal.classpath.intercept.DefaultCallSiteDecorator$DecoratingCallSite.lambda$callConstructor$2(DefaultCallSiteDecorator.java:183)
        at org.gradle.internal.classpath.intercept.InvocationImpl.callNext(InvocationImpl.java:63)
        at org.gradle.internal.classpath.intercept.DefaultCallSiteDecorator$1.intercept(DefaultCallSiteDecorator.java:64)
        at org.gradle.internal.classpath.intercept.DefaultCallSiteDecorator$DecoratingCallSite.callConstructor(DefaultCallSiteDecorator.java:182)
        at Config.loadYaml(Config.groovy:97)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at Config$_load_closure5.doCall$original(Config.groovy:140)
        at Config$_load_closure5.doCall(Config.groovy)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at Config.load(Config.groovy:140)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at build_3xyd8ldtt0a4borkz1qiq8v1w.run(/home/flo/src/wetransform/postnas-inspire-alignments/build.gradle:76)
        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
        ... 159 more

This needs to be addressed before upgrading.

@stempler
Copy link
Member

Might make sense to migrate to use classes from hale and remove the buildSrc class.

For Config.loadYaml use ConfigYaml.

For Config.mergeConfigs use ConfigMerger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants