Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: fstrigger-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.471 & ver. 1.517
    • Similar Issues:

      Description

      I upgraded to the latest version and some Jobs are missing. No idea why this is happening.
      In the log I see the following for every job that is missing:

      SEVERE: Failed Loading job BlockCrusher
      java.lang.NullPointerException
      at org.jenkinsci.lib.envinject.service.EnvVarsResolver.gatherEnvVarsNodeProperties(EnvVarsResolver.java:113)
      at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getDefaultEnvVarsJob(EnvVarsResolver.java:87)
      at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:41)
      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:289)
      at hudson.model.Project.onLoad(Project.java:88)
      at hudson.model.Items.load(Items.java:115)
      at jenkins.model.Jenkins$16.run(Jenkins.java:2484)
      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:874)
      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:679)

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          New version of EnvInject API plugin cleaned up all such issues.

          FSTrigger plugin needs to update to this new EnvInject API Plugin instead of EnvInject lib.

          Show
          oleg_nenashev Oleg Nenashev added a comment - New version of EnvInject API plugin cleaned up all such issues. FSTrigger plugin needs to update to this new EnvInject API Plugin instead of EnvInject lib.
          Hide
          danielbeck Daniel Beck added a comment -

          Not a core issue (but core got more robust against buggy plugins in 1.545 and 1.558, so that might be worth a try!)

          Show
          danielbeck Daniel Beck added a comment - Not a core issue (but core got more robust against buggy plugins in 1.545 and 1.558, so that might be worth a try!)
          Hide
          tjbiddle TJ Biddle added a comment -

          Just ran into this - Some plugins were uninstalled when I upgraded, when I re-installed the plugins, my jobs showed up. Check to make sure your jobs still exist in the jobs directory on your master node.

          I'd report the bug as plugins are being uninstalled when upgrading.

          Show
          tjbiddle TJ Biddle added a comment - Just ran into this - Some plugins were uninstalled when I upgraded, when I re-installed the plugins, my jobs showed up. Check to make sure your jobs still exist in the jobs directory on your master node. I'd report the bug as plugins are being uninstalled when upgrading.
          Hide
          kula Marcin Kulisz added a comment -

          I just upgraded from 1.502 to 1.517 and 3/4 of my jobs disappeared from dashboard.
          Projects are still on hdd, config files are there just 1.517 seems doesn't like them anymore.
          Downgrading from 1.517 to 1.502 is working and all jobs are back, was there a config.xml format change as I can't find a word about it in the changelog.

          Following error poped up into log (for each of the missing projects):
          SEVERE: Failed Loading job 02-TEST_env
          java.lang.NullPointerException
          at hudson.plugins.promoted_builds.JobPropertyImpl.getItem(JobPropertyImpl.java:220)
          at hudson.plugins.promoted_builds.JobPropertyImpl.getItem(JobPropertyImpl.java:41)
          at hudson.model.AbstractProject.onLoad(AbstractProject.java:296)
          at hudson.model.Items.load(Items.java:221)
          at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99)
          at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:145)
          at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:41)
          at hudson.model.Job.onLoad(Job.java:201)
          at hudson.model.AbstractProject.onLoad(AbstractProject.java:287)
          at hudson.model.Project.onLoad(Project.java:83)
          at hudson.model.Items.load(Items.java:221)
          at jenkins.model.Jenkins$17.run(Jenkins.java:2542)
          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:893)
          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:1146)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          at java.lang.Thread.run(Thread.java:679)
          05-Jun-2013 12:31:44 jenkins.InitReactorRunner$1 onTaskFailed

          Show
          kula Marcin Kulisz added a comment - I just upgraded from 1.502 to 1.517 and 3/4 of my jobs disappeared from dashboard. Projects are still on hdd, config files are there just 1.517 seems doesn't like them anymore. Downgrading from 1.517 to 1.502 is working and all jobs are back, was there a config.xml format change as I can't find a word about it in the changelog. Following error poped up into log (for each of the missing projects): SEVERE: Failed Loading job 02-TEST_env java.lang.NullPointerException at hudson.plugins.promoted_builds.JobPropertyImpl.getItem(JobPropertyImpl.java:220) at hudson.plugins.promoted_builds.JobPropertyImpl.getItem(JobPropertyImpl.java:41) at hudson.model.AbstractProject.onLoad(AbstractProject.java:296) at hudson.model.Items.load(Items.java:221) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99) at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:145) at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:41) at hudson.model.Job.onLoad(Job.java:201) at hudson.model.AbstractProject.onLoad(AbstractProject.java:287) at hudson.model.Project.onLoad(Project.java:83) at hudson.model.Items.load(Items.java:221) at jenkins.model.Jenkins$17.run(Jenkins.java:2542) 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:893) 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:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) 05-Jun-2013 12:31:44 jenkins.InitReactorRunner$1 onTaskFailed
          Hide
          gbois Gregory Boissinot added a comment -

          It is strange.
          Technically, you should have another stack trace with EnvInject plugin 0.33.

          Show
          gbois Gregory Boissinot added a comment - It is strange. Technically, you should have another stack trace with EnvInject plugin 0.33.

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              peerke Peter Fortuin
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: