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

org.jfrog.build.api.Artifact issue not solved!

    XMLWordPrintable

Details

    Description

      However I see the Artifactory issue with JEP200 update has been solved in version 2.15.0 I still get following error. The jenkins version is 2.120 and the Artifactory plugin version is 2.16.1.

       

      Caused by: java.io.IOException: Failed to deserialize response to UserRequest:org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable@28ed9ded: java.lang.SecurityException: Rejected: org.jfrog.build.api.Artifact; see [https://jenkins.io/redirect/class-filter/]
      Caused by: java.io.IOException: Failed to deserialize response to UserRequest:org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable@28ed9ded: java.lang.SecurityException: Rejected: org.jfrog.build.api.Artifact; see https://jenkins.io/redirect/class-filter/
      	at hudson.remoting.Channel.call(Channel.java:963)
      	at hudson.FilePath.act(FilePath.java:1025)
      	... 9 more
      Caused by: java.lang.SecurityException: Rejected: org.jfrog.build.api.Artifact; see https://jenkins.io/redirect/class-filter/
      	at hudson.remoting.ClassFilter.check(ClassFilter.java:77)
      	at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:131)
      	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1866)
      	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1749)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2040)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1571)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
      	at java.util.ArrayList.readObject(ArrayList.java:797)
      	at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1158)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2176)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2067)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1571)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
      	at hudson.remoting.UserRequest.deserialize(UserRequest.java:291)
      	at hudson.remoting.UserRequest$NormalResponse.retrieve(UserRequest.java:326)
      	at hudson.remoting.Channel.call(Channel.java:955)
      	... 10 more
      Finished: FAILURE
      
      

      Attachments

        Activity

          I see this issue is closed, But I am seeing this with Jenkins 2.138.2 and Artifactory plugin 2.16.2. Below is the stack trace.

           

          WARNING: LinkageError while performing UserRequest:org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable@53fd8f10
          java.lang.NoClassDefFoundError: org/jfrog/build/api/util/Log
          {{ at java.lang.Class.getDeclaredFields0(Native Method)}}
          {{ at java.lang.Class.privateGetDeclaredFields(Unknown Source)}}
          {{ at java.lang.Class.getDeclaredField(Unknown Source)}}
          {{ at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source)}}
          {{ at java.io.ObjectStreamClass.access$700(Unknown Source)}}
          {{ at java.io.ObjectStreamClass$3.run(Unknown Source)}}
          {{ at java.io.ObjectStreamClass$3.run(Unknown Source)}}
          {{ at java.security.AccessController.doPrivileged(Native Method)}}
          {{ at java.io.ObjectStreamClass.<init>(Unknown Source)}}
          {{ at java.io.ObjectStreamClass.lookup(Unknown Source)}}
          {{ at java.io.ObjectStreamClass.initNonProxy(Unknown Source)}}
          {{ at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)}}
          {{ at java.io.ObjectInputStream.readClassDesc(Unknown Source)}}
          {{ at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)}}
          {{ at java.io.ObjectInputStream.readObject0(Unknown Source)}}
          {{ at java.io.ObjectInputStream.defaultReadFields(Unknown Source)}}
          {{ at java.io.ObjectInputStream.readSerialData(Unknown Source)}}
          {{ at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)}}
          {{ at java.io.ObjectInputStream.readObject0(Unknown Source)}}
          {{ at java.io.ObjectInputStream.readObject(Unknown Source)}}
          {{ at hudson.remoting.UserRequest.deserialize(UserRequest.java:291)}}
          {{ at hudson.remoting.UserRequest.perform(UserRequest.java:190)}}
          {{ at hudson.remoting.UserRequest.perform(UserRequest.java:54)}}
          {{ at hudson.remoting.Request$2.run(Request.java:369)}}
          {{ at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)}}
          {{ at java.util.concurrent.FutureTask.run(Unknown Source)}}
          {{ at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)}}
          {{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)}}
          {{ at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)}}
          {{ at java.lang.Thread.run(Unknown Source)}}
          Caused by: java.lang.ClassNotFoundException: org.jfrog.build.api.util.Log
          {{ at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:317)}}
          {{ at java.lang.ClassLoader.loadClass(Unknown Source)}}
          {{ at java.lang.ClassLoader.loadClass(Unknown Source)}}
          {{ ... 30 more}}
          Caused by: java.nio.file.AccessDeniedException: D:\jenkins\remoting\jarCache\9E\641F26884185AA965F08F8B4A5BA46.jar
          {{ at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)}}
          {{ at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)}}
          {{ at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)}}
          {{ at sun.nio.fs.WindowsFileAttributeViews$Basic.setFileTimes(Unknown Source)}}
          {{ at sun.nio.fs.WindowsFileAttributeViews$Basic.setTimes(Unknown Source)}}
          {{ at java.nio.file.Files.setLastModifiedTime(Unknown Source)}}
          {{ at hudson.remoting.FileSystemJarCache.lookInCache(FileSystemJarCache.java:77)}}
          {{ at hudson.remoting.JarCacheSupport.resolve(JarCacheSupport.java:46)}}
          {{ at hudson.remoting.ResourceImageInJar._resolveJarURL(ResourceImageInJar.java:90)}}
          {{ at hudson.remoting.ResourceImageInJar.resolve(ResourceImageInJar.java:43)}}
          {{ at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:304)}}
          {{ ... 32 more}}

           

           

          nemligtim Timothy Harris added a comment - I see this issue is closed, But I am seeing this with Jenkins 2.138.2 and Artifactory plugin 2.16.2. Below is the stack trace.   WARNING: LinkageError while performing UserRequest:org.jfrog.hudson.generic.GenericArtifactsDeployer$FilesDeployerCallable@53fd8f10 java.lang.NoClassDefFoundError: org/jfrog/build/api/util/Log {{ at java.lang.Class.getDeclaredFields0(Native Method)}} {{ at java.lang.Class.privateGetDeclaredFields(Unknown Source)}} {{ at java.lang.Class.getDeclaredField(Unknown Source)}} {{ at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source)}} {{ at java.io.ObjectStreamClass.access$700(Unknown Source)}} {{ at java.io.ObjectStreamClass$3.run(Unknown Source)}} {{ at java.io.ObjectStreamClass$3.run(Unknown Source)}} {{ at java.security.AccessController.doPrivileged(Native Method)}} {{ at java.io.ObjectStreamClass.<init>(Unknown Source)}} {{ at java.io.ObjectStreamClass.lookup(Unknown Source)}} {{ at java.io.ObjectStreamClass.initNonProxy(Unknown Source)}} {{ at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)}} {{ at java.io.ObjectInputStream.readClassDesc(Unknown Source)}} {{ at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)}} {{ at java.io.ObjectInputStream.readObject0(Unknown Source)}} {{ at java.io.ObjectInputStream.defaultReadFields(Unknown Source)}} {{ at java.io.ObjectInputStream.readSerialData(Unknown Source)}} {{ at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)}} {{ at java.io.ObjectInputStream.readObject0(Unknown Source)}} {{ at java.io.ObjectInputStream.readObject(Unknown Source)}} {{ at hudson.remoting.UserRequest.deserialize(UserRequest.java:291)}} {{ at hudson.remoting.UserRequest.perform(UserRequest.java:190)}} {{ at hudson.remoting.UserRequest.perform(UserRequest.java:54)}} {{ at hudson.remoting.Request$2.run(Request.java:369)}} {{ at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)}} {{ at java.util.concurrent.FutureTask.run(Unknown Source)}} {{ at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)}} {{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)}} {{ at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)}} {{ at java.lang.Thread.run(Unknown Source)}} Caused by: java.lang.ClassNotFoundException: org.jfrog.build.api.util.Log {{ at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:317)}} {{ at java.lang.ClassLoader.loadClass(Unknown Source)}} {{ at java.lang.ClassLoader.loadClass(Unknown Source)}} {{ ... 30 more}} Caused by: java.nio.file.AccessDeniedException: D:\jenkins\remoting\jarCache\9E\641F26884185AA965F08F8B4A5BA46.jar {{ at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)}} {{ at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)}} {{ at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)}} {{ at sun.nio.fs.WindowsFileAttributeViews$Basic.setFileTimes(Unknown Source)}} {{ at sun.nio.fs.WindowsFileAttributeViews$Basic.setTimes(Unknown Source)}} {{ at java.nio.file.Files.setLastModifiedTime(Unknown Source)}} {{ at hudson.remoting.FileSystemJarCache.lookInCache(FileSystemJarCache.java:77)}} {{ at hudson.remoting.JarCacheSupport.resolve(JarCacheSupport.java:46)}} {{ at hudson.remoting.ResourceImageInJar._resolveJarURL(ResourceImageInJar.java:90)}} {{ at hudson.remoting.ResourceImageInJar.resolve(ResourceImageInJar.java:43)}} {{ at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:304)}} {{ ... 32 more}}    

          People

            eyalbe Eyal Ben Moshe
            aghassabian Ali Ghassabian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: