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

UnsupportedOperationException while saving Jenkins job configuration

    XMLWordPrintable

Details

    Description

      While saving parameter for SSH for one of the Jenkins job, I am getting this error:

       

      java.lang.UnsupportedOperationException: Refusing to marshal jenkins.plugins.publish_over.BPInstanceConfig for security reasons; see https://jenkins.io/redirect/class-filter/ at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:530) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252) Caused: java.lang.RuntimeException: Failed to serialize jenkins.plugins.publish_over.BPPlugin#delegate for class jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224) at

      Attachments

        Issue Links

          Activity

            For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues

            Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/115
            And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-49124%22

            (Note: this is an automated bulk comment)

            gmcdonald Gavin McDonald added a comment - For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/115 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-49124%22 (Note: this is an automated bulk comment)
            oleg_nenashev Oleg Nenashev added a comment - You need to update to 1.18. See JENKINS-48920 and https://wiki.jenkins.io/display/JENKINS/Plugins+affected+by+fix+for+JEP-200

            People

              Unassigned Unassigned
              dattasawale Datta Sawale
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: