Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.14.0
    • Fix Version/s: 2.15.0
    • Component/s: None
    • Labels:
      None

      Description

      While doing an Artifactory upload using groovy from Pipeline script with latest Jenkins and Artifactory, the following exception is thrown
      (Artifactory Plugin in Jenkins: 2.14.0, Jenkins: ver. 2.89.2)

      Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to Description:jenkins-slaves (i-023883c262bdc1694)
      		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693)
      		at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
      		at hudson.remoting.Channel.call(Channel.java:908)
      		at hudson.FilePath.act(FilePath.java:986)
      		at hudson.FilePath.act(FilePath.java:975)
      		at org.jfrog.hudson.pipeline.executors.GenericUploadExecutor.execution(GenericUploadExecutor.java:52)
      		at org.jfrog.hudson.pipeline.steps.UploadStep$Execution.run(UploadStep.java:65)
      		at org.jfrog.hudson.pipeline.steps.UploadStep$Execution.run(UploadStep.java:46)
      		at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
      		at hudson.security.ACL.impersonate(ACL.java:260)
      		at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
      		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      		at java.lang.Thread.run(Thread.java:748)
      java.lang.LinkageError: loader constraint violation: when resolving overridden method "com.fasterxml.jackson.databind.ser.std.StringSerializer.getSchema(Lcom/fasterxml/jackson/databind/SerializerProvider;Ljava/lang/reflect/Type;)Lcom/fasterxml/jackson/databind/JsonNode;" the class loader (instance of hudson/remoting/RemoteClassLoader) of the current class, com/fasterxml/jackson/databind/ser/std/StringSerializer, and its superclass loader (instance of hudson/remoting/RemoteClassLoader), have different Class objects for the type com/fasterxml/jackson/databind/JsonNode used in the signature
      	at com.fasterxml.jackson.databind.ser.BasicSerializerFactory.<clinit>(BasicSerializerFactory.java:71)
      	at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:576)
      	at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:476)
      	at org.jfrog.build.extractor.clientConfiguration.util.spec.SpecsHelper.getDownloadUploadSpec(SpecsHelper.java:145)
      	at org.jfrog.build.extractor.clientConfiguration.util.spec.SpecsHelper.uploadArtifactsBySpec(SpecsHelper.java:63)
      	at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:189)
      	at org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable.invoke(GenericArtifactsDeployer.java:130)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2760)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:207)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:53)
      	at hudson.remoting.Request$2.run(Request.java:358)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused: java.io.IOException: Remote call on Description:jenkins-slaves (i-023883c262bdc1694) failed
      	at hudson.remoting.Channel.call(Channel.java:916)
      	at hudson.FilePath.act(FilePath.java:986)
      Caused: java.io.IOException: remote file operation failed: /home/ubuntu/jenkins/workspace/templates_master-WR64BLXQDZRAKCLEASVDBP5A325MPVFDUXKCNKRH7OBBX5DB63JA at hudson.remoting.Channel@4bbc16d:Description:jenkins-slaves (i-023883c262bdc1694)
      	at hudson.FilePath.act(FilePath.java:993)
      	at hudson.FilePath.act(FilePath.java:975)
      	at org.jfrog.hudson.pipeline.executors.GenericUploadExecutor.execution(GenericUploadExecutor.java:52)
      	at org.jfrog.hudson.pipeline.steps.UploadStep$Execution.run(UploadStep.java:65)
      	at org.jfrog.hudson.pipeline.steps.UploadStep$Execution.run(UploadStep.java:46)
      	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
      	at hudson.security.ACL.impersonate(ACL.java:260)
      	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Activity

            People

            • Assignee:
              yahavi Yahav Itzhak
              Reporter:
              v.renjith@gmail.com Renjith Pillai
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: