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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
    • Environment:
      Jenkins ver. 2.58
      Git client plugin 2.4.5
      Git plugin 3.3.0
      Git Parameter Plug-In 0.8.0
    • Similar Issues:

      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

            Hide
            sebastianreloaded Sebastian Opel added a comment -

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

            Show
            sebastianreloaded Sebastian Opel added a comment - sorry to bother again, but is there a new eta for the 3.3.1 release?
            Hide
            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.

            Show
            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.
            Hide
            overflow vincent park added a comment -

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

            Show
            overflow vincent park added a comment - when can I get 3.3.1 release? I'm waiting..
            Hide
            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.

            Show
            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 .
            Hide
            markewaite Mark Waite added a comment -

            Fixed in git plugin 3.3.1 released 23 Jun 2017

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: