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

WARNING: Actions from org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty$Factory@1234 for org.jenkinsci.plugins.workflow.job.WorkflowJob@123[job-name] included null not assignable to interface hudson.model.Action

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • workflow-job-plugin
    • None
    • Jenkins ver. 2.60.2

      Jenkins log displays this error every few seconds and so far I was unable to get any meaning out of it.

      WARNING: Actions from org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty$Factory@1b6f4974 for org.jenkinsci.plugins.workflow.job.WorkflowJob@26a5b3af[DFG-storage-sahara-10-unit-rhos] included null not assignable to interface hudson.model.Action
      Jul 25, 2017 6:31:29 PM hudson.model.Actionable createFor

      It seems that I had to raise a bug in order to find out what could cause it.

          [JENKINS-45788] WARNING: Actions from org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty$Factory@1234 for org.jenkinsci.plugins.workflow.job.WorkflowJob@123[job-name] included null not assignable to interface hudson.model.Action

          Sorin Sbarnea created issue -
          Sorin Sbarnea made changes -
          Environment New: Jenkins ver. 2.60.2

          Andrew Bayer added a comment -

          Any chance you could give the triggers config you're using? I think I see the problem, but without a reproduction case, I can't write a test.

          Andrew Bayer added a comment - Any chance you could give the triggers config you're using? I think I see the problem, but without a reproduction case, I can't write a test.
          Andrew Bayer made changes -
          Assignee New: Andrew Bayer [ abayer ]
          Andrew Bayer made changes -
          Component/s New: workflow-job-plugin [ 21716 ]
          Component/s Original: workflow-api-plugin [ 21711 ]
          Jesper Jensen made changes -
          Comment [ I'm also getting this error:
          {code:java}
          WARNING: null action added by org.jenkinsci.plugins.remote_terminal_access.TransientBuildActionFactoryImpl@2293b6c3
          Oct 19, 2017 7:51:21 AM hudson.model.Run getTransientActions
          WARNING: null action added by org.jenkinsci.plugins.remote_terminal_access.TransientBuildActionFactoryImpl@2293b6c3
          Oct 19, 2017 7:51:21 AM hudson.model.Run getTransientActions
          WARNING: null action added by org.jenkinsci.plugins.remote_terminal_access.TransientBuildActionFactoryImpl@2293b6c3
          Oct 19, 2017 7:51:21 AM hudson.model.Run getTransientActions
          WARNING: null action added by org.jenkinsci.plugins.remote_terminal_access.TransientBuildActionFactoryImpl@2293b6c3
          Oct 19, 2017 7:51:21 AM hudson.model.Run getTransientActions{code} ]
          Queria Sa-Tas made changes -
          Attachment New: x1 [ 41150 ]

          Queria Sa-Tas added a comment -

          Hi abayer, I've attached example/simplified config.xml of job mentioned by Sorin hope it shows the part You requested (gerrit trigger there are no other triggers for that job, aside when run manually or such), as it's still happening (jenkins 2.60.3 now).

          Queria Sa-Tas added a comment - Hi abayer , I've attached example/simplified config.xml of job mentioned by Sorin hope it shows the part You requested (gerrit trigger there are no other triggers for that job, aside when run manually or such), as it's still happening (jenkins 2.60.3 now).

          Sorin Sbarnea added a comment - - edited

          After some extra digging I found that the error disappears if you open job config and save it without making any change to it, meaning the Jenkins is fixing the XML file.

          Doing a diff of before and after this, I came up with few changes being added by Jenkins:

          1. <dynamicGerritProjects class="empty-list"/> is added, missing before.
          2. <triggerInformationAction/> is added, missing before, this being probably the cause of the error message.
          3. few others which I am going to ignore for the moment.

          Sorin Sbarnea added a comment - - edited After some extra digging I found that the error disappears if you open job config and save it without making any change to it, meaning the Jenkins is fixing the XML file. Doing a diff of before and after this, I came up with few changes being added by Jenkins: <dynamicGerritProjects class="empty-list"/> is added, missing before. <triggerInformationAction/> is added, missing before, this being probably the cause of the error message. few others which I am going to ignore for the moment.

          Sorin Sbarnea added a comment -

          I have final confirmation that what causes this bug is the missing `<triggerInformationAction/>` section from config.xml file. This is clearly a gerrit-trigger plugin bug but I also made CR for improving JJB in order to mention this parameter when generating config.xml file.

          See https://review.openstack.org/#/c/540851/ – I already tested it and found it as working. Still, this bug should not be closed as missing section should have same effect as one that is empty.

          Sorin Sbarnea added a comment - I have final confirmation that what causes this bug is the missing `<triggerInformationAction/>` section from config.xml file. This is clearly a gerrit-trigger plugin bug but I also made CR for improving JJB in order to mention this parameter when generating config.xml file. See https://review.openstack.org/#/c/540851/ – I already tested it and found it as working. Still, this bug should not be closed as missing section should have same effect as one that is empty.

            Unassigned Unassigned
            ssbarnea Sorin Sbarnea
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: