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

NPE after 'Track credentials of project's last build rather than project'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • git-plugin
    • Jenkins ver. 2.58
      Git client plugin 2.4.5
      Git plugin 3.3.0
      Git Parameter Plug-In 0.8.0

    Description

      Hi,
      I'm owner 'Git Parameter Plug-In', I use Git Client (GitSCM) to get branch list or tag from git repository,
      I do it befor build start. When job start first time I dont have "project.getLastBuild() this metod return null.

      java.lang.NullPointerException
      	at hudson.model.Fingerprint.addFor(Fingerprint.java:1023)
      	at com.cloudbees.plugins.credentials.CredentialsProvider.trackAll(CredentialsProvider.java:1458)
      	at com.cloudbees.plugins.credentials.CredentialsProvider.track(CredentialsProvider.java:1422)
      	at hudson.plugins.git.GitSCM.createClient(GitSCM.java:767)
      	at hudson.plugins.git.GitSCM.createClient(GitSCM.java:743)
      

       
      Commit
      JIRA in Git parameter

      Attachments

        Issue Links

          Activity

            sorry to bother again, but is there a new eta for the 3.3.1 release?

            sebastianreloaded Sebastian Opel added a comment - sorry to bother again, but is there a new eta for the 3.3.1 release?
            markewaite Mark Waite added a comment -

            I expect the release within the next 7-10 days. Continue using the pre-release build mentioned in the earlier comment until that release is available.

            markewaite Mark Waite added a comment - I expect the release within the next 7-10 days. Continue using the pre-release build mentioned in the earlier comment until that release is available.
            overflow vincent park added a comment -

            when can I get 3.3.1 release? I'm waiting..

            overflow vincent park added a comment - when can I get 3.3.1 release? I'm waiting..
            markewaite Mark Waite added a comment -

            I expect to release 3.3.1 before the end of this week. If it is urgent, please use the snapshot build that is mentioned in the earlier comment.

            markewaite Mark Waite added a comment - I expect to release 3.3.1 before the end of this week. If it is urgent, please use the snapshot build that is mentioned in the earlier comment .
            markewaite Mark Waite added a comment -

            Fixed in git plugin 3.3.1 released 23 Jun 2017

            markewaite Mark Waite added a comment - Fixed in git plugin 3.3.1 released 23 Jun 2017

            People

              markewaite Mark Waite
              klimas7 Boguslaw Klimas
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: