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

No DataBoundConstructor Error when using ExtendedChoiceParameter with Workflow Plugin

XMLWordPrintable

      When trying to use an ExtendedChoiceParameter as parameter in an 'input' step for Workflow the following error is displayed:

      org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition
      at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:177)
      at org.jenkinsci.plugins.workflow.structs.DescribableHelper.loadConstructorParamNames(DescribableHelper.java:273)
      at org.jenkinsci.plugins.workflow.structs.DescribableHelper.instantiate(DescribableHelper.java:89)
      at org.jenkinsci.plugins.workflow.structs.DescribableHelper.coerce(DescribableHelper.java:237)
      at org.jenkinsci.plugins.workflow.structs.DescribableHelper.mapList(DescribableHelper.java:264)

            vimil vimil
            issc29 Isaac Cohen
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: