Jacoco plugin currently breaking SonarQube 8.3

Today we have installed https://github.com/SonarSource/sonar-jacoco 1.1.0.898

on two separate instances of Sonar

  1. 8.3-community
  2. 8.3-developer

Both instances upon start are showing the following error:

2020.11.16 11:37:16 INFO ce[o.s.c.c.CePluginRepository] Load plugins │
│ 2020.11.16 11:37:19 ERROR ce[o.s.ce.app.CeServer] Compute Engine startup failed │
│ java.lang.IllegalStateException: Fail to instantiate class [org.sonar.plugins.jacoco.JacocoPlugin] of plugin [jacoco] │
│ at org.sonar.core.platform.PluginLoader.instantiatePluginClasses(PluginLoader.java:136) │
│ at org.sonar.core.platform.PluginLoader.load(PluginLoader.java:66)

Any thoughts or help with this?

Phillip

1 Like

Hi Philip,

Could we have the whole stacktrace?

 
Thx,
Ann

Hi Ann,

Thanks for the headup. Please find the whole stacktrace.

2020.11.23 12:55:59 ERROR ce[][o.s.ce.app.CeServer] Compute Engine startup failed                                  │
│ java.lang.IllegalStateException: Fail to instantiate class [org.sonar.plugins.jacoco.JacocoPlugin] of plugin [jaco │
│     at org.sonar.core.platform.PluginLoader.instantiatePluginClasses(PluginLoader.java:136)                        │
│     at org.sonar.core.platform.PluginLoader.load(PluginLoader.java:66)                                             │
│     at org.sonar.ce.container.CePluginRepository.start(CePluginRepository.java:71)                                 │
│     at org.sonar.core.platform.StartableCloseableSafeLifecyleStrategy.start(StartableCloseableSafeLifecyleStrategy │
│     at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:8 │
│     at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)                               │
│     at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)                            │
│     at org.picocontainer.behaviors.Stored.start(Stored.java:110)                                                   │
│     at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1016)              │
│     at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1009)                        │
│     at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)                                 │
│     at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)                     │
│     at org.sonar.ce.container.ComputeEngineContainerImpl.startLevel2(ComputeEngineContainerImpl.java:215)          │
│     at org.sonar.ce.container.ComputeEngineContainerImpl.start(ComputeEngineContainerImpl.java:185)                │
│     at org.sonar.ce.ComputeEngineImpl.startup(ComputeEngineImpl.java:45)                                           │
│     at org.sonar.ce.app.CeServer$CeMainThread.attemptStartup(CeServer.java:163)                                    │
│     at org.sonar.ce.app.CeServer$CeMainThread.run(CeServer.java:141)                                               │
│ Caused by: java.lang.ClassNotFoundException: org.sonar.plugins.jacoco.JacocoPlugin                                 │
│     at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39)                            │
│     at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)                                              │
│     at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76) 
    at org.sonar.core.platform.PluginLoader.instantiatePluginClasses(PluginLoader.java:131)                        │
│     ... 16 common frames omitted                                                                                   │
│ 2020.11.23 12:55:59 INFO  ce[][o.s.p.ProcessEntryPoint] Hard stopping process                                      │
│ 2020.11.23 12:56:00 DEBUG app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ce]: 0             │
│ 2020.11.23 12:56:00 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] StopWatcher[ce] tryToMoveTo ce from STARTED to HA │
│ 2020.11.23 12:56:00 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] StopWatcher[ce] tryToMoveTo ce from HARD_STOPPING │
│ 2020.11.23 12:56:00 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is stopped                                        │
│ 2020.11.23 12:56:00 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] StopWatcher[ce] tryToMoveTo ce from FINALIZE_STOP │
│ 2020.11.23 12:56:00 DEBUG app[][o.s.a.NodeLifecycle] HardStopper-0 tryToMoveTo from STARTING to HARD_STOPPING => t │
│ 2020.11.23 12:56:00 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] HardStopper-0 tryToMoveTo ce from STOPPED to HARD │
│ 2020.11.23 12:56:00 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] HardStopper-0 tryToMoveTo web from STARTED to HAR │
│ 2020.11.23 12:56:00 INFO  web[][o.s.p.ProcessEntryPoint] Hard stopping process                                     │
│ 2020.11.23 12:56:00 INFO  web[][o.s.s.n.NotificationDaemon] Notification service stopped                           │
│ 2020.11.23 12:56:00 DEBUG web[][o.s.s.a.TomcatAccessLog] Tomcat is stopped                                         │
│ 2020.11.23 12:56:00 DEBUG app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [web]: 0            │
│ 2020.11.23 12:56:00 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] HardStopper-0 tryToMoveTo web from HARD_STOPPING  │
│ 2020.11.23 12:56:00 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] StopWatcher[web] tryToMoveTo web from FINALIZE_ST │
│ 2020.11.23 12:56:00 INFO  app[][o.s.a.SchedulerImpl] Process[web] is stopped                                       │
│ 2020.11.23 12:56:00 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] HardStopper-0 tryToMoveTo web from FINALIZE_STOPP

Hi Ann,

as you requested please find the stacktrace.

@ganncamp