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

Parallel step snippet generator error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • workflow-cps-plugin
    • None

      When trying to generate a parallel step from the snippet generator an exception is thrown:

      java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.workflow.cps.steps.ParallelStep from {"stapler-class":"org.jenkinsci.plugins.workflow.cps.steps.ParallelStep", "$class":"org.jenkinsci.plugins.workflow.cps.steps.ParallelStep"}
      	at hudson.model.Descriptor.newInstance(Descriptor.java:579)
      	at org.jenkinsci.plugins.workflow.cps.Snippetizer.doGenerateSnippet(Snippetizer.java:212)
      
      ...
      
      Caused by: org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class org.jenkinsci.plugins.workflow.cps.steps.ParallelStep
      	at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:177)
      

            Unassigned Unassigned
            amuniz Antonio Muñiz
            Votes:
            4 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: