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

Publish over SSH lost main configuration data after jenkins server reboot

      After jenkins server reboot, configuration is lost on main options menu. Build jobs save publish-over-ssh configuaions correctly.

      A screenshot shows a configurating window after reboot.

          [JENKINS-17885] Publish over SSH lost main configuration data after jenkins server reboot

          Kerstin Klein added a comment -

          Jenkins 1.514 installed on Centos 6.3, problem also occurs with Publish Over CiFS. Please fix or provide workaround.

          Kerstin Klein added a comment - Jenkins 1.514 installed on Centos 6.3, problem also occurs with Publish Over CiFS. Please fix or provide workaround.

          Jan Krotký added a comment - - edited

          Confirming same XML load error as in CiFS issue. Strange is, that the publish over FTP plugin (which on the quick overlook uses similar configuration) is not affected.

          22.7.2013 10:22:27 jenkins.InitReactorRunner$1 onAttained
          INFO: Started initialization
          22.7.2013 10:22:27 jenkins.InitReactorRunner$1 onAttained
          INFO: Listed all plugins
          22.7.2013 10:22:27 jenkins.InitReactorRunner$1 onAttained
          INFO: Prepared all plugins
          22.7.2013 10:22:27 jenkins.InitReactorRunner$1 onAttained
          INFO: Started all plugins
          22.7.2013 10:22:27 jenkins.InitReactorRunner$1 onAttained
          INFO: Augmented all extensions
          22.7.2013 10:22:28 jenkins.InitReactorRunner$1 onAttained
          INFO: Loaded all jobs
          22.7.2013 10:22:28 jenkins.InitReactorRunner$1 onAttained
          INFO: Completed initialization
          22.7.2013 10:22:28 org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh
          INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@5f8d0141: display name [Root WebApplicationContext]; startup date [Mon Jul 22 10:22:28 CEST 2013]; root of context hierarchy
          22.7.2013 10:22:28 org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory
          INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@5f8d0141]: org.springframework.beans.factory.support.DefaultListableBeanFactory@146ae3ad
          22.7.2013 10:22:28 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
          INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@146ae3ad: defining beans [authenticationManager]; root of factory hierarchy
          22.7.2013 10:22:28 org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh
          INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@4fabb0ca: display name [Root WebApplicationContext]; startup date [Mon Jul 22 10:22:28 CEST 2013]; root of context hierarchy
          22.7.2013 10:22:28 org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory
          INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@4fabb0ca]: org.springframework.beans.factory.support.DefaultListableBeanFactory@281edacc
          22.7.2013 10:22:28 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
          INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@281edacc: defining beans [filter,legacy]; root of factory hierarchy
          22.7.2013 10:22:42 org.apache.commons.jexl.util.Introspector clearCache
          INFO: Introspector : detected classloader change. Dumping cache.
          22.7.2013 10:22:42 org.apache.commons.jexl.util.Introspector clearCache
          INFO: Introspector : detected classloader change. Dumping cache.
          couldn't setup local SOCKS5 proxy on port 7777: Address already in use
          Running from: /usr/lib/jenkins/jenkins.war
          22.7.2013 10:27:50 winstone.Logger logInternal
          INFO: Beginning extraction from war file
          Jenkins home directory: /var/lib/jenkins found at: System.getProperty("JENKINS_HOME")
          22.7.2013 10:27:54 winstone.Logger logInternal
          INFO: HTTP Listener started: port=8080
          22.7.2013 10:27:54 winstone.Logger logInternal
          INFO: AJP13 Listener started: port=8009
          22.7.2013 10:27:54 winstone.Logger logInternal
          INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled
          22.7.2013 10:27:55 jenkins.InitReactorRunner$1 onAttained
          INFO: Started initialization
          22.7.2013 10:27:56 jenkins.InitReactorRunner$1 onAttained
          INFO: Listed all plugins
          22.7.2013 10:27:57 hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run
          INFO: Trying to connect
          22.7.2013 10:27:57 hudson.plugins.im.HudsonIsBusyListener <init>
          INFO: Executor busy listener created
          22.7.2013 10:27:58 org.jenkinsci.plugins.scriptler.ScritplerPluginImpl synchronizeConfig
          INFO: initialize scriptler
          22.7.2013 10:28:01 hudson.plugins.greenballs.PluginImpl start
          INFO: Green Balls!
          22.7.2013 10:28:05 jenkins.InitReactorRunner$1 onAttained
          INFO: Prepared all plugins
          22.7.2013 10:28:14 hudson.model.Descriptor load
          WARNING: Failed to load /var/lib/jenkins/jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml
          hudson.util.IOException2: Unable to read /var/lib/jenkins/jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml
          	at hudson.XmlFile.unmarshal(XmlFile.java:170)
          	at hudson.model.Descriptor.load(Descriptor.java:820)
          	at jenkins.plugins.publish_over_ssh.descriptor.BapSshPublisherPluginDescriptor.<init>(BapSshPublisherPluginDescriptor.java:68)
          	at jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin$Descriptor.<init>(BapSshPublisherPlugin.java:81)
          	at jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin$Descriptor$$FastClassByGuice$$c0ccaf36.newInstance(<generated>)
          	at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
          	at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
          	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)
          	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87)
          	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259)
          	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
          	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018)
          	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
          	at com.google.inject.Scopes$1$1.get(Scopes.java:59)
          	at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:429)
          	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
          	at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
          	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
          	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
          	at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:391)
          	at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:382)
          	at hudson.ExtensionFinder._find(ExtensionFinder.java:151)
          	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:326)
          	at hudson.ExtensionList.load(ExtensionList.java:295)
          	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248)
          	at hudson.ExtensionList.iterator(ExtensionList.java:138)
          	at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1183)
          	at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:99)
          	at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35)
          	at hudson.PluginManager$2$1$2.run(PluginManager.java:353)
          	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
          	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
          	at jenkins.model.Jenkins$7.runTask(Jenkins.java:895)
          	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
          	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
          	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
          	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          	at java.lang.Thread.run(Thread.java:679)
          Caused by: com.thoughtworks.xstream.converters.ConversionException: object is not an instance of declaring class : object is not an instance of declaring class
          ---- Debugging information ----
          message             : object is not an instance of declaring class
          cause-exception     : java.lang.IllegalArgumentException
          cause-message       : object is not an instance of declaring class
          class               : jenkins.plugins.publish_over_ssh.BapSshHostConfiguration
          required-type       : jenkins.plugins.publish_over_ssh.BapSshHostConfiguration
          converter-type      : hudson.util.RobustReflectionConverter
          path                : /jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin$Descriptor/hostConfigurations/jenkins.plugins.publish_over_ssh.BapSshHostConfiguration
          line number         : 25
          class[1]            : hudson.util.CopyOnWriteList
          converter-type[1]   : hudson.util.XStream2$AssociatedConverterImpl
          class[2]            : jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin$Descriptor
          version             : null
          -------------------------------
          	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
          	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
          	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
          	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
          	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
          	at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:193)
          	at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:172)
          	at hudson.util.XStream2$AssociatedConverterImpl.unmarshal(XStream2.java:337)
          	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
          	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
          	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
          	at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333)
          	at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275)
          	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
          	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
          	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
          	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
          	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
          	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
          	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
          	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061)
          	at hudson.util.XStream2.unmarshal(XStream2.java:109)
          	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
          	at hudson.XmlFile.unmarshal(XmlFile.java:166)
          	... 37 more
          Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
          	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          	at java.lang.reflect.Method.invoke(Method.java:616)
          	at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(SerializationMethodInvoker.java:66)
          	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:223)
          	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
          	... 60 more
          22.7.2013 10:28:15 jenkins.InitReactorRunner$1 onAttained
          INFO: Started all plugins
          22.7.2013 10:28:15 jenkins.InitReactorRunner$1 onAttained
          INFO: Augmented all extensions
          22.7.2013 10:28:16 jenkins.InitReactorRunner$1 onAttained
          INFO: Loaded all jobs
          22.7.2013 10:28:16 jenkins.InitReactorRunner$1 onAttained
          INFO: Completed initialization
          22.7.2013 10:28:17 org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh
          INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@7987b796: display name [Root WebApplicationContext]; startup date [Mon Jul 22 10:28:17 CEST 2013]; root of context hierarchy
          22.7.2013 10:28:17 org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory
          INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@7987b796]: org.springframework.beans.factory.support.DefaultListableBeanFactory@363256a5
          22.7.2013 10:28:17 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
          INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@363256a5: defining beans [authenticationManager]; root of factory hierarchy
          22.7.2013 10:28:18 org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh
          INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@455d54a7: display name [Root WebApplicationContext]; startup date [Mon Jul 22 10:28:18 CEST 2013]; root of context hierarchy
          22.7.2013 10:28:18 org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory
          INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@455d54a7]: org.springframework.beans.factory.support.DefaultListableBeanFactory@2f2faeca
          22.7.2013 10:28:18 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
          INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2f2faeca: defining beans [filter,legacy]; root of factory hierarchy
          22.7.2013 10:28:18 hudson.TcpSlaveAgentListener <init>
          INFO: JNLP slave agent listener started on TCP port 50105
          22.7.2013 10:28:18 hudson.WebAppMain$2 run
          INFO: Jenkins is fully up and running
          22.7.2013 10:28:43 hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run
          INFO: Trying to reconnect
          22.7.2013 10:28:43 hudson.plugins.jabber.im.transport.JabberIMConnection createConnection
          INFO: Trying to connect to XMPP on office.bohemiasoft.com:5222/office.bohemiasoft.com with SASL
          22.7.2013 10:28:45 hudson.plugins.jabber.im.transport.JabberIMConnection setupSubscriptionMode
          INFO: Accepting all subscription requests
          22.7.2013 10:28:45 hudson.plugins.jabber.im.transport.JabberIMConnection connect
          INFO: Connected to XMPP on office.bohemiasoft.com:5222/office.bohemiasoft.com using TLS
          22.7.2013 10:28:46 org.apache.commons.jexl.util.Introspector clearCache
          INFO: Introspector : detected classloader change. Dumping cache.
          

          Jan Krotký added a comment - - edited Confirming same XML load error as in CiFS issue. Strange is, that the publish over FTP plugin (which on the quick overlook uses similar configuration) is not affected. 22.7.2013 10:22:27 jenkins.InitReactorRunner$1 onAttained INFO: Started initialization 22.7.2013 10:22:27 jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins 22.7.2013 10:22:27 jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins 22.7.2013 10:22:27 jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins 22.7.2013 10:22:27 jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions 22.7.2013 10:22:28 jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs 22.7.2013 10:22:28 jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization 22.7.2013 10:22:28 org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@5f8d0141: display name [Root WebApplicationContext]; startup date [Mon Jul 22 10:22:28 CEST 2013]; root of context hierarchy 22.7.2013 10:22:28 org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@5f8d0141]: org.springframework.beans.factory.support.DefaultListableBeanFactory@146ae3ad 22.7.2013 10:22:28 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@146ae3ad: defining beans [authenticationManager]; root of factory hierarchy 22.7.2013 10:22:28 org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@4fabb0ca: display name [Root WebApplicationContext]; startup date [Mon Jul 22 10:22:28 CEST 2013]; root of context hierarchy 22.7.2013 10:22:28 org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@4fabb0ca]: org.springframework.beans.factory.support.DefaultListableBeanFactory@281edacc 22.7.2013 10:22:28 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@281edacc: defining beans [filter,legacy]; root of factory hierarchy 22.7.2013 10:22:42 org.apache.commons.jexl.util.Introspector clearCache INFO: Introspector : detected classloader change. Dumping cache. 22.7.2013 10:22:42 org.apache.commons.jexl.util.Introspector clearCache INFO: Introspector : detected classloader change. Dumping cache. couldn't setup local SOCKS5 proxy on port 7777: Address already in use Running from: /usr/lib/jenkins/jenkins.war 22.7.2013 10:27:50 winstone.Logger logInternal INFO: Beginning extraction from war file Jenkins home directory: / var /lib/jenkins found at: System .getProperty( "JENKINS_HOME" ) 22.7.2013 10:27:54 winstone.Logger logInternal INFO: HTTP Listener started: port=8080 22.7.2013 10:27:54 winstone.Logger logInternal INFO: AJP13 Listener started: port=8009 22.7.2013 10:27:54 winstone.Logger logInternal INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled 22.7.2013 10:27:55 jenkins.InitReactorRunner$1 onAttained INFO: Started initialization 22.7.2013 10:27:56 jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins 22.7.2013 10:27:57 hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run INFO: Trying to connect 22.7.2013 10:27:57 hudson.plugins.im.HudsonIsBusyListener <init> INFO: Executor busy listener created 22.7.2013 10:27:58 org.jenkinsci.plugins.scriptler.ScritplerPluginImpl synchronizeConfig INFO: initialize scriptler 22.7.2013 10:28:01 hudson.plugins.greenballs.PluginImpl start INFO: Green Balls! 22.7.2013 10:28:05 jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins 22.7.2013 10:28:14 hudson.model.Descriptor load WARNING: Failed to load / var /lib/jenkins/jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml hudson.util.IOException2: Unable to read / var /lib/jenkins/jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml at hudson.XmlFile.unmarshal(XmlFile.java:170) at hudson.model.Descriptor.load(Descriptor.java:820) at jenkins.plugins.publish_over_ssh.descriptor.BapSshPublisherPluginDescriptor.<init>(BapSshPublisherPluginDescriptor.java:68) at jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin$Descriptor.<init>(BapSshPublisherPlugin.java:81) at jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin$Descriptor$$FastClassByGuice$$c0ccaf36.newInstance(<generated>) at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:429) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:391) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:382) at hudson.ExtensionFinder._find(ExtensionFinder.java:151) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:326) at hudson.ExtensionList.load(ExtensionList.java:295) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1183) at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:99) at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35) at hudson.PluginManager$2$1$2.run(PluginManager.java:353) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:895) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang. Thread .run( Thread .java:679) Caused by: com.thoughtworks.xstream.converters.ConversionException: object is not an instance of declaring class : object is not an instance of declaring class ---- Debugging information ---- message : object is not an instance of declaring class cause-exception : java.lang.IllegalArgumentException cause-message : object is not an instance of declaring class class : jenkins.plugins.publish_over_ssh.BapSshHostConfiguration required-type : jenkins.plugins.publish_over_ssh.BapSshHostConfiguration converter-type : hudson.util.RobustReflectionConverter path : /jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin$Descriptor/hostConfigurations/jenkins.plugins.publish_over_ssh.BapSshHostConfiguration line number : 25 class[ 1] : hudson.util.CopyOnWriteList converter-type[1] : hudson.util.XStream2$AssociatedConverterImpl class[ 2] : jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin$Descriptor version : null ------------------------------- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:193) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:172) at hudson.util.XStream2$AssociatedConverterImpl.unmarshal(XStream2.java:337) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061) at hudson.util.XStream2.unmarshal(XStream2.java:109) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045) at hudson.XmlFile.unmarshal(XmlFile.java:166) ... 37 more Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(SerializationMethodInvoker.java:66) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:223) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ... 60 more 22.7.2013 10:28:15 jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins 22.7.2013 10:28:15 jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions 22.7.2013 10:28:16 jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs 22.7.2013 10:28:16 jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization 22.7.2013 10:28:17 org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@7987b796: display name [Root WebApplicationContext]; startup date [Mon Jul 22 10:28:17 CEST 2013]; root of context hierarchy 22.7.2013 10:28:17 org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@7987b796]: org.springframework.beans.factory.support.DefaultListableBeanFactory@363256a5 22.7.2013 10:28:17 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@363256a5: defining beans [authenticationManager]; root of factory hierarchy 22.7.2013 10:28:18 org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@455d54a7: display name [Root WebApplicationContext]; startup date [Mon Jul 22 10:28:18 CEST 2013]; root of context hierarchy 22.7.2013 10:28:18 org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@455d54a7]: org.springframework.beans.factory.support.DefaultListableBeanFactory@2f2faeca 22.7.2013 10:28:18 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2f2faeca: defining beans [filter,legacy]; root of factory hierarchy 22.7.2013 10:28:18 hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 50105 22.7.2013 10:28:18 hudson.WebAppMain$2 run INFO: Jenkins is fully up and running 22.7.2013 10:28:43 hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run INFO: Trying to reconnect 22.7.2013 10:28:43 hudson.plugins.jabber.im.transport.JabberIMConnection createConnection INFO: Trying to connect to XMPP on office.bohemiasoft.com:5222/office.bohemiasoft.com with SASL 22.7.2013 10:28:45 hudson.plugins.jabber.im.transport.JabberIMConnection setupSubscriptionMode INFO: Accepting all subscription requests 22.7.2013 10:28:45 hudson.plugins.jabber.im.transport.JabberIMConnection connect INFO: Connected to XMPP on office.bohemiasoft.com:5222/office.bohemiasoft.com using TLS 22.7.2013 10:28:46 org.apache.commons.jexl.util.Introspector clearCache INFO: Introspector : detected classloader change. Dumping cache.

          Same issue, different OS

          Brett Delle Grazie added a comment - Same issue, different OS

          Eric Stob added a comment -

          Same issue in Windows. The bug renders the plugin completely useless.

          Eric Stob added a comment - Same issue in Windows. The bug renders the plugin completely useless.

          Jon Starbird added a comment -

          PLEASE FIX THIS ISSUE. This plugin could be very valuable but with this bug it is completely useless.

          Jon Starbird added a comment - PLEASE FIX THIS ISSUE. This plugin could be very valuable but with this bug it is completely useless.

          John Zander added a comment - - edited

          Same issue with debian6 and Jenkins LTS (1.509.2)

          plugin on Jenkins 1.503 is working, so the issue might be in jenkins-core

          John Zander added a comment - - edited Same issue with debian6 and Jenkins LTS (1.509.2) plugin on Jenkins 1.503 is working, so the issue might be in jenkins-core

          Not working yet in Jenkins 1.527 running on Debian 3.2.46-1 x86_64, being downloaded through Debian packages. Plug-in version 1.10.

          José Roberto García Chico added a comment - - edited Not working yet in Jenkins 1.527 running on Debian 3.2.46-1 x86_64, being downloaded through Debian packages. Plug-in version 1.10.

          Axel Müller added a comment - - edited

          On my Server:
          debian squeeze
          jenkins:
          deb http://pkg.jenkins-ci.org/debian binary/

          Same issue.
          Java:
          java version "1.6.0_27"
          OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb6u1)
          OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

          Axel Müller added a comment - - edited On my Server: debian squeeze jenkins: deb http://pkg.jenkins-ci.org/debian binary/ Same issue. Java: java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb6u1) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

          Tom Fanning added a comment -

          Hi everyone. I registered this issue in the "proposing" section on FreedomSponsors. This means that if you need this issue that bad, you can go to http://www.freedomsponsors.org/core/issue/330/publish-over-ssh-lost-main-configuration-data-after-jenkins-server-reboot and offer a few bucks for it.

          Tom Fanning added a comment - Hi everyone. I registered this issue in the "proposing" section on FreedomSponsors. This means that if you need this issue that bad, you can go to http://www.freedomsponsors.org/core/issue/330/publish-over-ssh-lost-main-configuration-data-after-jenkins-server-reboot and offer a few bucks for it.

          Same issue on Jenkins 1.534, CentOS 6.4!

          Jurica Krizanic added a comment - Same issue on Jenkins 1.534, CentOS 6.4!

          Brent Duffy added a comment -

          Confirming Publish over SSH configurations disappearing after restart of Jenkins. Jenkins 1.509.2, Publish Over SSH plugin 1.10.

          Brent Duffy added a comment - Confirming Publish over SSH configurations disappearing after restart of Jenkins. Jenkins 1.509.2, Publish Over SSH plugin 1.10.

          Jon Starbird added a comment -

          Still seeing this with Jenkins 1.509.4 and Publish SSH 1.10 as well.

          Jon Starbird added a comment - Still seeing this with Jenkins 1.509.4 and Publish SSH 1.10 as well.

          Code changed in jenkins
          User: Alex Earl
          Path:
          pom.xml
          src/main/java/jenkins/plugins/publish_over_cifs/CifsHostConfiguration.java
          src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin.java
          http://jenkins-ci.org/commit/publish-over-cifs-plugin/5740aec2cb202f44fc8be5b08919408b8166609b
          Log:
          Merge pull request #1 from grantbacon/master

          JENKINS-17885 - Persist settings after reboot

          Compare: https://github.com/jenkinsci/publish-over-cifs-plugin/compare/b566f4d3717f...5740aec2cb20

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Earl Path: pom.xml src/main/java/jenkins/plugins/publish_over_cifs/CifsHostConfiguration.java src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin.java http://jenkins-ci.org/commit/publish-over-cifs-plugin/5740aec2cb202f44fc8be5b08919408b8166609b Log: Merge pull request #1 from grantbacon/master JENKINS-17885 - Persist settings after reboot Compare: https://github.com/jenkinsci/publish-over-cifs-plugin/compare/b566f4d3717f...5740aec2cb20

          Still occurs, Jenkins 1.540, Publish over SSH plugin 1.10 !

          Jurica Krizanic added a comment - Still occurs, Jenkins 1.540, Publish over SSH plugin 1.10 !

          Mark Ottaviani added a comment - - edited

          Looking forward to seeing this fixed. Same issue.

          Mark Ottaviani added a comment - - edited Looking forward to seeing this fixed. Same issue.

          Does Hudson have the same issue? Thinking of trying something new

          François Dumont added a comment - Does Hudson have the same issue? Thinking of trying something new

          Tom Fanning added a comment - - edited

          A pull request for this same bug manifested in the Publish over CIFS plugin was merged 2 months ago:
          https://github.com/jenkinsci/publish-over-cifs-plugin/pull/1

          The updated plugin got built here:
          https://jenkins.ci.cloudbees.com/job/plugins/job/publish-over-cifs-plugin/4/org.jenkins-ci.plugins$publish-over-cifs/

          I removed the CIFS plugin installed in Jenkins and manually installed that one, and it works fine. Bug fixed (CIFS plugin). Not sure whether the version appearing on the plugin feed is fixed too.

          There is a similar pull request for this bug against the Publish over SSH plugin here:
          https://github.com/jenkinsci/publish-over-ssh-plugin/pull/4

          I guess we need to get that pull request merged as well. No idea how to proceed from here.

          There is also some activity here:
          https://issues.jenkins-ci.org/browse/JENKINS-17058?focusedCommentId=177125&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-177125

          Tom Fanning added a comment - - edited A pull request for this same bug manifested in the Publish over CIFS plugin was merged 2 months ago: https://github.com/jenkinsci/publish-over-cifs-plugin/pull/1 The updated plugin got built here: https://jenkins.ci.cloudbees.com/job/plugins/job/publish-over-cifs-plugin/4/org.jenkins-ci.plugins$publish-over-cifs/ I removed the CIFS plugin installed in Jenkins and manually installed that one, and it works fine. Bug fixed (CIFS plugin). Not sure whether the version appearing on the plugin feed is fixed too. There is a similar pull request for this bug against the Publish over SSH plugin here: https://github.com/jenkinsci/publish-over-ssh-plugin/pull/4 I guess we need to get that pull request merged as well. No idea how to proceed from here. There is also some activity here: https://issues.jenkins-ci.org/browse/JENKINS-17058?focusedCommentId=177125&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-177125

          I've e-mailed the listed committers and maintainers for this plugin to see if we can get the pull request moving. If that doesn't work I'll work through this with Cloudbees directly.

          Mark Ottaviani added a comment - I've e-mailed the listed committers and maintainers for this plugin to see if we can get the pull request moving. If that doesn't work I'll work through this with Cloudbees directly.

          Email from bap:

          Hi Mark,

          I no longer use Jenkins and don't have time to maintain the publish over plugins.

          Feel free to merge, test and release as you see fit.

          Regards,
          Bap.

          Mark Ottaviani added a comment - Email from bap: Hi Mark, I no longer use Jenkins and don't have time to maintain the publish over plugins. Feel free to merge, test and release as you see fit. Regards, Bap.

          Hello,

          how can we take over the maintainance for the plugins?
          I use my own patched version (see on Github) for a long-time without any problems.

          Is Github the correct place for Jenkins-plugins?

          Alexander Fischer added a comment - Hello, how can we take over the maintainance for the plugins? I use my own patched version (see on Github) for a long-time without any problems. https://github.com/afischer211/publish-over-plugin https://github.com/afischer211/publish-over-ssh-plugin Is Github the correct place for Jenkins-plugins?

          Fixed in version 1.11 of the Publish over SSH plugin.

          Mark Ottaviani added a comment - Fixed in version 1.11 of the Publish over SSH plugin.

          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/199
          And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-17885%22

          (Note: this is an automated bulk comment)

          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/199 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-17885%22 (Note: this is an automated bulk comment)

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

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

          (Note: this is an automated bulk comment)

          Gavin McDonald added a comment - For your information, all publish-over-cifs component type JENKINS issues related to the Publish Over CIFS plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-cifs-plugin/issues Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-cifs-plugin/issues/44 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-cifs-plugin/issues?q=%22JENKINS-17885%22 (Note: this is an automated bulk comment)

            jenkins_user wearbif
            jenkins_user wearbif
            Votes:
            18 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated:
              Resolved: