Pierre Villard created NIFI-14934:
-------------------------------------

             Summary: 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


{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