SonarQube: Process exited with exit value es: 1

Hi,

I am using SonarQube 8.0, Java 13.0.1 on MacOS Mojave 10.14.6
When running the ‘console’ command I get the following error: Process exited with exit value [es]: 1
Detailed info:
MacBook-Pro-2:macosx-universal-64 buildserver$ /Users/buildserver/Downloads/sonarqube-7.9.1/bin/macosx-universal-64/sonar.sh console
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 | 2019.11.18 16:15:45 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /Users/buildserver/Downloads/sonarqube-7.9.1/temp
jvm 1 | 2019.11.18 16:15:45 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1 | 2019.11.18 16:15:46 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/Users/buildserver/Downloads/sonarqube-7.9.1/elasticsearch]: /Users/buildserver/Downloads/sonarqube-7.9.1/elasticsearch/bin/elasticsearch
jvm 1 | 2019.11.18 16:15:46 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1 | 2019.11.18 16:15:46 INFO app[o.e.p.PluginsService] no modules loaded
jvm 1 | 2019.11.18 16:15:46 INFO app[o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
jvm 1 | Java HotSpot™ 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
jvm 1 | 2019.11.18 16:15:50 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
jvm 1 | 2019.11.18 16:15:50 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
jvm 1 | 2019.11.18 16:15:50 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
wrapper | <-- Wrapper Stopped

Can’t upload the es.log, because the format is unsupported, however here is the contents:

2019.11.19 14:54:21 INFO  es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/ (/dev/disk1s1)]], net usable_space [60.5gb], net total_space [233.5gb], types [apfs]
2019.11.19 14:54:21 INFO  es[][o.e.e.NodeEnvironment] heap size [494.9mb], compressed ordinary object pointers [true]
2019.11.19 14:54:21 INFO  es[][o.e.n.Node] node name [sonarqube], node ID [DdSIS6fyT_ix9v9OuZ0pJg]
2019.11.19 14:54:21 INFO  es[][o.e.n.Node] version[6.8.0], pid[1096], build[default/tar/65b6179/2019-05-15T20:06:13.172855Z], OS[Mac OS X/10.14.6/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/13.0.1/13.0.1+9]
2019.11.19 14:54:21 INFO  es[][o.e.n.Node] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/Users/buildserver/Downloads/sonarqube-8-2.0/temp, -XX:ErrorFile=../logs/es_hs_err_pid%p.log, -Xmx512m, -Xms512m, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/Users/buildserver/Downloads/sonarqube-8-2.0/elasticsearch, -Des.path.conf=/Users/buildserver/Downloads/sonarqube-8-2.0/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar]
2019.11.19 14:54:22 INFO  es[][o.e.p.PluginsService] loaded module [analysis-common]
2019.11.19 14:54:22 INFO  es[][o.e.p.PluginsService] loaded module [lang-painless]
2019.11.19 14:54:22 INFO  es[][o.e.p.PluginsService] loaded module [mapper-extras]
2019.11.19 14:54:22 INFO  es[][o.e.p.PluginsService] loaded module [parent-join]
2019.11.19 14:54:22 INFO  es[][o.e.p.PluginsService] loaded module [percolator]
2019.11.19 14:54:22 INFO  es[][o.e.p.PluginsService] loaded module [reindex]
2019.11.19 14:54:22 INFO  es[][o.e.p.PluginsService] loaded module [repository-url]
2019.11.19 14:54:22 INFO  es[][o.e.p.PluginsService] loaded module [transport-netty4]
2019.11.19 14:54:22 INFO  es[][o.e.p.PluginsService] no plugins loaded
2019.11.19 14:54:23 WARN  es[][o.e.d.c.s.Settings] [http.enabled] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.
2019.11.19 14:54:24 INFO  es[][o.e.d.DiscoveryModule] using discovery type [zen] and host providers [settings]
2019.11.19 14:54:24 ERROR es[][o.e.b.Bootstrap] Guice Exception: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.jdk.internal.vm.annotation")
	at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
	at java.base/java.security.AccessController.checkPermission(AccessController.java:1036)
	at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:408)
	at java.base/java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1324)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:174)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:416)
	at java.base/sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)
	at java.base/sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)
	at java.base/sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
	at java.base/sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:440)
	at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:242)
	at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:121)
	at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
	at java.base/java.lang.reflect.Executable.declaredAnnotations(Executable.java:614)
	at java.base/java.lang.reflect.Executable.declaredAnnotations(Executable.java:612)
	at java.base/java.lang.reflect.Executable.getAnnotation(Executable.java:582)
	at java.base/java.lang.reflect.Method.getAnnotation(Method.java:696)
	at <<<guice>>>
	at org.elasticsearch.node.Node.<init>(Node.java:605)
	at org.elasticsearch.node.Node.<init>(Node.java:266)
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:212)
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212)
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333)
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159)
	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150)
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
	at org.elasticsearch.cli.Command.main(Command.java:90)
	<<<truncated>>>

2019.11.19 14:54:24 WARN  es[][o.e.b.ElasticsearchUncaughtExceptionHandler] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: org.elasticsearch.common.inject.CreationException: Guice creation errors:

1) An exception was caught and reported. Message: access denied ("java.lang.RuntimePermission" "accessClassInPackage.jdk.internal.vm.annotation")
  at _unknown_

1 error
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.8.0.jar:6.8.0]
	at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.8.0.jar:6.8.0]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.8.0.jar:6.8.0]
Caused by: org.elasticsearch.common.inject.CreationException: Guice creation errors:

1) An exception was caught and reported. Message: access denied ("java.lang.RuntimePermission" "accessClassInPackage.jdk.internal.vm.annotation")
  at _unknown_

1 error
	at org.elasticsearch.common.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:361) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:136) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:92) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:96) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:42) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.node.Node.<init>(Node.java:605) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.node.Node.<init>(Node.java:266) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:212) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.8.0.jar:6.8.0]
	... 6 more
Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.jdk.internal.vm.annotation")
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) ~[?:?]
	at java.security.AccessController.checkPermission(AccessController.java:1036) ~[?:?]
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:408) ~[?:?]
	at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1324) ~[?:?]
	at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:174) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:416) ~[?:?]
	at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114) ~[?:?]
	at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125) ~[?:?]
	at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49) ~[?:?]
	at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:440) ~[?:?]
	at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:242) ~[?:?]
	at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:121) ~[?:?]
	at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:73) ~[?:?]
	at java.lang.reflect.Executable.declaredAnnotations(Executable.java:614) ~[?:?]
	at java.lang.reflect.Executable.declaredAnnotations(Executable.java:612) ~[?:?]
	at java.lang.reflect.Executable.getAnnotation(Executable.java:582) ~[?:?]
	at java.lang.reflect.Method.getAnnotation(Method.java:696) ~[?:?]
	at org.elasticsearch.common.inject.internal.ProviderMethodsModule.getProviderMethods(ProviderMethodsModule.java:87) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.internal.ProviderMethodsModule.configure(ProviderMethodsModule.java:78) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:221) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:233) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:96) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:142) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:89) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:96) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:42) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.node.Node.<init>(Node.java:605) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.node.Node.<init>(Node.java:266) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:212) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.8.0.jar:6.8.0]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.8.0.jar:6.8.0]
	... 6 more

Please help!
Thanks

Hi,

SonarQube is unfortunately not compatible with java 13 yet. Please downgrade your jdk to 11

Thank you for the fast reply Pierre!
However after downgrading to java 11 I get another error:
Do you know what might solve this?

MacBook-Pro-2:macosx-universal-64 buildserver$ /Users/buildserver/Documents/SonarQube\ 8.0\ Dev/bin/macosx-universal-64/sonar.sh console
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    | 2019.11.19 16:08:59 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /Users/buildserver/Documents/SonarQube 8.0 Dev/temp
jvm 1    | 2019.11.19 16:08:59 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1    | 2019.11.19 16:08:59 ERROR app[][o.s.a.p.ManagedProcessHandler] Fail to launch process [es]
jvm 1    | java.lang.IllegalStateException: Cannot write Elasticsearch yml settings file
jvm 1    | 	at org.sonar.application.es.EsYmlSettings.writeToYmlSettingsFile(EsYmlSettings.java:53)
jvm 1    | 	at org.sonar.application.ProcessLauncherImpl.writeConfFiles(ProcessLauncherImpl.java:152)
jvm 1    | 	at org.sonar.application.ProcessLauncherImpl.launch(ProcessLauncherImpl.java:84)
jvm 1    | 	at org.sonar.application.SchedulerImpl.lambda$tryToStartProcess$2(SchedulerImpl.java:196)
jvm 1    | 	at org.sonar.application.process.ManagedProcessHandler.start(ManagedProcessHandler.java:73)
jvm 1    | 	at org.sonar.application.SchedulerImpl.tryToStartProcess(SchedulerImpl.java:194)
jvm 1    | 	at org.sonar.application.SchedulerImpl.tryToStartEs(SchedulerImpl.java:146)
jvm 1    | 	at org.sonar.application.SchedulerImpl.tryToStartAll(SchedulerImpl.java:138)
jvm 1    | 	at org.sonar.application.SchedulerImpl.schedule(SchedulerImpl.java:112)
jvm 1    | 	at org.sonar.application.App.start(App.java:68)
jvm 1    | 	at org.sonar.application.App.main(App.java:98)
jvm 1    | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1    | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1    | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
jvm 1    | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
jvm 1    | 	at java.base/java.lang.Thread.run(Thread.java:834)
jvm 1    | Caused by: java.nio.file.AccessDeniedException: /Users/buildserver/Documents/SonarQube 8.0 Dev/temp/conf/es/elasticsearch.yml
jvm 1    | 	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
jvm 1    | 	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
jvm 1    | 	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
jvm 1    | 	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:215)
jvm 1    | 	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478)
jvm 1    | 	at java.base/java.nio.file.Files.newOutputStream(Files.java:219)
jvm 1    | 	at java.base/java.nio.file.Files.write(Files.java:3422)
jvm 1    | 	at org.sonar.application.es.EsYmlSettings.writeToYmlSettingsFile(EsYmlSettings.java:51)
jvm 1    | 	... 16 common frames omitted
jvm 1    | 2019.11.19 16:08:59 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
jvm 1    | 2019.11.19 16:08:59 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
jvm 1    | 2019.11.19 16:08:59 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
wrapper  | <-- Wrapper Stopped

This tell us that the user running SonarQube does not have write permission to the sonarqube data folder.

Hi Pierre, can you please provide the steps for fixing the SonarQube write permissions?

Hi, well it’s not a “SonarQube” write permission, but an OS user permission. You need to check what user is running SQ, and make sure that this user as full write access to every folders under /Users/buildserver/Documents.

Also, even if it’s not probably the error here, i would discourage the usage of path with space.

Good morning,
I have a problem with starting SonarQube. I work on Windows 10. I added environment variables and changed the path in wrapper.conf.

  • Java 8 update 251,
  • JDK 11

I have error:
AbstractProcessMonitor] Process exited with exit value [es]: 1

es.log

2020.11.25 17:23:12 WARN es[o.e.b.ElasticsearchUncaughtExceptionHandler] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: org.elasticsearch.bootstrap.BootstrapException: java.nio.file.NoSuchFileException: C:\Users\Dawid\Desktop\MCH\SonarQube-developer-8.5.1\sonarqube-8.5.1.38104\elasticsearch\modules\desktop.ini\plugin-descriptor.properties
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.8.4.jar:6.8.4]
Caused by: org.elasticsearch.bootstrap.BootstrapException: java.nio.file.NoSuchFileException: C:\Users\Dawid\Desktop\MCH\SonarQube-developer-8.5.1\sonarqube-8.5.1.38104\elasticsearch\modules\desktop.ini\plugin-descriptor.properties
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:167) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.8.4.jar:6.8.4]
… 6 more
Caused by: java.nio.file.NoSuchFileException: C:\Users\Dawid\Desktop\MCH\SonarQube-developer-8.5.1\sonarqube-8.5.1.38104\elasticsearch\modules\desktop.ini\plugin-descriptor.properties
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:231) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:370) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:421) ~[?:?]
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420) ~[?:?]
at java.nio.file.Files.newInputStream(Files.java:155) ~[?:?]
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:162) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Spawner.spawnNativeControllers(Spawner.java:74) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:165) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.8.4.jar:6.8.4]
… 6 more
2020.11.25 17:24:00 WARN es[o.e.b.ElasticsearchUncaughtExceptionHandler] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: org.elasticsearch.bootstrap.BootstrapException: java.nio.file.NoSuchFileException: C:\Users\Dawid\Desktop\MCH\SonarQube-developer-8.5.1\sonarqube-8.5.1.38104\elasticsearch\modules\desktop.ini\plugin-descriptor.properties
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.8.4.jar:6.8.4]
Caused by: org.elasticsearch.bootstrap.BootstrapException: java.nio.file.NoSuchFileException: C:\Users\Dawid\Desktop\MCH\SonarQube-developer-8.5.1\sonarqube-8.5.1.38104\elasticsearch\modules\desktop.ini\plugin-descriptor.properties
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:167) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.8.4.jar:6.8.4]
… 6 more
Caused by: java.nio.file.NoSuchFileException: C:\Users\Dawid\Desktop\MCH\SonarQube-developer-8.5.1\sonarqube-8.5.1.38104\elasticsearch\modules\desktop.ini\plugin-descriptor.properties
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:231) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:370) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:421) ~[?:?]
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420) ~[?:?]
at java.nio.file.Files.newInputStream(Files.java:155) ~[?:?]
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:162) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Spawner.spawnNativeControllers(Spawner.java:74) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:165) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.8.4.jar:6.8.4]
… 6 more
2020.11.25 17:24:25 WARN es[o.e.b.ElasticsearchUncaughtExceptionHandler] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: org.elasticsearch.bootstrap.BootstrapException: java.nio.file.NoSuchFileException: C:\Users\Dawid\Desktop\MCH\SonarQube-developer-8.5.1\sonarqube-8.5.1.38104\elasticsearch\modules\desktop.ini\plugin-descriptor.properties
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.8.4.jar:6.8.4]
Caused by: org.elasticsearch.bootstrap.BootstrapException: java.nio.file.NoSuchFileException: C:\Users\Dawid\Desktop\MCH\SonarQube-developer-8.5.1\sonarqube-8.5.1.38104\elasticsearch\modules\desktop.ini\plugin-descriptor.properties
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:167) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.8.4.jar:6.8.4]
… 6 more
Caused by: java.nio.file.NoSuchFileException: C:\Users\Dawid\Desktop\MCH\SonarQube-developer-8.5.1\sonarqube-8.5.1.38104\elasticsearch\modules\desktop.ini\plugin-descriptor.properties
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:231) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:370) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:421) ~[?:?]
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420) ~[?:?]
at java.nio.file.Files.newInputStream(Files.java:155) ~[?:?]
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:162) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Spawner.spawnNativeControllers(Spawner.java:74) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:165) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.8.4.jar:6.8.4]
… 6 more
2020.11.25 17:25:03 WARN es[o.e.b.ElasticsearchUncaughtExceptionHandler] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: org.elasticsearch.bootstrap.BootstrapException: java.nio.file.NoSuchFileException: C:\Users\Dawid\Desktop\MCH\SonarQube-developer-8.5.1\sonarqube-8.5.1.38104\elasticsearch\modules\desktop.ini\plugin-descriptor.properties
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.8.4.jar:6.8.4]
Caused by: org.elasticsearch.bootstrap.BootstrapException: java.nio.file.NoSuchFileException: C:\Users\Dawid\Desktop\MCH\SonarQube-developer-8.5.1\sonarqube-8.5.1.38104\elasticsearch\modules\desktop.ini\plugin-descriptor.properties
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:167) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.8.4.jar:6.8.4]
… 6 more
Caused by: java.nio.file.NoSuchFileException: C:\Users\Dawid\Desktop\MCH\SonarQube-developer-8.5.1\sonarqube-8.5.1.38104\elasticsearch\modules\desktop.ini\plugin-descriptor.properties
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:231) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:370) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:421) ~[?:?]
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420) ~[?:?]
at java.nio.file.Files.newInputStream(Files.java:155) ~[?:?]
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:162) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Spawner.spawnNativeControllers(Spawner.java:74) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:165) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.8.4.jar:6.8.4]
… 6 more

SonarQube is run as Admin. (right click > run as Admin).

Can You help me?