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

NPE when empty JIRA site is saved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • jira-plugin

      When run via timers or Github pull requests (SCM triggers), Jenkins fails intermittently about 50% of the time with a java.io.Exception while attempting to parse the Git changelog.

      The same job runs fine when triggered manually.

      {{ Error output:}}

      {{ 07:24:14 > git rev-list ea5911bc9883d34d023640978ed98ff9192bb155 # timeout=10}}
      {{ 07:24:14 java.lang.NullPointerException}}
      {{ 07:24:14 at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:289)}}
      {{ 07:24:14 at hudson.plugins.jira.JiraSite.getSession(JiraSite.java:272)}}
      {{ 07:24:14 at io.jenkins.blueocean.service.embedded.jira.JiraSCMListener.onChangeLogParsed(JiraSCMListener.java:38)}}
      {{ 07:24:14 at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:120)}}
      {{ 07:24:14 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:590)}}
      {{ 07:24:14 Caused: java.io.IOException: Failed to parse changelog}}
      {{ 07:24:14 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:592)}}
      {{ 07:24:14 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)}}
      {{ 07:24:14 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)}}
      {{ 07:24:14 at hudson.model.Run.execute(Run.java:1724)}}
      {{ 07:24:14 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)}}
      {{ 07:24:14 at hudson.model.ResourceController.execute(ResourceController.java:97)}}
      {{ 07:24:14 at hudson.model.Executor.run(Executor.java:421)}}

            Unassigned Unassigned
            anupamsg Anupam Sengupta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: