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

jira-steps-plugin JCasC export fails with ConfiguratorException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • jira-steps-plugin
    • None
    • Jenkins: 2.180
      org.jenkins-ci.plugins:jira-steps:1.4.5
      io.jenkins:configuration-as-code:1.27

      Using the View/Export feature of the Configuration as Code plugin with Jira Steps Plugin triggers a "FAILED TO EXPORT" while exporting the list of sites:

      config:
          sites: |-
            FAILED TO EXPORT
            org.thoughtslive.jenkins.plugins.jira.Config$ConfigDescriptorImpl#sites: io.jenkins.plugins.casc.ConfiguratorException: Can't read attribute 'name' from [Lorg.thoughtslive.jenkins.plugins.jira.Site;@5d8c8f8c
              at io.jenkins.plugins.casc.Attribute._getValue(Attribute.java:392)
              at io.jenkins.plugins.casc.Attribute.getValue(Attribute.java:214)
              at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.describe(DataBoundConfigurator.java:283)
              at io.jenkins.plugins.casc.Attribute._describe(Attribute.java:260)
              at io.jenkins.plugins.casc.Attribute.describe(Attribute.java:239)
              at io.jenkins.plugins.casc.Configurator.describe(Configurator.java:161)
              at io.jenkins.plugins.casc.impl.configurators.GlobalConfigurationCategoryConfigurator.describe(GlobalConfigurationCategoryConfigurator.java:106)
              at io.jenkins.plugins.casc.impl.configurators.GlobalConfigurationCategoryConfigurator.lambda$describe$3(GlobalConfigurationCategoryConfigurator.java:99)
              at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
              at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
              at java.util.Iterator.forEachRemaining(Iterator.java:116)
              at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
              at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
              at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
              at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
              at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
              at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
              at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
              at io.jenkins.plugins.casc.impl.configurators.GlobalConfigurationCategoryConfigurator.describe(GlobalConfigurationCategoryConfigurator.java:99)
              at io.jenkins.plugins.casc.impl.configurators.GlobalConfigurationCategoryConfigurator.describe(GlobalConfigurationCategoryConfigurator.java:30
      

            nrayapati Naresh Rayapati
            jkd Jim D
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: