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

Installing plugin (without restarting) is broken with other non-refreshable extension.

    Details

    • Similar Issues:
      Show 5 results

      Description

      Installing plugins without restart don't work in case if non-refreshable extension is activated. In my case I had https://wiki.jenkins-ci.org/display/JENKINS/Persona+Plugin installed, and received following exception:

      hudson.util.IOException2: Failed to dynamically deploy this plugin
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1137)
      at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:955)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: hudson.util.IOException2: Failed to install build-name-setter-plugin plugin
      at hudson.PluginManager.dynamicLoad(PluginManager.java:365)
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1133)
      ... 7 more
      Caused by: jenkins.ExtensionRefreshException: hudson.plugins.persona.xml.XmlPersonaFinder@1664d71 doesn't support refresh
      at jenkins.model.Jenkins.refreshExtensions(Jenkins.java:1970)
      at hudson.PluginManager.dynamicLoad(PluginManager.java:358)
      ... 8 more

        Attachments

          Activity

          Hide
          johno Johno Crawford added a comment -

          Still an issue for me with persona-2.3..

          hudson.util.IOException2: Failed to dynamically deploy this plugin
          at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1317)
          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:722)
          Caused by: hudson.util.IOException2: Failed to install jeff-plugin plugin
          at hudson.PluginManager.dynamicLoad(PluginManager.java:438)
          at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1313)
          ... 6 more
          Caused by: java.lang.NullPointerException
          at java.util.ArrayList.batchRemove(ArrayList.java:669)
          at java.util.ArrayList.removeAll(ArrayList.java:640)
          at hudson.plugins.persona.xml.XmlPersonaFinder.refresh(XmlPersonaFinder.java:87)
          at jenkins.model.Jenkins.refreshExtensions(Jenkins.java:2138)
          at hudson.PluginManager.dynamicLoad(PluginManager.java:431)
          ... 7 more

          Show
          johno Johno Crawford added a comment - Still an issue for me with persona-2.3.. hudson.util.IOException2: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1317) 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:722) Caused by: hudson.util.IOException2: Failed to install jeff-plugin plugin at hudson.PluginManager.dynamicLoad(PluginManager.java:438) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1313) ... 6 more Caused by: java.lang.NullPointerException at java.util.ArrayList.batchRemove(ArrayList.java:669) at java.util.ArrayList.removeAll(ArrayList.java:640) at hudson.plugins.persona.xml.XmlPersonaFinder.refresh(XmlPersonaFinder.java:87) at jenkins.model.Jenkins.refreshExtensions(Jenkins.java:2138) at hudson.PluginManager.dynamicLoad(PluginManager.java:431) ... 7 more
          Hide
          johno Johno Crawford added a comment -

          Might be as simple as wrapping the removeAll call with a null check on parsedWrappers but I will wait until Seiji has commented on the issue.

          Show
          johno Johno Crawford added a comment - Might be as simple as wrapping the removeAll call with a null check on parsedWrappers but I will wait until Seiji has commented on the issue.
          Hide
          johno Johno Crawford added a comment -

          Increasing priority as this blocks installing custom hpi plugins.

          Show
          johno Johno Crawford added a comment - Increasing priority as this blocks installing custom hpi plugins.
          Hide
          sogabe sogabe added a comment -

          Thanks, ver 2.4 will fix this.

          Show
          sogabe sogabe added a comment - Thanks, ver 2.4 will fix this.
          Hide
          johno Johno Crawford added a comment -

          Thanks! I will reopen if necessary.

          Show
          johno Johno Crawford added a comment - Thanks! I will reopen if necessary.

            People

            • Assignee:
              sogabe sogabe
              Reporter:
              gkonovalenko Gavriil Konovalenko
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: