GithubHelp home page GithubHelp logo

Comments (22)

jira-importer avatar jira-importer commented on May 23, 2024

kklein:

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

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

jankrotky:

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 
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.(BapSshPublisherPluginDescriptor.java:68)
	at jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin$Descriptor.(BapSshPublisherPlugin.java:81)
	at jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin$Descriptor$$FastClassByGuice$$c0ccaf36.newInstance()
	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 
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.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

bdellegrazie:

Same issue, different OS

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

ericstob:

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

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

jstarbird:

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

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

johnzander:

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

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

jose_rgc_at_fuhu_com:

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.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

axel_mueller:

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)

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

tomfanning:

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.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

jkrizanic:

Same issue on Jenkins 1.534, CentOS 6.4!

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

bduffy:

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

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

jstarbird:

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

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

scm_issue_link:

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: jenkinsci/publish-over-cifs-plugin@b566f4d...5740aec

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

jkrizanic:

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

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

mottaviani:

Looking forward to seeing this fixed. Same issue.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

fdumont:

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

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

tomfanning:

A pull request for this same bug manifested in the Publish over CIFS plugin was merged 2 months ago:
jenkinsci/publish-over-cifs-plugin#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:
#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

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

mottaviani:

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.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

mottaviani:

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.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

afischer:

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?

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

mottaviani:

Fixed in version 1.11 of the Publish over SSH plugin.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 23, 2024

[Duplicates: JENKINS-17058

from publish-over-ssh-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.