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

Jenkins build failed with java.lang.NullPointerException caused:java.io.IOException: Failed to parse changelog

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Component/s: jira-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver 2.141, plugins: JIRA 3.0.3,Git Changelog 2.6, Git 3.9.1,
      macOS High Sierra 10.13.6
    • Similar Issues:

      Description

      java.lang.NullPointerException
       at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:295)
       at hudson.plugins.jira.JiraSite.getSession(JiraSite.java:278)
       at io.jenkins.blueocean.service.embedded.jira.JiraSCMListener.onChangeLogParsed(JiraSCMListener.java:38)
       at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:120)
       at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:590)
       Caused: java.io.IOException: Failed to parse changelog
       at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:592)
       at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
       at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
       at hudson.model.Run.execute(Run.java:1815)
       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
       at hudson.model.ResourceController.execute(ResourceController.java:97)
       at hudson.model.Executor.run(Executor.java:429)

        Attachments

          Activity

          Hide
          warden Radek Antoniuk added a comment -

          hudson.plugins.jira.JiraSite.createSession(JiraSite.java:295)
          This means that probably Jenkins has trouble connecting to your JIRA instance.

          1. Does JIRA integration work fine in other places in Jenkins? 
          2. Can you try VALIDATE button in Jenkins JIRA site settings?
          Show
          warden Radek Antoniuk added a comment - hudson.plugins.jira.JiraSite.createSession(JiraSite.java:295) This means that probably Jenkins has trouble connecting to your JIRA instance. Does JIRA integration work fine in other places in Jenkins?  Can you try VALIDATE button in Jenkins JIRA site settings?
          Hide
          warden Radek Antoniuk added a comment -

          Closing by timeout, feel free to reopen if you validated your credentials with curl and you believe that's a bug. 
          https://issues.jenkins-ci.org/secure/AddComment!default.jspa?id=198519

          Show
          warden Radek Antoniuk added a comment - Closing by timeout, feel free to reopen if you validated your credentials with curl and you believe that's a bug.  https://issues.jenkins-ci.org/secure/AddComment!default.jspa?id=198519

            People

            • Assignee:
              Unassigned
              Reporter:
              lokya young liu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: