[JIRA] [core] (JENKINS-25758) NPE when triggering downstream job (again)

2014-11-24 Thread sl...@dresearch-fe.de (JIRA)














































Steffen Sledz
 created  JENKINS-25758


NPE when triggering downstream job (again)















Issue Type:


Bug



Assignee:


Unassigned


Components:


core



Created:


24/Nov/14 2:30 PM



Description:


We've some trigger-only jobs which check for repo changes only without any build step. They are used to trigger some downstream jobs only but fire this NPE:

First time build. Skipping changelog.
Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
FATAL: null
java.lang.NullPointerException
	at hudson.model.Result.isBetterOrEqualTo(Result.java:125)
	at jenkins.triggers.ReverseBuildTrigger.shouldTrigger(ReverseBuildTrigger.java:133)
	at jenkins.triggers.ReverseBuildTrigger.access$000(ReverseBuildTrigger.java:83)
	at jenkins.triggers.ReverseBuildTrigger$1.shouldTriggerBuild(ReverseBuildTrigger.java:140)
	at hudson.tasks.BuildTrigger.execute(BuildTrigger.java:243)
	at hudson.model.AbstractBuild$AbstractBuildExecution.cleanUp(AbstractBuild.java:699)
	at hudson.model.Build$BuildExecution.cleanUp(Build.java:194)
	at hudson.model.Run.execute(Run.java:1805)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:89)
	at hudson.model.Executor.run(Executor.java:240)



There are a lot of JENKINS-Issues related to similar problems. But all of them are resolved fixed, cannot reproduce, or duplicated. So this seems to be a new problem.




Environment:


Jenkins 1.590

Fedora release 20 (Heisenbug) x86_64

OpenJDK Runtime Environment 1.7.0_71-mockbuild_2014_10_15_17_02-b00






Project:


Jenkins



Priority:


Major



Reporter:


Steffen Sledz

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [core] (JENKINS-25758) NPE when triggering downstream job (again)

2014-11-24 Thread sl...@dresearch-fe.de (JIRA)














































Steffen Sledz
 updated  JENKINS-25758


NPE when triggering downstream job (again)
















Change By:


Steffen Sledz
(24/Nov/14 2:54 PM)




Description:


Wevesome
trigger-only
jobswhichcheckforrepochangesonlywithoutanybuildstep.Theyareusedtotriggersomedownstreamjobs
onlybut
.Butinsteadoftriggeringthejobsthey
firethisNPE:

{noformat}Firsttimebuild.Skippingchangelog.Warning:youhavenopluginsprovidingaccesscontrolforbuilds,sofallingbacktolegacybehaviorofpermittinganydownstreambuildstobetriggeredFATAL:nulljava.lang.NullPointerException	athudson.model.Result.isBetterOrEqualTo(Result.java:125)	atjenkins.triggers.ReverseBuildTrigger.shouldTrigger(ReverseBuildTrigger.java:133)	atjenkins.triggers.ReverseBuildTrigger.access$000(ReverseBuildTrigger.java:83)	atjenkins.triggers.ReverseBuildTrigger$1.shouldTriggerBuild(ReverseBuildTrigger.java:140)	athudson.tasks.BuildTrigger.execute(BuildTrigger.java:243)	athudson.model.AbstractBuild$AbstractBuildExecution.cleanUp(AbstractBuild.java:699)	athudson.model.Build$BuildExecution.cleanUp(Build.java:194)	athudson.model.Run.execute(Run.java:1805)	athudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)	athudson.model.ResourceController.execute(ResourceController.java:89)	athudson.model.Executor.run(Executor.java:240){noformat}TherearealotofJENKINS-Issuesrelatedtosimilarproblems.Butallofthemareresolved*fixed*,*cannotreproduce*,or*duplicated*.Sothisseemstobeanewproblem.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [core] (JENKINS-25758) NPE when triggering downstream job (again)

2014-11-24 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-25758


NPE when triggering downstream job (again)















This looks a lot like JENKINS-23191. Make sure the downstream project (the one with the trigger defined) has one of the result options selected.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [core] (JENKINS-25758) NPE when triggering downstream job (again)

2014-11-24 Thread sl...@dresearch-fe.de (JIRA)















































Steffen Sledz
 resolved  JENKINS-25758 as Duplicate


NPE when triggering downstream job (again)
















Change By:


Steffen Sledz
(25/Nov/14 7:54 AM)




Status:


Open
Resolved





Resolution:


Duplicate



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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] [core] (JENKINS-25758) NPE when triggering downstream job (again)

2014-11-24 Thread sl...@dresearch-fe.de (JIRA)














































Steffen Sledz
 commented on  JENKINS-25758


NPE when triggering downstream job (again)















You're right. After resetting the result options for all downstream projects everything works well.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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