strange things happen… :) I'm happy to fix the issue - could you fill an issue so we can keep track of it? /Domi
On 20.11.2012, at 15:57, Jason Swager <[email protected]> wrote: > I agree that if you had a job with a conditional build step that had no steps > within it, then you could sort of expect to see this error. Easy enough to > workaround. > > But the problem I'm seeing is happening when Jenkins starts up. We see the > typical "starting up" page, then we get this error. No dashboard, no job > lists, just this error. All we did was install the plugin - we couldn't run > Jenkins far enough to USE the plugin. So we've had to remove it. > > On Monday, November 19, 2012 8:42:51 PM UTC-8, domi wrote: > OK, I checked the code, and the issue really is that you did not define any > steps… > I agree, this is a bug, but a conditional build step without any step, does > not make sense either - so just remove the conditional step or add a step > into it. > /Domi > > On 20.11.2012, at 03:40, alok kumar <[email protected]> wrote: > >> Hi, >> I am using the latest version of the plugin i.e. 1.2.1 >> I havent yet conigured any steps as this error occurs soon after I try to >> start jenkins after adding this plugin. >> This occurs every time and as soon as I remove this plugin from the plugins >> folder and restart jenkins, everything gets back to normal. >> >> Waiting for a your reply. >> >> Thanks, >> Alok >> >> >> On Tue, Nov 20, 2012 at 3:16 AM, domi <[email protected]> wrote: >> can you give me some more context information about it? >> e.g. >> - which version of the conditional-buildstep plugin are you running? >> - what kind of steps did you configure? >> - when does does the error occur? every time? >> >> Domi >> >> >> >> On 19.11.2012, at 14:32, alok kumar <[email protected]> wrote: >> >>> >>> Hi, >>> >>> I am facing the following problem while trying to use conditional build >>> step plugin. >>> >>> >>> >>> As a result of this, Jenkins fails to start. >>> >>> >>> >>> If I remove this plugin from the plugins folder and restart Jenkins, it >>> starts without any issues. >>> >>> >>> >>> I already have the dependent plugins i.e. run condition and token macro >>> installed. >>> >>> >>> >>> This is blocking our release and hence any help would be greatly >>> appreciated. >>> >>> >>> Can you please tell me if there is some problem with this plugin? >>> >>> >>> >>> SEVERE: Failed Finalizing set up >>> >>> java.lang.NullPointerException >>> >>> at >>> org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder.buildDependencyGraph(ConditionalBuilder.java:172) >>> >>> at >>> hudson.util.DescribableList.buildDependencyGraph(DescribableList.java:194) >>> >>> at hudson.model.Project.buildDependencyGraph(Project.java:170) >>> >>> at hudson.model.DependencyGraph.build(DependencyGraph.java:91) >>> >>> at jenkins.model.Jenkins.rebuildDependencyGraph(Jenkins.java:3415) >>> >>> at jenkins.model.Jenkins$16.run(Jenkins.java:2448) >>> >>> at >>> org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) >>> >>> at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) >>> >>> at jenkins.model.Jenkins$6.runTask(Jenkins.java:839) >>> >>> at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) >>> >>> at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) >>> >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) >>> >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) >>> >>> at java.lang.Thread.run(Thread.java:636) >>> >>> Nov 19, 2012 3:55:13 PM hudson.WebAppMain$2 run >>> >>> SEVERE: Failed to initialize Jenkins >>> >>> org.jvnet.hudson.reactor.ReactorException: java.lang.NullPointerException >>> >>> at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) >>> >>> at jenkins.InitReactorRunner.run(InitReactorRunner.java:43) >>> >>> at jenkins.model.Jenkins.executeReactor(Jenkins.java:850) >>> >>> at jenkins.model.Jenkins.<init>(Jenkins.java:762) >>> >>> at hudson.model.Hudson.<init>(Hudson.java:81) >>> >>> at hudson.model.Hudson.<init>(Hudson.java:77) >>> >>> at hudson.WebAppMain$2.run(WebAppMain.java:217) >>> >>> Caused by: java.lang.NullPointerException >>> >>> at >>> org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder.buildDependencyGraph(ConditionalBuilder.java:172) >>> >>> at >>> hudson.util.DescribableList.buildDependencyGraph(DescribableList.java:194) >>> >>> at hudson.model.Project.buildDependencyGraph(Project.java:170) >>> >>> at hudson.model.DependencyGraph.build(DependencyGraph.java:91) >>> >>> at jenkins.model.Jenkins.rebuildDependencyGraph(Jenkins.java:3415) >>> >>> at jenkins.model.Jenkins$16.run(Jenkins.java:2448) >>> >>> at >>> org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) >>> >>> at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) >>> >>> at jenkins.model.Jenkins$6.runTask(Jenkins.java:839) >>> >>> at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) >>> >>> at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) >>> >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) >>> >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) >>> >>> at java.lang.Thread.run(Thread.java:636) >>> >>> >>> >>> Thanks & Regards, >>> >>> Alok Kumar >>> >>> >>> >>> >> >> >
