[JIRA] (JENKINS-53860) Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included n

2018-10-02 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53860  
 
 
  Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included null not assignable to interface hudson.model.Action   
 

  
 
 
 
 

 
Change By: 
 Oleg Nenashev  
 
 
Released As: 
 Last Changes 2.6.8  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-53860) Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included n

2018-10-01 Thread rmpest...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rafael Pestano resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53860  
 
 
  Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included null not assignable to interface hudson.model.Action   
 

  
 
 
 
 

 
Change By: 
 Rafael Pestano  
 
 
Status: 
 In Progress Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-53860) Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included n

2018-10-01 Thread rmpest...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rafael Pestano started work on  JENKINS-53860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Rafael Pestano  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-53860) Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included n

2018-10-01 Thread rmpest...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rafael Pestano commented on  JENKINS-53860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included null not assignable to interface hudson.model.Action   
 

  
 
 
 
 

 
 v2.6.8 was just released with the fix. Thank you again Oleg Nenashev!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-53860) Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included n

2018-10-01 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev edited a comment on  JENKINS-53860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included null not assignable to interface hudson.model.Action   
 

  
 
 
 
 

 
 It is The fact it appears in 2.144 may be  somehow related to the JENKINS-53353 fix in [https://github.com/jenkinsci/jenkins/pull/3608]  (CC [~agentgonzo]). It enabled proper handling of actions, and most likely it leads to proper calculation of this one. But I believe it is coincidence, Jenkins behaves correctlyThe Last Changes plugin returns null singleton here: [https://github.com/jenkinsci/last-changes-plugin/blob/57a22d9c5814254f240365a40f5169ca834abd62/src/main/java/com/github/jenkins/lastchanges/LastChangesProjectAction.java#L61]It was introduced by [~rmpestano] 23 days ago in [https://github.com/jenkinsci/last-changes-plugin/commit/57a22d9c5814254f240365a40f5169ca834abd62] . The fix changes invalid null return value to invalid singleton null. I believe that Jenkins returns error properly. According to [https://javadoc.jenkins.io/jenkins/model/TransientActionFactory.html#createFor-T-] , an empty list should be returned in this line    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-53860) Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included n

2018-10-01 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53860  
 
 
  Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included null not assignable to interface hudson.model.Action   
 

  
 
 
 
 

 
Change By: 
 Oleg Nenashev  
 
 
Labels: 
 newbie-friendly  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-53860) Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included n

2018-10-01 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev commented on  JENKINS-53860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included null not assignable to interface hudson.model.Action   
 

  
 
 
 
 

 
 It is somehow related to the JENKINS-53353 fix in https://github.com/jenkinsci/jenkins/pull/3608  (CC Steve Arch). It enabled proper handling of actions, and most likely it leads to proper calculation of this one. But I believe it is coincidence, Jenkins behaves correctly The Last Changes plugin returns null singleton here: https://github.com/jenkinsci/last-changes-plugin/blob/57a22d9c5814254f240365a40f5169ca834abd62/src/main/java/com/github/jenkins/lastchanges/LastChangesProjectAction.java#L61 It was introduced by Rafael Pestano 23 days ago in https://github.com/jenkinsci/last-changes-plugin/commit/57a22d9c5814254f240365a40f5169ca834abd62 . The fix changes invalid null return value to invalid singleton null. I believe that Jenkins returns error properly. According to https://javadoc.jenkins.io/jenkins/model/TransientActionFactory.html#createFor-T- , an empty list should be returned in this line      
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-53860) Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included n

2018-10-01 Thread wypyche...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Emil Wypych created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53860  
 
 
  Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included null not assignable to interface hudson.model.Action   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Rafael Pestano  
 
 
Attachments: 
 config.xml  
 
 
Components: 
 last-changes-plugin  
 
 
Created: 
 2018-10-01 19:54  
 
 
Environment: 
 Jenkins v. 2.144  Last Changes Plugin v. 2.6.7  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Emil Wypych  
 

  
 
 
 
 

 
 After the last Jenkins update (from 2.140 to 2.144) I see a lot of warnings in the Jenkins logs:   

 
Actions from com.github.jenkins.lastchanges.LastChangesProjectAction$LastChangesActionFactory@72b8d345 for hudson.model.FreeStyleProject@40fdcb64[testing/limit-hosts] included null not assignable to interface hudson.model.Action
 

 It doesn't affect each job, but - what is the most surprising - also some jobs without SCM configured have that warning (example in the logs above). In the attachment, you can find an XML of this job (it's just a simple job with one parameter and one shell step). Such logs appear after I open a job. It's not needed to configure or run a job. The problem exists in both types - with Last Changes active and configured and without