Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9910

"Process[ce] is up" log wrongly appears after ce startup failed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6
    • Fix Version/s: 6.7
    • Component/s: Compute Engine
    • Labels:

      Description

      Playing with plugins, I have an error during server startup:

      > 2017.09.20 11:07:18 INFO  ce[][o.s.c.c.CePluginRepository] Load plugins
      > 2017.09.20 11:07:18 ERROR ce[][o.s.ce.app.CeServer] Compute Engine startup failed
      > org.sonar.updatecenter.common.exception.PluginNotFoundException: The plugin 'licensemanager' required by 'cobol' is missing.
      > 	at org.sonar.updatecenter.common.PluginReferential.addOutgoingDependency(PluginReferential.java:140)
      > 	at org.sonar.updatecenter.common.PluginReferentialManifestConverter.lambda$fromPluginManifests$0(PluginReferentialManifestConverter.java:60)
      > 	at java.lang.Iterable.forEach(Iterable.java:75)
      > 	at org.sonar.updatecenter.common.PluginReferentialManifestConverter.fromPluginManifests(PluginReferentialManifestConverter.java:56)
      > 	at org.sonar.server.plugins.PluginReferentialMetadataConverter.getInstalledPluginReferential(PluginReferentialMetadataConverter.java:45)
      > 	at org.sonar.server.plugins.InstalledPluginReferentialFactory.init(InstalledPluginReferentialFactory.java:54)
      > 	at org.sonar.server.plugins.InstalledPluginReferentialFactory.start(InstalledPluginReferentialFactory.java:38)
      > 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      > 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      > 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      > 	at java.lang.reflect.Method.invoke(Method.java:498)
      > 	at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
      > 	at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
      > 	at org.sonar.core.platform.ComponentContainer$1.start(ComponentContainer.java:320)
      > 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
      > 	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:143)
      > 	at org.sonar.ce.container.ComputeEngineContainerImpl.start(ComputeEngineContainerImpl.java:178)
      > 	at org.sonar.ce.ComputeEngineImpl.startup(ComputeEngineImpl.java:45)
      > 	at org.sonar.ce.app.CeServer$CeMainThread.startup(CeServer.java:165)
      > 	at org.sonar.ce.app.CeServer$CeMainThread.attemptStartup(CeServer.java:152)
      > 	at org.sonar.ce.app.CeServer$CeMainThread.run(CeServer.java:140)
      > Caused by: java.util.NoSuchElementException: Unable to find plugin with key licensemanager
      > 	at org.sonar.updatecenter.common.PluginReferential.findPlugin(PluginReferential.java:87)
      > 	at org.sonar.updatecenter.common.PluginReferential.addOutgoingDependency(PluginReferential.java:126)
      > 	... 26 common frames omitted
      > 2017.09.20 11:07:18 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is up
      > 2017.09.20 11:07:18 INFO  app[][o.s.a.SchedulerImpl] SonarQube is up
      > 11:07:18.513 INFO  Reset data
      > 2017.09.20 11:07:18 INFO  app[][o.s.a.SchedulerImpl] Process [ce] is stopped
      

      log

      Process[ce] is up

      should not be displayed.

        Attachments

          Activity

            People

            • Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              sebastien.lesaint Sebastien Lesaint
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: