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

git2 Can not select BuildChooser

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin
    • None
    • git-client 1.4.0
      git-plugin 2.0-beta-3
      gerrit-trigger 2.10.1
      Jenkins 1.480.3

      When selecting "Strategy for choosing what to build" from the initial behaviours hetero list nothing happens.

      In the log I see the following stack trace

      Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/XXX/webapps/ROOT/WEB-INF/lib/jenkins-core
      -1.480.3.jar!/lib/form/entry.jelly:73:23: <d:invokeBody> java.lang.NullPointerException
      at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:283)
      ... 96 more
      Caused by: java.lang.NullPointerException
      at hudson.plugins.git.util.BuildChooser.allApplicableTo(BuildChooser.java:159)
      at hudson.plugins.git.extensions.impl.BuildChooserSetting$DescriptorImpl.getBuildChooserDescriptors(BuildChooserSetting.java:41)
      at hudson.plugins.git.extensions.impl.BuildChooserSetting$DescriptorImpl$getBuildChooserDescriptors.call(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      at hudson.plugins.git.extensions.impl.BuildChooserSetting$DescriptorImpl$getBuildChooserDescriptors.call(Unknown Source)
      at hudson.plugins.git.extensions.impl.BuildChooserSetting.config$_run_closure1.doCall(config.groovy:6)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
      at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:884)

            ndeloof Nicolas De Loof
            rsandell rsandell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: