[JIRA] [copy-project-link-plugin] (JENKINS-22363) Upgrade of copy-project-link from v1.1 to v1.2 fails

0 views
Skip to first unread message

ogondza@gmail.com (JIRA)

unread,
May 13, 2015, 6:15:01 AM5/13/15
to jenkinsc...@googlegroups.com
Oliver Gondža assigned an issue to Oliver Gondža
 
Jenkins / Bug JENKINS-22363
Upgrade of copy-project-link from v1.1 to v1.2 fails
Change By: Oliver Gondža
Assignee: Oliver Gondža
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

ogondza@gmail.com (JIRA)

unread,
May 13, 2015, 6:17:01 AM5/13/15
to jenkinsc...@googlegroups.com
Oliver Gondža resolved as Fixed
 

Caused by optional dependency (cloudbees-folders plugin) not being installed. Fixed in 1.3.

Change By: Oliver Gondža
Status: Open Resolved
Resolution: Fixed

aszostak@partner.eso.org (JIRA)

unread,
May 15, 2015, 1:49:02 PM5/15/15
to jenkinsc...@googlegroups.com
Artur Szostak closed an issue as Fixed
 

Can confirm the upgrade from v1.1 to v1.4 works. (Jenkins version at time of upgrade was 1.565.1)

Change By: Artur Szostak
Status: Resolved Closed

michelene.chon@am.sony.com (JIRA)

unread,
Jul 7, 2016, 1:44:02 PM7/7/16
to jenkinsc...@googlegroups.com
M Chon commented on Bug JENKINS-22363
 
Re: Upgrade of copy-project-link from v1.1 to v1.2 fails

I do not have Copy Project Link plugin installed at all.
I am still getting the error after upgrading base Jenkins to LTS 1.651.3.
I will try installing Copy Project Link (latest v1.5) to see if that will resolve the error.

This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

michelene.chon@am.sony.com (JIRA)

unread,
Jul 7, 2016, 1:55:01 PM7/7/16
to jenkinsc...@googlegroups.com
M Chon commented on Bug JENKINS-22363

OK, the Copy Project Link error seems to have gone away. I am gettting this error, though:

INFO: Prepared all plugins
Jul 07, 2016 10:44:35 AM hudson.ExtensionFinder$Sezpoz scout
WARNING: Failed to scout com.cloudbees.hudson.plugins.folder.properties.AuthorizationMatrixProperty$DescriptorImpl
java.lang.InstantiationException: java.lang.NoClassDefFoundError: com/cloudbees/hudson/plugins/folder/AbstractFolderPropertyDescriptor
        at net.java.sezpoz.IndexItem.element(IndexItem.java:146)
        at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:662)
        at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:383)
        at hudson.ExtensionList.load(ExtensionList.java:349)
        at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
        at hudson.ExtensionList.iterator(ExtensionList.java:156)
        at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:382)
        at hudson.ExtensionList.load(ExtensionList.java:349)
        at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
        at hudson.ExtensionList.iterator(ExtensionList.java:156)
        at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1233)
        at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:152)
        at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35)
        at hudson.PluginManager$2$1$2.run(PluginManager.java:425)
        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
        at jenkins.model.Jenkins$8.runTask(Jenkins.java:926)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: com/cloudbees/hudson/plugins/folder/AbstractFolderPropertyDescriptor
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
        at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
        at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:802)
        at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
        at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
        at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

ogondza@gmail.com (JIRA)

unread,
Jul 10, 2016, 2:10:01 AM7/10/16
to jenkinsc...@googlegroups.com

M Chon, the error you are observing without the plugin installed is certainly not the same as the one reported. Also, the stacktrace has nothing to with this bug. See https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue

michelene.chon@am.sony.com (JIRA)

unread,
Jul 18, 2016, 12:11:02 PM7/18/16
to jenkinsc...@googlegroups.com
M Chon commented on Bug JENKINS-22363

I think I was able to get the messages to go away by installing the Cloudbees Folders Plugin.
Perhaps Jenkins should automatically pull in this plugin as a dependency.

akostadinov@java.net (JIRA)

unread,
Oct 26, 2016, 1:19:05 PM10/26/16
to jenkinsc...@googlegroups.com
akostadinov reopened an issue
 
Change By: akostadinov
Resolution: Fixed
Status: Closed Reopened

akostadinov@java.net (JIRA)

unread,
Oct 26, 2016, 1:19:06 PM10/26/16
to jenkinsc...@googlegroups.com
akostadinov commented on Bug JENKINS-22363
 
Re: Upgrade of copy-project-link from v1.1 to v1.2 fails

After last week plug-in upgrade, some people started to hit such issues. Installing the Folders plugin resolved the issue. I think some plugin(s) was changed to require it but proper dependencies have not been set.
Any idea how to find this out? Can we somehow check which plugins refer to `com/cloudbees/hudson/plugins/folder/AbstractFolder` and add the plugin as a dependency?

ogondza@gmail.com (JIRA)

unread,
Oct 26, 2016, 1:37:02 PM10/26/16
to jenkinsc...@googlegroups.com

The reported issue ware resolved in 1.3 (at least I attempted to fix that) and there is a confirming comment in this issue that verified the fix in 1.4. If you still observe Failed to scout hudson.plugins.copyProjectLink.CopyFolderActionFactory: java.lang.InstantiationException: java.lang.NoClassDefFoundError: com/cloudbees/hudson/plugins/folder/TransientFolderActionFactory, please attach plugin version, jenkins version, cloudbees folder version - if installed.

aszostak@partner.eso.org (JIRA)

unread,
Nov 2, 2016, 6:15:03 AM11/2/16
to jenkinsc...@googlegroups.com
Artur Szostak resolved as Fixed
 

OK, everyone. I created this ticket and I confirmed that the from v1.4 the plugin fixes the originally reported problem. Reading through the comments again, there is no strong evidence that whatever anyone else is seeing now has anything to do with the original bug post.
This ticket is done. If you do not see the same stack trace as in the original post then please create a new ticket. Mixing different problems into the same ticket does not help anyone.
Cheers.

Change By: Artur Szostak
Status: Reopened Resolved
Resolution: Fixed

aszostak@partner.eso.org (JIRA)

unread,
Nov 2, 2016, 6:16:01 AM11/2/16
to jenkinsc...@googlegroups.com
Artur Szostak closed an issue as Fixed
Change By: Artur Szostak
Status: Resolved Closed

michelene.chon@am.sony.com (JIRA)

unread,
Nov 22, 2016, 12:28:02 PM11/22/16
to jenkinsc...@googlegroups.com
M Chon commented on Bug JENKINS-22363
 
Re: Upgrade of copy-project-link from v1.1 to v1.2 fails

Thanks for all your help, everyone!

Reply all
Reply to author
Forward
0 new messages