Sonarqube - Process exited with exit value [es]: 143. After adding sonar-flutter plugin

SonarQube version:10.7.0.96327
Plugin: sonar-flutter-plugin-0.5.2.jar

After adding the sonar-flutter plugin to the SonarQube extensions/plugins directory and restarting the server, an error occurred.

sonar.log:

2024.12.03 17:39:45 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /Applications/SonarQube/temp
2024.12.03 17:39:45 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:60472]
2024.12.03 17:39:45 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/Applications/SonarQube/elasticsearch]: /opt/homebrew/Cellar/openjdk@17/17.0.13/libexec/openjdk.jdk/Contents/Home/bin/java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=/Applications/SonarQube/elasticsearch -Des.path.conf=/Applications/SonarQube/temp/conf/es -Des.distribution.type=tar -cp /Applications/SonarQube/elasticsearch/lib/*:/Applications/SonarQube/elasticsearch/lib/cli-launcher/* org.elasticsearch.launcher.CliToolLauncher
2024.12.03 17:39:45 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2024.12.03 17:39:51 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2024.12.03 17:39:51 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [/Applications/SonarQube]: /opt/homebrew/Cellar/openjdk@17/17.0.13/libexec/openjdk.jdk/Contents/Home/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/Applications/SonarQube/temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-10.7.0.96327.jar:/Applications/SonarQube/lib/jdbc/h2/h2-2.2.224.jar org.sonar.server.app.WebServer /Applications/SonarQube/temp/sq-process7010778930389781379properties
2024.12.03 17:39:56 INFO  app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
2024.12.03 17:39:56 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
2024.12.03 17:39:56 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2024.12.03 17:39:56 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped

web.log

2024.12.03 17:41:42 INFO  web[][o.s.p.ProcessEntryPoint] Starting Web Server
2024.12.03 17:41:42 INFO  web[][o.s.s.a.TomcatHttpConnectorFactory] Starting Tomcat on port 9000
2024.12.03 17:41:42 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 10.7.0.96327 / 923a7aad28f71dce1686768b3ad7c4b1bb962f8d
2024.12.03 17:41:42 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Starting embedded database on port 9092 with url jdbc:h2:tcp://127.0.0.1:9092/sonar;NON_KEYWORDS=VALUE
2024.12.03 17:41:42 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Embedded database started. Data stored in: /Applications/SonarQube/data
2024.12.03 17:41:42 INFO  web[][o.s.d.DefaultDatabase] Create JDBC data source for jdbc:h2:tcp://127.0.0.1:9092/sonar;NON_KEYWORDS=VALUE
2024.12.03 17:41:42 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Starting...
2024.12.03 17:41:43 INFO  web[][c.z.h.p.HikariPool] HikariPool-1 - Added connection conn2: url=jdbc:h2:tcp://127.0.0.1:9092/sonar user=
2024.12.03 17:41:43 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Start completed.
2024.12.03 17:41:43 WARN  web[][o.s.db.dialect.H2] H2 database should be used for evaluation purpose only.
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /Applications/SonarQube
2024.12.03 17:41:43 INFO  web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2024.12.03 17:41:43 INFO  web[][o.s.c.e.CoreExtensionsLoader] Loaded core extensions: developer-edition, ai-code-assurance, developer-scanner, developer-server, github-provisioning, gitlab-provisioning, license, monitoring, gitlab-vulnerability-report
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy ABAP Code Quality and Security / 3.14.0.5470 / ed8f535cc76a0a2be68bcfd2de29eff22412e83f
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy C# Code Quality and Security / 9.32.0.97167 / cc0ba76c09677fe094621d35ab0c408bd1215aaa
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy CFamily Code Quality and Security / 6.59.0.75237 / 7d10d2f83d5882634f3936cfea7f0131b865018e
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy CFamily dependencies provider / 6.59.0.75237 / 7d10d2f83d5882634f3936cfea7f0131b865018e
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Clean as You Code / 2.4.0.2018 / c2f7910f6ecac6faa73001eeac4bd79a2db98cd3
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Dataflow Bug Detection / 1.31.0.11180 / 0
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Dataflow Bug Detection Rules for Java / 1.31.0.11180 / 0
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Dataflow Bug Detection Rules for Python / 1.31.0.11180 / 0
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Flex Code Quality and Security / 2.12.0.4568 / e8b2821a05db57b79b8ae85e3db1571f5b744273
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Flutter / 0.5.2 / null
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Go Code Quality and Security / 1.17.1.145 / 9361aec32c690949f436d992e2cdab0c8474faa1
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy HTML Code Quality and Security / 3.16.0.5274 / 423029a90fcbbd65b86d3b4e9c3e4bc686449a75
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy IaC Code Quality and Security / 1.36.0.12431 / null
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy JaCoCo / 1.3.0.1538 / 74a7798c7cea687c72ed9df40c93eb7ea2a58c49
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Java Advanced Code Quality Analyzer / 8.2.0.36672 / 62f908723e8d3d071378116ab09b075933d8bf63
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Java Code Quality and Security / 8.2.0.36672 / 62f908723e8d3d071378116ab09b075933d8bf63
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy JavaScript/TypeScript/CSS Code Quality and Security / 10.16.0.27621 / 49be78091aeac33f18bf0d8a0a88ec58b437cba8
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Kotlin Code Quality and Security / 2.20.0.4382 / eb22cc4ed915de84e358135dd3f2ea2080de1441
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy PHP Code Quality and Security / 3.38.0.12239 / 279677ad6708471575fb0b54b43d16084903bdf2
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy PL/SQL Code Quality and Security / 3.14.0.6845 / f0bb146ce7daaa7f6c0487de2a3ae38a432e7704
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Python Code Quality and Security / 4.22.0.16914 / 9e24dce6ea3e7b10fc2cf3942dc0a921049c5355
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Ruby Code Quality and Security / 1.17.1.134 / d58bcbdc7aae6e6d287f2b41972c5a1bba078a83
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Scala Code Quality and Security / 1.17.1.166 / 6153bdc7bf9bce07f2ac71be3aee633b9fd0bcb9
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Swift Code Quality and Security / 4.12.0.7262 / f947de544e18adb09cf1d5397bf3e5956d49fde9
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy T-SQL Code Quality and Security / 1.13.0.7207 / 0a2e8cc6c03c6d89732c262028aa2547c9918efd
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Text Code Quality and Security / 2.16.0.4008 / null
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy VB.NET Code Quality and Security / 9.32.0.97167 / cc0ba76c09677fe094621d35ab0c408bd1215aaa
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Analysis / 10.7.0.32997 / 9384a8136ba7e43eaf5d41750ad72c97ec8dca3e
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for C# / 10.7.0.32997 / 9384a8136ba7e43eaf5d41750ad72c97ec8dca3e
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for JS / 10.7.0.32997 / 9384a8136ba7e43eaf5d41750ad72c97ec8dca3e
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for Java / 10.7.0.32997 / 9384a8136ba7e43eaf5d41750ad72c97ec8dca3e
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for PHP / 10.7.0.32997 / 9384a8136ba7e43eaf5d41750ad72c97ec8dca3e
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for Python / 10.7.0.32997 / 9384a8136ba7e43eaf5d41750ad72c97ec8dca3e
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy XML Code Quality and Security / 2.10.0.4108 / 34b16ba369117f6befc0b1e0866a069a80f6db2e
2024.12.03 17:41:43 INFO  web[][o.s.s.p.ServerPluginManager] Deploy dart / 0.2.0.1567 / null
2024.12.03 17:41:44 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2024.12.03 17:41:44 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@6ce9771c [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]
2024.12.03 17:41:44 INFO  web[][o.s.s.p.DetectPluginChange] Detect plugin changes
2024.12.03 17:41:45 ERROR web[][o.s.s.p.Platform] **Background initialization failed. Stopping SonarQube**
**java.lang.IllegalStateException: Fail to load plugin Flutter [flutter]**
	at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:81)
	at org.sonar.server.platform.platformlevel.PlatformLevel4.start(PlatformLevel4.java:731)
	at org.sonar.server.platform.PlatformImpl.start(PlatformImpl.java:214)
	at org.sonar.server.platform.PlatformImpl.startLevel34Containers(PlatformImpl.java:194)
	at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.runIfNotAborted(PlatformImpl.java:362)
	at org.sonar.server.platform.PlatformImpl$1.doRun(PlatformImpl.java:113)
	at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.run(PlatformImpl.java:346)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@5ffd2b27-org.sonar.api.config.PropertyDefinition-sonar.dart.file.suffixes' defined in null: Cannot register bean definition [Generic bean: class [org.sonar.api.config.PropertyDefinition]; scope=singleton; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] for bean 'jdk.internal.loader.ClassLoaders$AppClassLoader@5ffd2b27-org.sonar.api.config.PropertyDefinition-sonar.dart.file.suffixes': There is already [Generic bean: class [org.sonar.api.config.PropertyDefinition]; scope=singleton; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] bound.
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.registerBeanDefinition(DefaultListableBeanFactory.java:1006)
	at org.springframework.context.support.GenericApplicationContext.registerBeanDefinition(GenericApplicationContext.java:342)
	at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.registerBeanDefinition(BeanDefinitionReaderUtils.java:164)
	at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.doRegisterBean(AnnotatedBeanDefinitionReader.java:285)
	at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.registerBean(AnnotatedBeanDefinitionReader.java:233)
	at org.springframework.context.annotation.AnnotationConfigApplicationContext.registerBean(AnnotationConfigApplicationContext.java:198)
	at org.sonar.core.platform.SpringComponentContainer.registerInstance(SpringComponentContainer.java:148)
	at org.sonar.core.platform.SpringComponentContainer.addExtension(SpringComponentContainer.java:164)
	at org.sonar.core.platform.SpringComponentContainer.addExtension(SpringComponentContainer.java:261)
	at org.sonar.core.platform.SpringComponentContainer.addExtension(SpringComponentContainer.java:41)
	at org.sonar.server.plugins.ServerExtensionInstaller.installExtension(ServerExtensionInstaller.java:89)
	at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:73)
	... 7 common frames omitted
2024.12.03 17:41:45 INFO  web[][o.h.v.i.util.Version] HV000001: Hibernate Validator null
2024.12.03 17:41:45 INFO  web[][o.s.p.ProcessEntryPoint] Hard stopping process
2024.12.03 17:41:46 WARN  web[][o.s.p.ProcessEntryPoint$HardStopperThread] Can not stop in 1000ms
2024.12.03 17:41:46 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Shutdown initiated...
2024.12.03 17:41:46 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Shutdown completed.
2024.12.03 17:41:46 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Embedded database stopped

If remove this plugin and restart. Server is up running

Hi,

Welcome to the community!

That plugin isn’t offered or maintained by us. It seems that the easiest thing to do to get your server running is to remove the plugin for good.

Note that Dart analysis is available in SonarQube Server 10.8.

 
HTH,
Ann

Hi,

Thanks…

I am facing this issue in developer edition(Free trail) and not in community build. why ?

Hi,

If the plugin is incompatible - which your startup failure seems to indicate - it won’t matter which edition you try to run it in.

 
Ann