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

JEP-200 Publish Over SSH Plugin

    XMLWordPrintable

Details

    Description

      Can't use the Publish Over SSH Plugin anymore

      Error message :

      A problem occurred while processing the request. Please check our bug tracker to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. The users list might be also useful in understanding what has happened. 

      Stack trace 
      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:546) 
      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 com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) 
      at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209) 
      at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150) 
      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_ssh.BapSshBuilderPlugin#delegate for class jenkins.plugins.publish_over_ssh.BapSshBuilderPlugin 
      at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256) 
      at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224) 
      at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) 
      at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209) 
      at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150) 
      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.TreeMarshaller.convertAnother(TreeMarshaller.java:43) 
      at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88) 
      at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) 
      at hudson.util.DescribableList$ConverterImpl.marshal(DescribableList.java:269) 
      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 hudson.model.Project#builders for class hudson.model.FreeStyleProject 
      at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256) 
      at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224) 
      at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) 
      at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209) 
      at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150) 
      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.TreeMarshaller.convertAnother(TreeMarshaller.java:43) 
      at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) 
      at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) 
      at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026) 
      at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015) 
      at com.thoughtworks.xstream.XStream.toXML(XStream.java:988) 
      at hudson.XmlFile.write(XmlFile.java:193) 
      Caused: java.io.IOException 
      at hudson.XmlFile.write(XmlFile.java:200) 
      at hudson.model.AbstractItem.save(AbstractItem.java:601) 
      at hudson.model.Job.save(Job.java:191) 
      at hudson.model.AbstractProject.save(AbstractProject.java:289) 
      at hudson.BulkChange.commit(BulkChange.java:98) 
      at hudson.model.Job.doConfigSubmit(Job.java:1351) 
      at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:772) 
      at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:625) 
      at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343) 
      at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77) 
      at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26) 
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184) 
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117) 
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:130) 
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) 
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:739) 
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:870) 
      at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:253) 
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) 
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:739) 
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:870) 
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:668) 
      at org.kohsuke.stapler.Stapler.service(Stapler.java:238) 
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) 
      at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59) 
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) 
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:64) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) 
      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) 
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) 
      at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) 
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) 
      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) 
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) 
      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) 
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) 
      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) 
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) 
      at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) 
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) 
      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) 
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) 
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) 
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) 
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
      at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) 
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) 
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614) 
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) 
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) 
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) 
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) 
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) 
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) 
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) 
      at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) 
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1517) 
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1474) 
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 
      at java.lang.Thread.run(Thread.java:745)

      Attachments

        Activity

          People

            slide_o_mix Alex Earl
            mberthalon Maxime Berthalon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: