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

java.lang.NoClassDefFoundError: org/acegisecurity/acls/NotFoundException

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi all after upgrading to 2.277.1 from 2.263.4

      All pipeline started to crash with the following output:

       
      java.lang.ClassNotFoundException: org.acegisecurity.acls.NotFoundException*18:11:22* at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1387)18:11:22 at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)18:11:22 at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1089)18:11:22 at java.lang.ClassLoader.loadClass(ClassLoader.java:352)18:11:22 at org.jfrog.hudson.pipeline.scripted.steps.GetArtifactoryServerStep$Execution.run(GetArtifactoryServerStep.java:41)18:11:22 at org.jfrog.hudson.pipeline.scripted.steps.GetArtifactoryServerStep$Execution.run(GetArtifactoryServerStep.java:28)18:11:22 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousStepExecution.start(AbstractSynchronousStepExecution.java:42)18:11:22 at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:286)18:11:22 at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:179)18:11:22 at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:122)18:11:22 at org.jfrog.hudson.pipeline.scripted.dsl.ArtifactoryPipelineGlobal.server(ArtifactoryPipelineGlobal.java:39)18:11:22 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)18:11:22 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)18:11:22 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)18:11:22 at java.lang.reflect.Method.invoke(Method.java:498)18:11:22 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)18:11:22 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)18:11:22 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)18:11:22 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)18:11:22 at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:47)18:11:22 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)18:11:22 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)18:11:22 at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:163)18:11:22 at org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:23)18:11:22 at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:157)18:11:22 at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:161)18:11:22 at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:165)18:11:22 at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:17)18:11:22 Caused: java.lang.NoClassDefFoundError: org/acegisecurity/acls/NotFoundException*18:11:22* at org.jfrog.hudson.pipeline.scripted.steps.GetArtifactoryServerStep$Execution.run(GetArtifactoryServerStep.java:41)18:11:22 at org.jfrog.hudson.pipeline.scripted.steps.GetArtifactoryServerStep$Execution.run(GetArtifactoryServerStep.java:28)18:11:22 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousStepExecution.start(AbstractSynchronousStepExecution.java:42)18:11:22 at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:286)18:11:22 at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:179)18:11:22 at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:122)18:11:22 at org.jfrog.hudson.pipeline.scripted.dsl.ArtifactoryPipelineGlobal.server(ArtifactoryPipelineGlobal.java:39)18:11:22 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)18:11:22 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)18:11:22 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)18:11:22 at java.lang.reflect.Method.invoke(Method.java:498)18:11:22 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)18:11:22 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)18:11:22 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)18:11:22 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)18:11:22 at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:47)18:11:22 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)18:11:22 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)18:11:22 at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:163)18:11:22 at org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:23)18:11:22 at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:157)18:11:22 at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:161)18:11:22 at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:165)18:11:22 at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:17)18:11:22 at WorkflowScript.run(WorkflowScript:263)18:11:22 at __cps.transform__(Native Method)18:11:22 at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:86)18:11:22 at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:113)18:11:22 at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:83)18:11:22 at sun.reflect.GeneratedMethodAccessor404.invoke(Unknown Source)18:11:22 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)18:11:22 at java.lang.reflect.Method.invoke(Method.java:498)18:11:22 at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)18:11:22 at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)18:11:22 at com.cloudbees.groovy.cps.Next.step(Next.java:83)18:11:22 at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)18:11:22 at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)18:11:22 at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129)18:11:22 at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268)18:11:22 at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163)18:11:22 at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)18:11:22 at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51)18:11:22 at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:185)18:11:22 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:400)18:11:22 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$400(CpsThreadGroup.java:96)18:11:22 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:312)18:11:22 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:276)18:11:22 at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:67)18:11:22 at java.util.concurrent.FutureTask.run(FutureTask.java:266)18:11:22 at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139)18:11:22 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)18:11:22 at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)18:11:22 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)18:11:22 at java.util.concurrent.FutureTask.run(FutureTask.java:266)18:11:22 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)18:11:22 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)18:11:22 at java.lang.Thread.run(Thread.java:748)

        Attachments

          Activity

          balage Kovács created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Labels regression
          oleg_nenashev Oleg Nenashev made changes -
          Labels regression acegi regression
          oleg_nenashev Oleg Nenashev made changes -
          Component/s core [ 15593 ]
          jglick Jesse Glick made changes -
          Labels acegi regression JEP-227 regression
          jglick Jesse Glick made changes -
          Released As https://github.com/jfrog/jenkins-artifactory-plugin/releases/tag/artifactory-3.9.0
          Assignee Eyal Ben Moshe [ eyalbe ] Jesse Glick [ jglick ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

            People

            Assignee:
            jglick Jesse Glick
            Reporter:
            balage Kovács
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: