gitlab-plugin
gitlab-plugin copied to clipboard
Huge problem with updateGitlabCommitStatus after Jackson2 API plugin update
Issue
Error bellow is occuring after update Jackson2 API plugin to version 2.13.1-242.v1a45bad25ceb (This plugin can't be rollbacked to previous version). The problem is occuring everytime I use updateGitlabCommitStatus and this is a huge impact on my CI/CD process.
[Pipeline] updateGitlabCommitStatus Error when executing success post condition: java.lang.ClassNotFoundException: javax.ws.rs.ext.MessageBodyReader at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1402) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1357) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1112) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1086) at java.base/java.lang.ClassLoader.defineClassImpl(Native Method) at java.base/java.lang.ClassLoader.defineClassInternal(ClassLoader.java:481) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:442) at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1172) at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1340) at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1392) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1357) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1112) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1086) at java.base/java.lang.ClassLoader.defineClassImpl(Native Method) at java.base/java.lang.ClassLoader.defineClassInternal(ClassLoader.java:481) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:442) at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1172) at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1340) at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1392) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1357) at jenkins.ClassLoaderReflectionToolkit.loadClass(ClassLoaderReflectionToolkit.java:148) at hudson.ClassicPluginStrategy$DependencyClassLoader.findClass(ClassicPluginStrategy.java:649) at java.base/java.lang.ClassLoader.loadClassHelper(ClassLoader.java:1188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1103) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1086) at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1421) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1108)
Context
- Gitlab plugin version: 1.5.25
- Gitlab version: 14;5;2
- Jenkins version: 2.325
- Job type: Pipeline
Oh my god, I don't know what to do, all my merge request jobs can't be executed because I can't feedback to gitlab the result of the job
I have this problem just after update Jackson 2 API plugin, so I have sure that there is something new on this plugin, but jenkins is not offer a downgrade for this plugin so I can't do anything to resolve this. Maybe install jackson 2 api old version manually?
Found this issue in our testing deployment, so I can confirm that its a real problem. Luckly, we have not upgraded our production systems yet for we have many pipelines that would break and would hault our development.
I am trying to install the old jackson 2 api version (2.13.0-230) and will update with news later.
Edit: No error loading jenkins with just this plugin rolled back but I am waiting developers to do new merge requests to see if everthing is ok.
Edit2: I have to rollback gitlab plugin to 1.5.24 too because 1.5.25 need the new jackson 2 API. A new job have been started to test and everything is OK now. So, after the tests, I have sure that there is something wrong between gitlab 1.5.25 and jackson 2 api 2.13.1-242.
Same issue here, hope this gets resolved soon.
I am trying to install the old jackson 2 api version (2.13.0-230) and will update with news later.
Edit: No error loading jenkins with just this plugin rolled back but I am waiting developers to do new merge requests to see if everthing is ok.
Edit2: I have to rollback gitlab plugin to 1.5.24 too because 1.5.25 need the new jackson 2 API. A new job have been started to test and everything is OK now. So, after the tests, I have sure that there is something wrong between gitlab 1.5.25 and jackson 2 api 2.13.1-242.
So using the following versions work for me:
- gitlab-plugin:1.5.24
- jackson2-api:2.13.0-230.v59243c64b0a5
Turns out there was no test coverage for this in the existing code base. I wrote a new test in jenkinsci/gitlab-plugin#1207 which reproduces the problem. The full stack trace:
java.lang.ClassNotFoundException: javax.ws.rs.ext.MessageBodyReader
at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1387)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1089)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1155)
at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:715)
at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1326)
at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1377)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1089)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1155)
at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:715)
at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1326)
at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1377)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
at java.base/jdk.internal.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44)
at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:81)
at hudson.ClassicPluginStrategy$DependencyClassLoader.findClass(ClassicPluginStrategy.java:634)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at jenkins.util.AntClassLoader.findBaseClass(AntClassLoader.java:1406)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1085)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at com.dabsquared.gitlabjenkins.gitlab.api.impl.ResteasyGitLabClientBuilder.buildClient(ResteasyGitLabClientBuilder.java:139)
at com.dabsquared.gitlabjenkins.gitlab.api.impl.ResteasyGitLabClientBuilder.buildClient(ResteasyGitLabClientBuilder.java:91)
at com.dabsquared.gitlabjenkins.connection.GitLabConnection.getClient(GitLabConnection.java:131)
at com.dabsquared.gitlabjenkins.connection.GitLabConnectionConfig.getClient(GitLabConnectionConfig.java:66)
at com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty.getClient(GitLabConnectionProperty.java:78)
at com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty.getClient(GitLabConnectionProperty.java:91)
at com.dabsquared.gitlabjenkins.util.CommitStatusUpdater.updateCommitStatus(CommitStatusUpdater.java:51)
at com.dabsquared.gitlabjenkins.util.CommitStatusUpdater.updateCommitStatus(CommitStatusUpdater.java:97)
at com.dabsquared.gitlabjenkins.workflow.UpdateGitLabCommitStatusStep$UpdateGitLabCommitStatusStepExecution.run(UpdateGitLabCommitStatusStep.java:80)
at com.dabsquared.gitlabjenkins.workflow.UpdateGitLabCommitStatusStep$UpdateGitLabCommitStatusStepExecution.run(UpdateGitLabCommitStatusStep.java:64)
at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousStepExecution.start(AbstractSynchronousStepExecution.java:42)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:319)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:193)
at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:122)
at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1278)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1172)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:42)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20)
Caused: java.lang.NoClassDefFoundError: javax/ws/rs/ext/MessageBodyReader
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1155)
at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:715)
at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1326)
at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1377)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1089)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1155)
at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:715)
at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1326)
at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1377)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
at java.base/jdk.internal.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44)
at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:81)
at hudson.ClassicPluginStrategy$DependencyClassLoader.findClass(ClassicPluginStrategy.java:634)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at jenkins.util.AntClassLoader.findBaseClass(AntClassLoader.java:1406)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1085)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at com.dabsquared.gitlabjenkins.gitlab.api.impl.ResteasyGitLabClientBuilder.buildClient(ResteasyGitLabClientBuilder.java:139)
at com.dabsquared.gitlabjenkins.gitlab.api.impl.ResteasyGitLabClientBuilder.buildClient(ResteasyGitLabClientBuilder.java:91)
at com.dabsquared.gitlabjenkins.connection.GitLabConnection.getClient(GitLabConnection.java:131)
at com.dabsquared.gitlabjenkins.connection.GitLabConnectionConfig.getClient(GitLabConnectionConfig.java:66)
at com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty.getClient(GitLabConnectionProperty.java:78)
at com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty.getClient(GitLabConnectionProperty.java:91)
at com.dabsquared.gitlabjenkins.util.CommitStatusUpdater.updateCommitStatus(CommitStatusUpdater.java:51)
at com.dabsquared.gitlabjenkins.util.CommitStatusUpdater.updateCommitStatus(CommitStatusUpdater.java:97)
at com.dabsquared.gitlabjenkins.workflow.UpdateGitLabCommitStatusStep$UpdateGitLabCommitStatusStepExecution.run(UpdateGitLabCommitStatusStep.java:80)
at com.dabsquared.gitlabjenkins.workflow.UpdateGitLabCommitStatusStep$UpdateGitLabCommitStatusStepExecution.run(UpdateGitLabCommitStatusStep.java:64)
at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousStepExecution.start(AbstractSynchronousStepExecution.java:42)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:319)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:193)
at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:122)
at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1278)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1172)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:42)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20)
at com.dabsquared.gitlabjenkins.workflow.pipeline.WorkflowScript.run(WorkflowScript:8)
at ___cps.transform___(Native Method)
at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:86)
at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:113)
at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:83)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)
at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
at com.cloudbees.groovy.cps.Next.step(Next.java:83)
at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)
at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)
at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129)
at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268)
at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163)
at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:185)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:400)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$400(CpsThreadGroup.java:96)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:312)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:276)
at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:67)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:136)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Incremental build 2.13.1-243.v04a926c036e7 is available for testing. The incremental build is available from: https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/jackson2-api/2.13.1-243.v04a926c036e7/
@dhruv-dave @gandadil @jchychot @medanets-admin @r-work Can you please test the incremental build and confirm the issue is resolved? For instructions on how to install a custom build, see: https://www.jenkins.io/doc/book/managing/plugins/#advanced-installation
Incremental build 2.13.1-243.v04a926c036e7 is available for testing. The incremental build is available from: https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/jackson2-api/2.13.1-243.v04a926c036e7/
@dhruv-dave @gandadil @jchychot @medanets-admin @r-work Can you please test the incremental build and confirm the issue is resolved? For instructions on how to install a custom build, see: https://www.jenkins.io/doc/book/managing/plugins/#advanced-installation
Yes, I can test the incremental build and provide an update once tested.
I work with @dhruv-dave so we will be testing together.
I have update the version here and waiting a develop to test a merge request.
Incremental build 2.13.1-243.v04a926c036e7 is available for testing. The incremental build is available from: https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/jackson2-api/2.13.1-243.v04a926c036e7/
@dhruv-dave @gandadil @jchychot @medanets-admin @r-work Can you please test the incremental build and confirm the issue is resolved? For instructions on how to install a custom build, see: https://www.jenkins.io/doc/book/managing/plugins/#advanced-installation
I have installed the incremental build and so far our builds are working again. Thanks @basil for the quick reaction!
It's working for me too.
I have opened jenkinsci/jackson2-api-plugin#111 for the Jackson 2 API plugin, so the next step would be for the maintainers of that plugin to merge and release the PR.
Hello, I can also confirm that it is working and tested with a new deployments in k8s.
Ran two tests:
- old gitlab-plugin (1.5.24) with the new version of jackson2-api
- new gitlab-plugin (1.5.25) with the new version of jackson2-api.
Both builds passed successfully.
I have opened jenkinsci/jackson2-api-plugin#111 for the Jackson 2 API plugin, so the next step would be for the maintainers of that plugin to merge and release the PR.
Thank you very much for the help and a quick fix!
It works, thanks for the quick fix.
For those who need a quick fix:
cd /tmp
wget https://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.jar
cp /tmp/javax.ws.rs-api-2.1.1.jar /var/cache/jenkins/war/WEB-INF/lib/
for those coming here - the fix is in the Jackson 2 plugin in a version that isn't quite out yet - mine (2.13.1.242) still has the issue, there's an incremental build 2.13.1.243 that maybe doesn't. Or the quick fix above for windows (worked for me) is save https://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.jar to c:\program files\jenkins\.jenkins\plugins\jackson2-api\web-inf\lib\ and then https://[jenkins]/safeRestart
jenkinsci/jackson2-api-plugin#111 was merged, so the next step would be for the maintainers of that plugin to perform a release.
Hi guys! I'm new to Jenkins. I had the same problem, used the workaround and now is working. My question is: When the manteiner perform a new release, can we update with no problems even with this workaround in place?
This is still persist for me on 2.13.1 version of jackson
This is still persist for me on 2.13.1 version of jackson
As I wrote previously:
jenkinsci/jackson2-api-plugin#111 was merged, so the next step would be for the maintainers of that plugin to perform a release.
I use homebrew install jenkins-lts. How to maintain the cache foldler. Currently your solution not work for me.
Using docker image (Jenkins 2.319.1) and upgraded to Jenkins 2.319.1 (VirtualBox: Linux Mint 20.2 Uma)
I follow workaround steps:
Gitlab plugin : 1.5.25 Jackson 2 API Plugin : 2.13.1-243.v04a926c036e7
Problem not solved:
Error while serving http://jenkins.local:8080/descriptorByName/com.dabsquared.gitlabjenkins.connection.GitLabConnection/testConnection java.lang.ClassNotFoundException: javax.ws.rs.ext.MessageBodyReader at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1417) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1372) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1127) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) Caused: java.lang.NoClassDefFoundError: javax/ws/rs/ext/MessageBodyReader at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1187)
jackson2-api-plugin v2.13.1-244.v773c36c5b330 with the fix has been released.
jackson2-api-plugin v2.13.1-244.v773c36c5b330 with the fix has been released.
Yes, we still need to wait for the author to publish to the jenkins plugin.
jackson2-api-plugin v2.13.1-244.v773c36c5b330 with the fix has been released.
Just updated, working as expected.
The Latest plugin released 2.13.1-246.va8a9f3eaf46a again causing the same issue
The Latest plugin released 2.13.1-246.va8a9f3eaf46a again causing the same issue
Looking at the code, might this be because the dependency to the (new?) jersey-plugin is optional and you don't have this plugin installed? If so: Shouldn't this plugin depend on the jersey-plugin from now on?