-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins 1.502, latest plugins
Restarting Tomcat. During the restart process Jenkins fails to load jobs which use the "FSTrigger", if the rebuild-plugin is installed:
Feb 18, 2013 1:01:45 PM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading job Eval-Hot-Systemtest
java.lang.NullPointerException: Current Project is null
at com.sonyericsson.rebuild.RebuildAction.getProject(RebuildAction.java:138)
at com.sonyericsson.rebuild.RebuildAction.isRebuildAvailable(RebuildAction.java:276)
at com.sonyericsson.rebuild.RebuildAction.getUrlName(RebuildAction.java:163)
at org.jenkinsci.lib.envinject.service.EnvInjectActionRetriever.getEnvInjectAction(EnvInjectActionRetriever.java:36)
at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getEnVars(EnvVarsResolver.java:54)
at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:36)
at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:371)
at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:97)
at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:26)
at hudson.model.AbstractProject.onLoad(AbstractProject.java:294)
at hudson.model.Project.onLoad(Project.java:83)
at hudson.model.Items.load(Items.java:221)
at jenkins.model.Jenkins$17.run(Jenkins.java:2539)
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$7.runTask(Jenkins.java:883)
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:722)
=> Rebuild plugin embeds the envinject library. There is a bug in the current version used by the rebuild plugin. Please upgrade to envinject-lib 1.16.
=> https://issues.jenkins-ci.org/browse/JENKINS-16809