detekt / sonar-detekt

SonarQube plugin for Kotlin
https://detekt.dev
GNU Lesser General Public License v3.0
493 stars 52 forks source link

SonarQube is stopped when add sonar-kotlin-0.5.2.jar plugin #85

Closed Garf1eldGit closed 5 years ago

Garf1eldGit commented 5 years ago

Im useing sonarqube-7.4 and when add sonar-kotlin-0.5.2.jar at plugins, sonarqube cant start. When i remove jar from plugins - all works fine. Is it there support version 7.4 or i need to swith to 6.7.6?

Running SonarQube...
wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    |
jvm 1    | 2018.12.14 12:51:00 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /Users/*****/CI/sonarqube-7.4/temp
jvm 1    | 2018.12.14 12:51:00 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1    | 2018.12.14 12:51:00 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/Users/*****/CI/sonarqube-7.4/elasticsearch]: /Users/*****/CI/sonarqube-7.4/elasticsearch/bin/elasticsearch -Epath.conf=/Users/*****/CI/sonarqube-7.4/temp/conf/es
jvm 1    | 2018.12.14 12:51:00 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1    | 2018.12.14 12:51:01 INFO  app[][o.e.p.PluginsService] no modules loaded
jvm 1    | 2018.12.14 12:51:01 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
jvm 1    | 2018.12.14 12:51:08 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
jvm 1    | 2018.12.14 12:51:08 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/Users/*****/CI/sonarqube-7.4]: /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/Users/*****/CI/sonarqube-7.4/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/Users/*****/CI/sonarqube-7.4/lib/jdbc/h2/h2-1.3.176.jar org.sonar.server.app.WebServer /Users/*****/CI/sonarqube-7.4/temp/sq-process6954528115062966424properties
jvm 1    | 2018.12.14 12:51:15 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
jvm 1    | 2018.12.14 12:51:15 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
jvm 1    | 2018.12.14 12:51:15 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
jvm 1    | 2018.12.14 12:51:15 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
wrapper  | <-- Wrapper Stopped
Garf1eldGit commented 5 years ago

Resolved! Just removed original file sonar-kotlin-plugin-1.2.1.2009.jar

arturbosch commented 5 years ago

Hm is sonar-kotlin-plugin-1.2.1.2009.jar the official sonar kotlin plugin then? I think both plugins use the same keys which lead to a conflict ... maybe we should update our keys to be more specific about the detekt background.