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

Cannot be saved properly #336

Closed
Liar0320 opened this issue Dec 20, 2023 · 0 comments
Closed

Cannot be saved properly #336

Liar0320 opened this issue Dec 20, 2023 · 0 comments
Labels

Comments

@Liar0320
Copy link

Liar0320 commented Dec 20, 2023

Jenkins and plugins versions report

Environment
Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?

centos-7.6.1810

Reproduction steps

  1. install plugin
  2. save config

Expected Results

Save Success

Actual Results

image

jenkins  | 2023-12-20 11:29:49.417+0000 [id=20] WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID 7373d9b8-f599-4379-a8a2-2629c03635c2
jenkins  | java.lang.IllegalArgumentException: The frontend sent an unexpected list of classes (["jenkins.plugins.publish_over_ssh.options.SshOverrideDefaults","jenkins.plugins.publish_over_ssh.options.SshPluginDefaults"]) rather than an expected single class. See https://www.jenkins.io/doc/developer/views/table-to-div-migration/ for more information.
jenkins  |      at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:750)
jenkins  | Caused: java.lang.IllegalArgumentException: Failed to instantiate class jenkins.plugins.publish_over_ssh.options.SshDefaults from {"stapler-class":["jenkins.plugins.publish_over_ssh.options.SshOverrideDefaults","jenkins.plugins.publish_over_ssh.options.SshPluginDefaults"],"$class":["jenkins.plugins.publish_over_ssh.options.SshOverrideDefaults","jenkins.plugins.publish_over_ssh.options.SshPluginDefaults"]}

image

Anything else?

Tried uninstalling and reinstalling, but it doesn't work.

Are you interested in contributing a fix?

No response

@Liar0320 Liar0320 added the bug label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant