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

If an older version of a detached plugin is already installed it does not get upgraded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core
    • 2.16-SNAPSHOT with bouncycastle-api 1.648.0 installed

      INFO: Listed all plugins
      Jul 28, 2016 3:21:44 PM jenkins.model.Jenkins$7 runTask
      WARNING: Loading plugin bouncycastle-api failed perhaps due to plugin dependency issues
      java.io.IOException: Unable to load jenkins.bouncycastle.api.SecurityProviderInitializer from bouncycastle-api
      	at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:508)
      	at hudson.PluginManager$2$1$1.run(PluginManager.java:512)
      	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$7.runTask(Jenkins.java:1022)
      	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: org/bouncycastle/jce/provider/BouncyCastleProvider
      	at java.lang.Class.getDeclaredConstructors0(Native Method)
      	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
      	at java.lang.Class.getConstructor0(Class.java:3075)
      	at java.lang.Class.newInstance(Class.java:412)
      	at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:502)
      	... 9 more
      Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	... 14 more
      

            stephenconnolly Stephen Connolly
            stephenconnolly Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: