[ 
https://issues.apache.org/jira/browse/NIFI-14934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017865#comment-18017865
 ] 

Pierre Villard commented on NIFI-14934:
---------------------------------------

I'll move our github-api client version to the latest 2.0-rc4. While this is 
still a release candidate, the 2.x branch of this library has seen progress for 
already more than one year so it's stable enough and I prefer to move forward 
rather than forcing an older version of Jackson for this bundle.

> GitHub Registry Client breaks with Jackson 2.20
> -----------------------------------------------
>
>                 Key: NIFI-14934
>                 URL: https://issues.apache.org/jira/browse/NIFI-14934
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 2.6.0
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Blocker
>
> {code:java}
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.kohsuke.github.GitHubClient
>       at org.kohsuke.github.GitHub.<init>(GitHub.java:137)
>       at org.kohsuke.github.GitHubBuilder.build(GitHubBuilder.java:509)
>       at 
> org.apache.nifi.github.GitHubRepositoryClient.<init>(GitHubRepositoryClient.java:121)
>       at 
> org.apache.nifi.github.GitHubRepositoryClient$Builder.build(GitHubRepositoryClient.java:554)
>       at 
> org.apache.nifi.github.GitHubFlowRegistryClient.createRepositoryClient(GitHubFlowRegistryClient.java:127)
>       at 
> org.apache.nifi.github.GitHubFlowRegistryClient.createRepositoryClient(GitHubFlowRegistryClient.java:36)
>       at 
> org.apache.nifi.registry.flow.git.AbstractGitFlowRegistryClient.getRepositoryClient(AbstractGitFlowRegistryClient.java:626)
>       at 
> org.apache.nifi.registry.flow.git.AbstractGitFlowRegistryClient.getFlowContents(AbstractGitFlowRegistryClient.java:309)
>       at 
> org.apache.nifi.registry.flow.StandardFlowRegistryClientNode.lambda$getFlowContents$8(StandardFlowRegistryClientNode.java:242)
>       at 
> org.apache.nifi.registry.flow.StandardFlowRegistryClientNode.execute(StandardFlowRegistryClientNode.java:314)
>       at 
> org.apache.nifi.registry.flow.StandardFlowRegistryClientNode.getFlowContents(StandardFlowRegistryClientNode.java:242)
>       at 
> org.apache.nifi.groups.StandardProcessGroup.synchronizeWithFlowRegistry(StandardProcessGroup.java:3755)
>       at 
> org.apache.nifi.groups.StandardProcessGroup.lambda$setVersionControlInformation$27(StandardProcessGroup.java:3590)
>       at 
> org.apache.nifi.controller.scheduling.StandardProcessScheduler.lambda$wrapTask$1(StandardProcessScheduler.java:180)
>       at java.base/java.lang.VirtualThread.run(VirtualThread.java:329)
> Caused by: java.lang.ExceptionInInitializerError: Exception 
> java.lang.NoSuchFieldError: Class 
> com.fasterxml.jackson.databind.PropertyNamingStrategy does not have member 
> field 'com.fasterxml.jackson.databind.PropertyNamingStrategy SNAKE_CASE' [in 
> thread "ForkJoinPool-1-worker-2"]
>       at org.kohsuke.github.GitHubClient.<clinit>(GitHubClient.java:92)
>       ... 15 common frames omitted {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to