[JIRA] (JENKINS-39044) NPE thrown when firing upstream jobs

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


 
 
 
 

 
 
 

 
   
 Oleg Nenashev updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39044  
 
 
  NPE thrown when firing upstream jobs   
 

  
 
 
 
 

 
Change By: 
 Oleg Nenashev  
 
 
Labels: 
 newbie-friendly  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-39044) NPE thrown when firing upstream jobs

2016-11-12 Thread jenk...@vampyred.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mike Delaney commented on  JENKINS-39044  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE thrown when firing upstream jobs   
 

  
 
 
 
 

 
 The attached files sample-classic.xml and sample-pipeline.xml cause the N.P.E. I do not have generators, I created these by hand.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-39044) NPE thrown when firing upstream jobs

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


 
 
 
 

 
 
 

 
   
 Oleg Nenashev commented on  JENKINS-39044  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE thrown when firing upstream jobs   
 

  
 
 
 
 

 
 On the other hand, https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/jenkins/triggers/ReverseBuildTrigger.java#L139 assumes that threshold is somehow not specified in your job Please provide your job configuration. Do you also use any Job Generators to create such config?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-39044) NPE thrown when firing upstream jobs

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


 
 
 
 

 
 
 

 
   
 Oleg Nenashev edited a comment on  JENKINS-39044  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE thrown when firing upstream jobs   
 

  
 
 
 
 

 
 It is a bug in the ReverseBuildTrigger plugin.  Jenkins API explicitly prohibits passing null: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/Result.java#L129-L131 . Hence there is a bug in the core  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-39044) NPE thrown when firing upstream jobs

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


 
 
 
 

 
 
 

 
   
 Oleg Nenashev commented on  JENKINS-39044  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: NPE thrown when firing upstream jobs   
 

  
 
 
 
 

 
 It is a bug in the ReverseBuildTrigger plugin. Jenkins API explicitly prohibits passing null: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/Result.java#L129-L131  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-39044) NPE thrown when firing upstream jobs

2016-10-17 Thread jenk...@vampyred.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mike Delaney created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39044  
 
 
  NPE thrown when firing upstream jobs   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Attachments: 
 sample-classic.xml, sample-pipeline.xml  
 
 
Components: 
 core  
 
 
Created: 
 2016/Oct/17 6:32 PM  
 
 
Environment: 
 Jenkins: 2.25  Java: 1.8.0_72  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Mike Delaney  
 

  
 
 
 
 

 
 I've run into an issue where, when trying to trigger a pipeline job from a freestyle (classic), I'm seeing a NPE in the jenkins log. This happens when the pipeline job is an upstream of a freestyle job; and trying to watch for new builds of the freestyle. The full stack trace is: 

 

WARNING: RunListener failed
java.lang.NullPointerException
at hudson.model.Result.isBetterOrEqualTo(Result.java:130)
at jenkins.triggers.ReverseBuildTrigger.shouldTrigger(ReverseBuildTrigger.java:139)
at jenkins.triggers.ReverseBuildTrigger.access$000(ReverseBuildTrigger.java:89)
at jenkins.triggers.ReverseBuildTrigger$RunListenerImpl.onCompleted(ReverseBuildTrigger.java:258)
at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:214)
at hudson.model.Run.execute(Run.java:1765)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:401)