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

Crashing builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • youtrack-plugin
    • None
    • Jenkins: ver. 2.68
      youtrack-plugin: 0.7.1

      NullPointerException occurs "randomly" before build steps are executed, right after initial git operations. What's worse, it happens also for jobs with disabled youtrack integration (checkbox "Integrate with YouTrack" is unchecked).

      The same jenkins instance has jobs where YouTrack integration is enabled and it works as expected.

       

      Build ends with following error:

      11:32:18 FAILED: log in with set YouTrack userjava.lang.NullPointerException
      11:32:18 at org.jenkinsci.plugins.youtrack.youtrackapi.YouTrackServer.getProjects(YouTrackServer.java:284)
      11:32:18 at org.jenkinsci.plugins.youtrack.YoutrackIssueUpdater.performActions(YoutrackIssueUpdater.java:112)
      11:32:18 at org.jenkinsci.plugins.youtrack.YoutrackIssueUpdater.update(YoutrackIssueUpdater.java:98)
      11:32:18 at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:30)
      11:32:18 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:576)
      11:32:18 Caused: java.io.IOException: Failed to parse changelog
      11:32:18 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:578)
      11:32:18 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      11:32:18 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:485)
      11:32:18 at hudson.model.Run.execute(Run.java:1735)
      11:32:18 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      11:32:18 at hudson.model.ResourceController.execute(ResourceController.java:97)
      11:32:18 at hudson.model.Executor.run(Executor.java:415)

            erikzielke Erik Zielke
            iteraptor Kamil Kopaczyk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: