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

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Boguslaw Klimas
          Path:
          src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition.java
          http://jenkins-ci.org/commit/git-parameter-plugin/b1cdf2653e4010603ff90cf02cd5f6fb54245b40
          Log:
          Merge pull request #22 from jenkinsci/bugfix/JENKINS-34544

          NPE After update to 0.5.0

          Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/11074b527dde...b1cdf2653e40

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Boguslaw Klimas Path: src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition.java http://jenkins-ci.org/commit/git-parameter-plugin/b1cdf2653e4010603ff90cf02cd5f6fb54245b40 Log: Merge pull request #22 from jenkinsci/bugfix/ JENKINS-34544 NPE After update to 0.5.0 Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/11074b527dde...b1cdf2653e40

            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: