Cannot be saved properly
Closed this issue · 0 comments
Liar0320 commented
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
- install plugin
- save config
Expected Results
Save Success
Actual Results
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"]}
Anything else?
Tried uninstalling and reinstalling, but it doesn't work.
Are you interested in contributing a fix?
No response