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

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

    • 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.

          [JENKINS-64229] [FSTrigger] Polling error: NoClassDefFoundError: hudson/matrix/MatrixRun

          Simon Tunnat created issue -
          Simon Tunnat made changes -
          Attachment Original: image-2020-11-16-13-53-28-587.png [ 53348 ]
          Simon Tunnat made changes -
          Description Original: Since upgrading the FSTrigger plugin to version 0.40 the trigger fails with the following error message:
          {code:java}
          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
          {code}

          Job Settings:
          !image-2020-11-16-13-54-14-473.png|width=690,height=576!

           

          I suspect this error was introduced with version 0.40. I will try to downgrade to version 0.39 soon, but I can't restart any of our Jenkins instances right now.
          New: Since upgrading the FSTrigger plugin to version 0.40 the trigger fails with the following error message:
          {code:java}
          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
          {code}
          Job Settings:
           !image-2020-11-16-13-54-14-473.png|width=432,height=361!

           

          I suspect this error was introduced with version 0.40. I will try to downgrade to version 0.39 soon, but I can't restart any of our Jenkins instances right now.
          Simon Tunnat made changes -
          Description Original: Since upgrading the FSTrigger plugin to version 0.40 the trigger fails with the following error message:
          {code:java}
          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
          {code}
          Job Settings:
           !image-2020-11-16-13-54-14-473.png|width=432,height=361!

           

          I suspect this error was introduced with version 0.40. I will try to downgrade to version 0.39 soon, but I can't restart any of our Jenkins instances right now.
          New: Since upgrading the FSTrigger plugin to version 0.40 the trigger fails with the following error message:
          {code:java}
          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
          {code}
          Job Settings:
           !image-2020-11-16-13-54-14-473.png|thumbnail!

           

          I suspect this error was introduced with version 0.40. I will try to downgrade to version 0.39 soon, but I can't restart any of our Jenkins instances right now.
          Simon Tunnat made changes -
          Description Original: Since upgrading the FSTrigger plugin to version 0.40 the trigger fails with the following error message:
          {code:java}
          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
          {code}
          Job Settings:
           !image-2020-11-16-13-54-14-473.png|thumbnail!

           

          I suspect this error was introduced with version 0.40. I will try to downgrade to version 0.39 soon, but I can't restart any of our Jenkins instances right now.
          New: Since upgrading the FSTrigger plugin to version 0.40 the trigger fails with the following error message:
          {code:java}
          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
          {code}
          Jenkins log:
          {code:java}
          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)
          {code}
           

          Job Settings:
           !image-2020-11-16-13-54-14-473.png|thumbnail!

           

          I suspect this error was introduced with version 0.40. I will try to downgrade to version 0.39 soon, but I can't restart any of our Jenkins instances right now.
          Simon Tunnat made changes -
          Summary Original: [FSTrigger] Polling error: hudson/matrix/MatrixRun New: [FSTrigger] Polling error: NoClassDefFoundError: hudson/matrix/MatrixRun
          Simon Tunnat made changes -
          Description Original: Since upgrading the FSTrigger plugin to version 0.40 the trigger fails with the following error message:
          {code:java}
          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
          {code}
          Jenkins log:
          {code:java}
          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)
          {code}
           

          Job Settings:
           !image-2020-11-16-13-54-14-473.png|thumbnail!

           

          I suspect this error was introduced with version 0.40. I will try to downgrade to version 0.39 soon, but I can't restart any of our Jenkins instances right now.
          New: Since upgrading the FSTrigger plugin to version 0.40 the trigger fails with the following error message:
          {code:java}
          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
          {code}
          Jenkins log:
          {code:java}
          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)
          {code}
           

          Job Settings:
           !image-2020-11-16-13-54-14-473.png|thumbnail!

           

          This error was introduced with version 0.40. After downgrading to version 0.39 and restarting the Jenkins instance, it works again:
          {code:java}
          Polling started on 16.11.2020 14:14:00
          Polling for the job XXX
          Looking nodes where the poll can be run.
          Looking for a candidate node to run the poll.
          Looking for a node with no predefined label.
          Trying to poll with the last built on node.Polling on master.
          There is more than one file for the file pattern 'F:\X\Y\*.zip'.
          According to the checked strategy, the latest modified file has been selected for the polling.
          The selected file to poll is 'F:\X\Y\XXX.zip'.
          There is no matching files in the folder 'F:\W3Dev\Transfer\AggregatorPE-Zips' for the fileName 'newZip.found'.
          The computed file doesn't exist.Polling complete. Took 0 ms.
          No changes.
          {code}
          Simon Tunnat made changes -
          Description Original: Since upgrading the FSTrigger plugin to version 0.40 the trigger fails with the following error message:
          {code:java}
          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
          {code}
          Jenkins log:
          {code:java}
          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)
          {code}
           

          Job Settings:
           !image-2020-11-16-13-54-14-473.png|thumbnail!

           

          This error was introduced with version 0.40. After downgrading to version 0.39 and restarting the Jenkins instance, it works again:
          {code:java}
          Polling started on 16.11.2020 14:14:00
          Polling for the job XXX
          Looking nodes where the poll can be run.
          Looking for a candidate node to run the poll.
          Looking for a node with no predefined label.
          Trying to poll with the last built on node.Polling on master.
          There is more than one file for the file pattern 'F:\X\Y\*.zip'.
          According to the checked strategy, the latest modified file has been selected for the polling.
          The selected file to poll is 'F:\X\Y\XXX.zip'.
          There is no matching files in the folder 'F:\W3Dev\Transfer\AggregatorPE-Zips' for the fileName 'newZip.found'.
          The computed file doesn't exist.Polling complete. Took 0 ms.
          No changes.
          {code}
          New: Since upgrading the FSTrigger plugin to version 0.40 the trigger fails with the following error message:
          {code:java}
          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
          {code}
          Jenkins log:
          {code:java}
          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)
          {code}
           

          Job Settings:
           !image-2020-11-16-13-54-14-473.png|thumbnail!

           

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

          Simon Tunnat added a comment - - edited

          stealthdj is there anything I can do to help fix this issue? I imagine there are other users that experience this problem.

          Simon Tunnat added a comment - - edited stealthdj is there anything I can do to help fix this issue? I imagine there are other users that experience this problem.

          Tony Noble added a comment -

          Hi simontunnat , my apologies - I don't seem to be getting notifications for issues at the moment, so hadn't seen this until you commented.

          I'll take a look and see what I can find - may come back to you with further requests for detail, if necessary.

           

          Tony Noble added a comment - Hi simontunnat , my apologies - I don't seem to be getting notifications for issues at the moment, so hadn't seen this until you commented. I'll take a look and see what I can find - may come back to you with further requests for detail, if necessary.  

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

              Created:
              Updated:
              Resolved: