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

NullpointerException when loading dynamic config jobs when updated to 2.11

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      See the stacktrace

      Mar 12, 2014 5:37:05 PM jenkins.InitReactorRunner$1 onTaskFailed
      SEVERE: Failed Loading job Gerrit_check_job
      java.lang.NullPointerException
      at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerTimer.schedule(GerritTriggerTimer.java:87)
      at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerTimerTask.<init>(GerritTriggerTimerTask.java:44)
      at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:352)
      at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:110)
      at hudson.model.AbstractProject.onLoad(AbstractProject.java:327)
      at hudson.model.Project.onLoad(Project.java:90)
      at hudson.model.Items.load(Items.java:221)
      at jenkins.model.Jenkins$18.run(Jenkins.java:2616)
      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:945)
      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:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)

        Attachments

          Activity

          Hide
          rsandell rsandell added a comment -

          This is due to the serverName not being fully migrated to the dynamic trigger config. e.g. serverName is null.

          Show
          rsandell rsandell added a comment - This is due to the serverName not being fully migrated to the dynamic trigger config. e.g. serverName is null.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Robert Sandell
          Path:
          gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritDynamicUrlProcessor.java
          gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTrigger.java
          gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTimer.java
          gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTimerTask.java
          gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/spec/BackCompat2101HudsonTest.java
          gerrithudsontrigger/src/test/resources/com/sonyericsson/hudson/plugins/gerrit/trigger/spec/BackCompat2101HudsonTest/testDynamicTriggerLoading.zip
          http://jenkins-ci.org/commit/gerrit-trigger-plugin/991302d092baffce18a46f66702e1c84d55220e1
          Log:
          Fix JENKINS-22155

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Sandell Path: gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritDynamicUrlProcessor.java gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTrigger.java gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTimer.java gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTimerTask.java gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/spec/BackCompat2101HudsonTest.java gerrithudsontrigger/src/test/resources/com/sonyericsson/hudson/plugins/gerrit/trigger/spec/BackCompat2101HudsonTest/testDynamicTriggerLoading.zip http://jenkins-ci.org/commit/gerrit-trigger-plugin/991302d092baffce18a46f66702e1c84d55220e1 Log: Fix JENKINS-22155
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Robert Sandell
          Path:
          gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritDynamicUrlProcessor.java
          gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTrigger.java
          gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTimer.java
          gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTimerTask.java
          gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/spec/BackCompat2101HudsonTest.java
          gerrithudsontrigger/src/test/resources/com/sonyericsson/hudson/plugins/gerrit/trigger/spec/BackCompat2101HudsonTest/testDynamicTriggerLoading.zip
          http://jenkins-ci.org/commit/gerrit-trigger-plugin/6370c3737d0a1acdd5a6324fff12178bdfc31ff7
          Log:
          Fix JENKINS-22155

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Sandell Path: gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritDynamicUrlProcessor.java gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTrigger.java gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTimer.java gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTimerTask.java gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/spec/BackCompat2101HudsonTest.java gerrithudsontrigger/src/test/resources/com/sonyericsson/hudson/plugins/gerrit/trigger/spec/BackCompat2101HudsonTest/testDynamicTriggerLoading.zip http://jenkins-ci.org/commit/gerrit-trigger-plugin/6370c3737d0a1acdd5a6324fff12178bdfc31ff7 Log: Fix JENKINS-22155
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Robert Sandell
          Path:
          src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritDynamicUrlProcessor.java
          src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTrigger.java
          src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTimer.java
          src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTimerTask.java
          src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/spec/BackCompat2101HudsonTest.java
          src/test/resources/com/sonyericsson/hudson/plugins/gerrit/trigger/spec/BackCompat2101HudsonTest/testDynamicTriggerLoading.zip
          http://jenkins-ci.org/commit/gerrit-trigger-plugin/f31788d7d04674c705ba793d1175026005eae4b9
          Log:
          Fix JENKINS-22155

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Sandell Path: src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritDynamicUrlProcessor.java src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTrigger.java src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTimer.java src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTimerTask.java src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/spec/BackCompat2101HudsonTest.java src/test/resources/com/sonyericsson/hudson/plugins/gerrit/trigger/spec/BackCompat2101HudsonTest/testDynamicTriggerLoading.zip http://jenkins-ci.org/commit/gerrit-trigger-plugin/f31788d7d04674c705ba793d1175026005eae4b9 Log: Fix JENKINS-22155
          Hide
          rsandell rsandell added a comment -

          Released in 2.11.1

          Show
          rsandell rsandell added a comment - Released in 2.11.1

            People

            • Assignee:
              rsandell rsandell
              Reporter:
              rsandell rsandell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: