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

NoSuchMethodRequest when verifying cron syntax

XMLWordPrintable

      When configuring either the global configuration page or individual job pages, there will be a error in the Javascript console:

      https://<jenkins>/descriptorByName/org.jenkinsci.plugins.gitlab.GitlabBuildTrigger/checkCron?value=H%2F5%20*%20*%20*%20* : Failed to load resource: the server responded with a status of 500 (Internal Server Error)

      This causes form submission to break, making this a pretty severe issue.

      The root cause is:

      javax.servlet.ServletException: java.lang.NoSuchMethodError: hudson.triggers.TimerTrigger$DescriptorImpl.doCheckSpec(Ljava/lang/String;)Lhudson/util/FormValidation;
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:795)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:875)
      	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:745)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:875)
      	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
      

            Unassigned Unassigned
            recampbell Ryan Campbell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: