Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perforce plugin: JCasC cannot export configuration #934

Closed
6 tasks done
courteouselk opened this issue Jun 28, 2019 · 4 comments
Closed
6 tasks done

Perforce plugin: JCasC cannot export configuration #934

courteouselk opened this issue Jun 28, 2019 · 4 comments
Labels
plugin-compatibility stale Used by stale[bot] to mark a issue/PR stale

Comments

@courteouselk
Copy link

Your checklist for this issue

🚨 Please review the guidelines for contributing to this repository.
💡 To better understand plugin compatibility issues, you can read more here

Description

If P4 credentials are configured, then JCasC fails to export Jenkins configuration with an error:

FAILED TO EXPORT com.cloudbees.plugins.credentials.domains.DomainCredentials#credentials: java.lang.IllegalArgumentException: argument type mismatch
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.describe(DataBoundConfigurator.java:255)
  at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.lambda$convertToNode$de0cd4f8$1(HeteroDescribableConfigurator.java:224)
  at io.vavr.CheckedFunction0.lambda$unchecked$52349c75$1(CheckedFunction0.java:201)
  at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.convertToNode(HeteroDescribableConfigurator.java:224)
  at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.lambda$describe$5(HeteroDescribableConfigurator.java:103)
  at io.vavr.control.Option.map(Option.java:373)
  at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.describe(HeteroDescribableConfigurator.java:103)
  at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.describe(HeteroDescribableConfigurator.java:51)
  at io.jenkins.plugins.casc.Attribute.describe(Attribute.java:194)
  at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.describe(DataBoundConfigurator.java:264)
  at io.jenkins.plugins.casc.Attribute.describe(Attribute.java:194)
  at com.cloudbees.plugins.credentials.casc.SystemCredentialsProviderConfigurator.describe(SystemCredentialsProviderConfigurator.java:76)
  at com.cloudbees.plugins.credentials.casc.SystemCredentialsProviderConfigurator.describe(SystemCredentialsProviderConfigurator.java:48)
  at io.jenkins.plugins.casc.Attribute.describe(Attribute.java:198)
  at com.cloudbees.plugins.credentials.casc.CredentialsRootConfigurator.describe(CredentialsRootConfigurator.java:90)
  at com.cloudbees.plugins.credentials.casc.CredentialsRootConfigurator.describe(CredentialsRootConfigurator.java:52)
@jetersen
Copy link
Member

@courteouselk please follow the checklist... this needs to be reported on Jira.

@courteouselk
Copy link
Author

It is reported on Jira, link is provided in the issue descpription as per the template.

https://issues.jenkins-ci.org/browse/JENKINS-58249

@jetersen
Copy link
Member

Not obvious when pretty linking with writing JENKINS-58249 😅

@stale
Copy link

stale bot commented Sep 26, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Used by stale[bot] to mark a issue/PR stale label Sep 26, 2019
@stale stale bot closed this as completed Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin-compatibility stale Used by stale[bot] to mark a issue/PR stale
Projects
None yet
Development

No branches or pull requests

2 participants