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

NoSuchMethodError c.c.j.plugins.advisor.AdvisorGlobalConfiguration.getComponents => c.c.j.support.SupportPlugin.getComponents

XMLWordPrintable

      First seen yesterday (and only once so far) after upgrading plugins:

      • cloudbees-jenkins-advisor:3.0.1 (from 3.0)
      • support-core:2.66 (from 2.65)

      A bit before there were other but IMHO potentially rather non-related plugin updates:

      • ant:1.11
      • cloudbees-folder:6.11
      • antisamy-markup-formatter:1.8
      • credentials:2.3.1
      • workflow-support:3.4
      • mailer:1.30
      • ssh-credentials:1.18.1
      • Office-365-Connector:4.12.2
      2020-01-16 15:12:36.908+0000 [id=19]    WARNING h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: it.components in /cloudbees-jenkins-advisor/. Reason: java.lang.reflect.InvocationTargetException
      java.lang.NoSuchMethodError: com.cloudbees.jenkins.support.SupportPlugin.getComponents()Lhudson/ExtensionList;
              at com.cloudbees.jenkins.plugins.advisor.AdvisorGlobalConfiguration.getComponents(AdvisorGlobalConfiguration.java:286)
      Caused: java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
              at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
              at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
              at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75)
              at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
              at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
              at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
              at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
              at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)
              at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
              at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsIterator(ExpressionSupport.java:94)
              at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:89)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
              at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
              at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
              at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
              at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
              at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
              at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
              at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
              at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      ...
      

      And a bit later the same symptom in the CloudBees Jenkins Advisor Plugin Bundle Upload:

      2020-01-16 15:40:20.245+0000 [id=2002]  INFO    hudson.model.AsyncPeriodicWork#lambda$doRun$0: Started Bundle Upload
      2020-01-16 15:40:20.248+0000 [id=2002]  SEVERE  h.i.i.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler#uncaughtException: A thread (Bundle Upload thread/2002) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
      java.lang.NoSuchMethodError: com.cloudbees.jenkins.support.SupportPlugin.getComponents()Lhudson/ExtensionList;
              at com.cloudbees.jenkins.plugins.advisor.AdvisorGlobalConfiguration.getComponents(AdvisorGlobalConfiguration.java:286)
              at com.cloudbees.jenkins.plugins.advisor.AdvisorGlobalConfiguration.getIncludedComponents(AdvisorGlobalConfiguration.java:269)
              at com.cloudbees.jenkins.plugins.advisor.BundleUpload.generateBundle(BundleUpload.java:94)
              at com.cloudbees.jenkins.plugins.advisor.BundleUpload.execute(BundleUpload.java:72)
              at hudson.model.AsyncPeriodicWork.lambda$doRun$0(AsyncPeriodicWork.java:100)
              at java.lang.Thread.run(Thread.java:748)
      

            egutierrez Evaristo Gutierrez
            reinholdfuereder Reinhold Füreder
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: