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

All extension classes are loaded at once when any is called

XMLWordPrintable

      Mar 05, 2014 12:10:01 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Loaded all jobs
      java.lang.Exception: Stack trace
      	at java.lang.Thread.dumpStack(Thread.java:1364)
      	at MyThing$DescriptorImpl.<clinit>(MyThing.java:...)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:270)
      	at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:680)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:310)
      	at hudson.ExtensionList.load(ExtensionList.java:295)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248)
      	at hudson.ExtensionList.iterator(ExtensionList.java:138)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:309)
      	at hudson.ExtensionList.load(ExtensionList.java:295)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248)
      	at hudson.ExtensionList.get(ExtensionList.java:153)
      	at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1097)
      	at hudson.maven.PluginImpl.init(PluginImpl.java:54)
      	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:606)
      	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
      	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      	at jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
      	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:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:744)
      Mar 05, 2014 12:10:05 PM org.jenkinsci.main.modules.sshd.SSHD start
      INFO: Started SSHD at port 58096
      Mar 05, 2014 12:10:05 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Completed initialization
      

      The Maven plugin is trying to load a random AdministrativeMonitor type, and all static initializers are getting called.

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: