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

Upgrade of copy-project-link from v1.1 to v1.2 fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Jenkins v1.532.2

      After upgrading the plugin from version v1.1 to v1.2 and restarting the jenkins instance I no longer see the copy link in the interface and find the following error in the logs:

      WARNING: Failed to load hudson.plugins.copyProjectLink.CopyFolderActionFactory
      java.lang.InstantiationException: /opt/jenkins/data/plugins/copy-project-link/WEB-INF/lib/classes.jar might need to be rebuilt: java.lang.ClassNotFoundException: hudson.plugins.copyProjectLink.CopyFolderActionFactory
      at net.java.sezpoz.IndexItem.element(IndexItem.java:144)
      at hudson.ExtensionFinder$GuiceFinder$SezpozModule.configure(ExtensionFinder.java:504)
      at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
      at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:230)
      at com.google.inject.spi.Elements.getElements(Elements.java:103)
      at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)
      at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
      at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:230)
      at hudson.ExtensionFinder$GuiceFinder.refresh(ExtensionFinder.java:336)
      at jenkins.model.Jenkins.refreshExtensions(Jenkins.java:2154)
      at hudson.PluginManager.dynamicLoad(PluginManager.java:431)
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1313)
      at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
      at java.lang.Thread.run(Thread.java:701)
      Caused by: java.lang.ClassNotFoundException: hudson.plugins.copyProjectLink.CopyFolderActionFactory
      at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:985)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
      at net.java.sezpoz.IndexItem.element(IndexItem.java:134)

            olivergondza Oliver Gondža
            aszostak Artur Szostak
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: