Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12466

Jobs using repo plugin do not persist

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • repo-plugin
    • None
    • Ubuntu 10.04, Jenkins 1.448, repo plugin 1.2

    Description

      I lost a job that used the repo plugin, after restarting Jenkins. I checked the jenkins log, and this is the error shown in the log:
      Jan 18, 2012 4:43:28 PM jenkins.InitReactorRunner$1 onTaskFailed
      SEVERE: Failed Loading job Manifest_Monitor
      java.lang.NullPointerException
      at hudson.plugins.repo.RevisionState.hashCode(RevisionState.java:139)
      at java.lang.Object.toString(Object.java:219)
      at java.lang.String.valueOf(String.java:2826)
      at java.util.Arrays.toString(Arrays.java:4071)
      at java.util.concurrent.CopyOnWriteArrayList.toString(CopyOnWriteArrayList.java:860)
      at java.lang.String.valueOf(String.java:2826)
      at java.lang.StringBuilder.append(StringBuilder.java:115)
      at org.jvnet.hudson.plugins.DownStreamProjectActionFactory.createFor(DownStreamProjectActionFactory.java:69)
      at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:612)
      at hudson.model.Project.createTransientActions(Project.java:203)
      at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:602)
      at hudson.model.AbstractProject.onLoad(AbstractProject.java:272)
      at hudson.model.Project.onLoad(Project.java:88)
      at hudson.model.Items.load(Items.java:115)
      at jenkins.model.Jenkins$14.run(Jenkins.java:2372)
      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$5.runTask(Jenkins.java:812)
      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$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Jan 18, 2012 4:43:28 PM
      org.jvnet.hudson.plugins.DownStreamProjectActionFactory createFor

      Attachments

        Activity

          I agree Greg, and the plugin works quite nicely with the patch applied. So where do we find someone who have access to integrate it?

          bjarkef Bjarke Freund-Hansen added a comment - I agree Greg, and the plugin works quite nicely with the patch applied. So where do we find someone who have access to integrate it?

          pull request merged.
          Please ask on the dev list if the plugin maintainer wants to release it. Otherwise I'll do it.

          aheritier Arnaud Héritier added a comment - pull request merged. Please ask on the dev list if the plugin maintainer wants to release it. Otherwise I'll do it.

          Code changed in jenkins
          User: Arnaud Heritier
          Path:
          pom.xml
          http://jenkins-ci.org/commit/repo-plugin/d48ea50ab88f37a30c084cc3fd3868b2a29b824c
          Log:
          RElease a bugfix for JENKINS-12466

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Heritier Path: pom.xml http://jenkins-ci.org/commit/repo-plugin/d48ea50ab88f37a30c084cc3fd3868b2a29b824c Log: RElease a bugfix for JENKINS-12466

          Will be fixed in 1.2.1

          aheritier Arnaud Héritier added a comment - Will be fixed in 1.2.1
          gbougeard Greg BOUGEARD added a comment -

          Any planned date for 1.2.1?

          This issue is really a show stoppper for repo plugin.

          gbougeard Greg BOUGEARD added a comment - Any planned date for 1.2.1? This issue is really a show stoppper for repo plugin.

          People

            aheritier Arnaud Héritier
            senthil Senthil Natarajan
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: