javamachr / sonar-gitlab-plugin

Add to each commit GitLab in a global commentary on the new anomalies added by this commit and add comment lines of modified files
GNU Lesser General Public License v3.0
123 stars 23 forks source link

mixed plugin-API version and Sonarqube version #27

Closed frankbielig closed 2 years ago

frankbielig commented 2 years ago
WARN  web[][o.s.c.a.AnnotationConfigApplicationContext] Exception encountered during context initialization - c
ancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loa
der.ClassLoaders$AppClassLoader@3d4eac69-org.sonar.server.plugins.ServerPluginManager': Initialization of bean failed; nested excep
tion is Plugin GitLab [gitlab] requires at least SonarQube 9.6.1.114
2022.06.16 09:56:36 ERROR web[][o.s.s.p.PlatformImpl] Web server startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLo
ader@3d4eac69-org.sonar.server.plugins.ServerPluginManager': Initialization of bean failed; nested exception is Plugin GitLab [gitl
ab] requires at least SonarQube 9.6.1.114
        at [org.springframework.beans.factory.support](http://org.springframework.beans.factory.support/).AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFac
[tory.java:628](http://tory.java:628/))
        at [org.springframework.beans.factory.support](http://org.springframework.beans.factory.support/).AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFacto
[ry.java:542](http://ry.java:542/))
        at [org.springframework.beans.factory.support](http://org.springframework.beans.factory.support/).AbstractBeanFactory.lambda$doGetBean$0([AbstractBeanFactory.java:335](http://abstractbeanfactory.java:335/))
        at [org.springframework.beans.factory.support](http://org.springframework.beans.factory.support/).DefaultSingletonBeanRegistry.getSingleton([DefaultSingletonBeanRegistry.java:23](http://defaultsingletonbeanregistry.java:23/)
4)
        at [org.springframework.beans.factory.support](http://org.springframework.beans.factory.support/).AbstractBeanFactory.doGetBean([AbstractBeanFactory.java:333](http://abstractbeanfactory.java:333/))
        at [org.springframework.beans.factory.support](http://org.springframework.beans.factory.support/).AbstractBeanFactory.getBean([AbstractBeanFactory.java:208](http://abstractbeanfactory.java:208/))
        at [org.springframework.beans.factory.support](http://org.springframework.beans.factory.support/).DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory
.java:953)
        at [org.springframework.context.support](http://org.springframework.context.support/).AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContex
[t.java:918](http://t.java:918/))
        at [org.springframework.context.support](http://org.springframework.context.support/).AbstractApplicationContext.refresh([AbstractApplicationContext.java:583](http://abstractapplicationcontext.java:583/))
        at org.sonar.core.platform.SpringComponentContainer.startComponents([SpringComponentContainer.java:187](http://springcomponentcontainer.java:187/))
        at org.sonar.server.platform.platformlevel.PlatformLevel.start([PlatformLevel.java:80](http://platformlevel.java/))
        at org.sonar.server.platform.platformlevel.PlatformLevel2.start([PlatformLevel2.java:105](http://platformlevel2.java:105/))
        at org.sonar.server.platform.PlatformImpl.start([PlatformImpl.java:196](http://platformimpl.java:196/))
        at org.sonar.server.platform.PlatformImpl.startLevel2Container([PlatformImpl.java:169](http://platformimpl.java:169/))
        at org.sonar.server.platform.PlatformImpl.init([PlatformImpl.java:77](http://platformimpl.java:77/))
        at org.sonar.server.platform.web.PlatformServletContextListener.contextInitialized([PlatformServletContextListener.java:43](http://platformservletcontextlistener.java:43/))
        at org.apache.catalina.core.StandardContext.listenerStart([StandardContext.java:4768](http://standardcontext.java:4768/))
        at org.apache.catalina.core.StandardContext.startInternal([StandardContext.java:5230](http://standardcontext.java:5230/))
        at org.apache.catalina.util.LifecycleBase.start([LifecycleBase.java:183](http://lifecyclebase.java:183/))
        at org.apache.catalina.core.ContainerBase$[StartChild.call](http://startchild.call/)([ContainerBase.java:1396](http://containerbase.java:1396/))
        at org.apache.catalina.core.ContainerBase$[StartChild.call](http://startchild.call/)([ContainerBase.java:1386](http://containerbase.java:1386/))
        at java.base/[java.util.concurrent.FutureTask.run](http://java.util.concurrent.futuretask.run/)([FutureTask.java:264](http://futuretask.java:264/))
        at org.apache.tomcat.util.threads.InlineExecutorService.execute([InlineExecutorService.java:75](http://inlineexecutorservice.java:75/))
        at java.base/java.util.concurrent.AbstractExecutorService.submit([AbstractExecutorService.java:140](http://abstractexecutorservice.java:140/))
        at org.apache.catalina.core.ContainerBase.startInternal([ContainerBase.java:919](http://containerbase.java:919/))
        at org.apache.catalina.core.StandardHost.startInternal([StandardHost.java:835](http://standardhost.java:835/))
        at org.apache.catalina.util.LifecycleBase.start([LifecycleBase.java:183](http://lifecyclebase.java:183/))
        at org.apache.catalina.core.ContainerBase$[StartChild.call](http://startchild.call/)([ContainerBase.java:1396](http://containerbase.java:1396/))
        at org.apache.catalina.core.ContainerBase$[StartChild.call](http://startchild.call/)([ContainerBase.java:1386](http://containerbase.java:1386/))
        at java.base/[java.util.concurrent.FutureTask.run](http://java.util.concurrent.futuretask.run/)([FutureTask.java:264](http://futuretask.java:264/))
        at org.apache.tomcat.util.threads.InlineExecutorService.execute([InlineExecutorService.java:75](http://inlineexecutorservice.java:75/))
        at java.base/java.util.concurrent.AbstractExecutorService.submit([AbstractExecutorService.java:140](http://abstractexecutorservice.java:140/))
        at org.apache.catalina.core.ContainerBase.startInternal([ContainerBase.java:919](http://containerbase.java:919/))
        at org.apache.catalina.core.StandardEngine.startInternal([StandardEngine.java:263](http://standardengine.java:263/))
        at org.apache.catalina.util.LifecycleBase.start([LifecycleBase.java:183](http://lifecyclebase.java:183/))
        at org.apache.catalina.core.StandardService.startInternal([StandardService.java:432](http://standardservice.java:432/))
        at org.apache.catalina.util.LifecycleBase.start([LifecycleBase.java:183](http://lifecyclebase.java:183/))
        at org.apache.catalina.core.StandardServer.startInternal([StandardServer.java:927](http://standardserver.java:927/))
        at org.apache.catalina.util.LifecycleBase.start([LifecycleBase.java:183](http://lifecyclebase.java:183/))
        at org.apache.catalina.startup.Tomcat.start([Tomcat.java:486](http://tomcat.java:486/))
        at [org.sonar.server.app](http://org.sonar.server.app/).EmbeddedTomcat.start([EmbeddedTomcat.java:72](http://embeddedtomcat.java:72/))
        at [org.sonar.server.app](http://org.sonar.server.app/).WebServer.start([WebServer.java:55](http://webserver.java:55/))
        at org.sonar.process.ProcessEntryPoint.launch([ProcessEntryPoint.java:97](http://processentrypoint.java:97/))
        at org.sonar.process.ProcessEntryPoint.launch([ProcessEntryPoint.java:81](http://processentrypoint.java:81/))
        at [org.sonar.server.app](http://org.sonar.server.app/).WebServer.main([WebServer.java:104](http://webserver.java:104/))
Caused by: org.sonar.api.utils.MessageException: Plugin GitLab [gitlab] requires at least SonarQube 9.6.1.114
javamachr commented 2 years ago

Ooops I accidentally picked newer sub dep version. Fixed in v5.2.1.