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

[FSTrigger] Polling error: NoClassDefFoundError: hudson/matrix/MatrixRun

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • fstrigger-plugin
    • None
    • Jenkins version: 2.249.3, 2.263.1

      FSTrigger plugin version: 0.40
      Multijob plugin: 1.36
      EnvInject API Plugin: 1.7
      Environment Injector Plugin: 2.3.0

      Operating system: Windows Server 2012 R2
    • fstrigger-0.41

      Since upgrading the FSTrigger plugin to version 0.40 the trigger fails with the following error message:

      Polling started on 16.11.2020 13:40:02
      Polling for the job XXX
      Looking nodes where the poll can be run.
      Looking for a candidate node to run the poll.
      Can't find any eligible slave nodes.
      Trying to poll on master node.Polling on master.
      [ERROR] - Polling error...
      [ERROR] - Error message: hudson/matrix/MatrixRun
      

      Jenkins log:

      Polling failed
      java.lang.NoClassDefFoundError: hudson/matrix/MatrixRun
      	at org.jenkinsci.lib.envinject.service.EnvInjectActionRetriever.getEnvInjectAction(EnvInjectActionRetriever.java:25)
      	at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getEnVars(EnvVarsResolver.java:56)
      	at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:35)
      	at org.jenkinsci.plugins.fstrigger.service.FSTriggerComputeFileService.computedFile(FSTriggerComputeFileService.java:45)
      	at org.jenkinsci.plugins.fstrigger.triggers.FileNameTrigger.getNewResolvedFiles(FileNameTrigger.java:187)
      	at org.jenkinsci.plugins.fstrigger.triggers.FileNameTrigger.checkIfModified(FileNameTrigger.java:170)
      	at org.jenkinsci.lib.xtrigger.AbstractTrigger$Runner.run(AbstractTrigger.java:202)
      	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)
      

       

      Job Settings:

       

      This error was introduced with version 0.40. After downgrading to version 0.39 and restarting the Jenkins instance, it works again.

        1. 14.05.21.png
          70 kB
          Sergei
        2. failed.png
          58 kB
          Sergei
        3. image-2020-11-16-13-54-14-473.png
          26 kB
          Simon Tunnat

            stealthdj Tony Noble
            simontunnat Simon Tunnat
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: