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

NPE After update to 0.5.0

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      https://github.com/jenkinsci/git-parameter-plugin/pull/17#issuecomment-208865040

      Jenkins LTS here (1.642.4), we get:

      Caused by: java.lang.NullPointerException
      at java.util.regex.Pattern.<init>(Pattern.java:1350)
      at java.util.regex.Pattern.compile(Pattern.java:1028)
      at net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition.generateContents(GitParameterDefinition.java:313)
      at net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition$DescriptorImpl.doFillValueItems(GitParameterDefinition.java:399)
      definition is:

      gitParam('GIT_BRANCH')

      { description('git branch to build') type('BRANCH') defaultValue('origin/dev/*') }

        Attachments

          Activity

          klimas7 Boguslaw Klimas created issue -
          klimas7 Boguslaw Klimas made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          klimas7 Boguslaw Klimas made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          klimas7 Boguslaw Klimas made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 170690 ] JNJira + In-Review [ 209988 ]

            People

            • Assignee:
              klimas7 Boguslaw Klimas
              Reporter:
              klimas7 Boguslaw Klimas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: