Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70192

java.lang.NoClassDefFoundError: com/fasterxml/jackson/jaxrs/json/JacksonJsonProvider after updating Jackson2 API Plugin to 2.14.1-313.v504cdd45c18b

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • jackson2-api-plugin
    • None

      Updated Jackson 2 API plugin to 2.14.1-313.v504cdd45c18b and started seeing issue while running updateGitlabCommitStatus
      15:51:27 java.lang.NoClassDefFoundError: com/fasterxml/jackson/jaxrs/json/JacksonJsonProvider

      15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.ResteasyGitLabClientBuilder.buildClient(ResteasyGitLabClientBuilder.java:139)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.ResteasyGitLabClientBuilder.buildClient(ResteasyGitLabClientBuilder.java:91)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.autodetect(AutodetectingGitLabClient.java:315)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.autodetectOrDie(AutodetectingGitLabClient.java:305)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.delegate(AutodetectingGitLabClient.java:298)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.access$200(AutodetectingGitLabClient.java:14)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient$GitLabOperation.execute(AutodetectingGitLabClient.java:335)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient$GitLabOperation.access$100(AutodetectingGitLabClient.java:332)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.execute(AutodetectingGitLabClient.java:328)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.getCurrentUser(AutodetectingGitLabClient.java:242)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.autodetect(AutodetectingGitLabClient.java:317)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.autodetectOrDie(AutodetectingGitLabClient.java:305)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.delegate(AutodetectingGitLabClient.java:298)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.access$200(AutodetectingGitLabClient.java:14)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient$GitLabOperation.execute(AutodetectingGitLabClient.java:335)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient$GitLabOperation.access$100(AutodetectingGitLabClient.java:332)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.execute(AutodetectingGitLabClient.java:328)15:51:27 at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.getCommit(AutodetectingGitLabClient.java:132)15:51:27 at com.dabsquared.gitlabjenkins.util.CommitStatusUpdater.existsCommit(CommitStatusUpdater.java:121)15:51:27 at com.dabsquared.gitlabjenkins.util.CommitStatusUpdater.updateCommitStatus(CommitStatusUpdater.java:83)15:51:27 at com.dabsquared.gitlabjenkins.util.CommitStatusUpdater.updateCommitStatus(CommitStatusUpdater.java:97)15:51:27 at com.dabsquared.gitlabjenkins.workflow.UpdateGitLabCommitStatusStep$UpdateGitLabCommitStatusStepExecution.run(UpdateGitLabCommitStatusStep.java:80)15:51:27 at com.dabsquared.gitlabjenkins.workflow.UpdateGitLabCommitStatusStep$UpdateGitLabCommitStatusStepExecution.run(UpdateGitLabCommitStatusStep.java:64)15:51:27 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousStepExecution.start(AbstractSynchronousStepExecution.java:41)15:51:27 at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:322)15:51:27 at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:196)15:51:27 at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:124)15:51:27 at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source)15:51:27 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)15:51:27 at java.lang.reflect.Method.invoke(Method.java:498)15:51:27 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)15:51:27 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)15:51:27 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)15:51:27 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)15:51:27 at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:41)15:51:27 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)15:51:27 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)15:51:27 at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:180)15:51:27 at org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:23)15:51:27 at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:161)15:51:27 at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:146)15:51:27 at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:178)15:51:27 at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:182)15:51:27 at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:17)15:51:27 at nuance_utilities.updateGitlabCommitStatus(nuance_utilities.groovy:81)15:51:27 at Jenkinsfile_development.call(Jenkinsfile_development.groovy:238)15:51:27 at _{}cps.transform{}_(Native Method)15:51:27 at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:90)15:51:27 at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:113)15:51:27 at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:83)15:51:27 at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)15:51:27 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)15:51:27 at java.lang.reflect.Method.invoke(Method.java:498)15:51:27 at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)15:51:27 at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)15:51:27 at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)15:51:27 at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)15:51:27 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)15:51:27 at java.lang.reflect.Method.invoke(Method.java:498)15:51:27 at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)15:51:27 at com.cloudbees.groovy.cps.impl.LocalVariableBlock$LocalVariable.get(LocalVariableBlock.java:38)15:51:27 at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30)15:51:27 at com.cloudbees.groovy.cps.impl.LocalVariableBlock.evalLValue(LocalVariableBlock.java:27)15:51:27 at com.cloudbees.groovy.cps.LValueBlock$BlockImpl.eval(LValueBlock.java:55)15:51:27 at com.cloudbees.groovy.cps.LValueBlock.eval(LValueBlock.java:16)15:51:27 at com.cloudbees.groovy.cps.Next.step(Next.java:83)15:51:27 at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:177)15:51:27 at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:166)15:51:27 at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:136)15:51:27 at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275)15:51:27 at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:166)15:51:27 at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)15:51:27 at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51)15:51:27 at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:187)15:51:27 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:420)15:51:27 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$400(CpsThreadGroup.java:95)15:51:27 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:330)15:51:27 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:294)15:51:27 at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:67)15:51:27 at java.util.concurrent.FutureTask.run(FutureTask.java:266)15:51:27 at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139)15:51:27 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)15:51:27 at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)15:51:27 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)15:51:27 at java.util.concurrent.FutureTask.run(FutureTask.java:266)15:51:27 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)15:51:27 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)15:51:27 at java.lang.Thread.run(Thread.java:748)
       

       

            Unassigned Unassigned
            rajuvadarevu Raju
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: