# InterruptedException: null

**URL:** <https://community.sonarsource.com/t/interruptedexception-null/44173>\
**Category:** SonarQube Server / Community Build\
**Created:** [May 20, 2021, 11:42am UTC](https://community.sonarsource.com/t/interruptedexception-null/44173 "2021-05-20T11:42:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jiri\_Hala](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/jiri_hala/32/22393_2.png) [@Jiri\_Hala](https://community.sonarsource.com/u/Jiri_Hala)\
**Post date:** [May 20, 2021, 11:42am UTC](https://community.sonarsource.com/t/interruptedexception-null/44173/1 "2021-05-20T11:42:02Z")

</div>

Hi, I have both JDK 15 and 11. And I am facing similar issue.  
Error is little bit different but topic the same. Can you help me with that? Thank you.

```
C:\>C:\sonarqube\bin\windows-x86-64\StartSonar.bat
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 | 2021.05.20 13:01:52 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\sonarqube\temp
jvm 1 | 2021.05.20 13:01:52 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:62414]
jvm 1 | 2021.05.20 13:01:52 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [C:\sonarqube\elasticsearch]: C:\Program Files\Java\jdk-15.0.2\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Djava.io.tmpdir=C:\sonarqube\temp -XX:ErrorFile=../logs/es_hs_err_pid%p.log -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 -Dio.netty.allocator.numDirectArenas=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.locale.providers=COMPAT -Xmx512m -Xms512m -XX:MaxDirectMemorySize=256m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\sonarqube\elasticsearch -Des.path.conf=C:\sonarqube\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
jvm 1 | 2021.05.20 13:01:52 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1 | Unrecognized VM option 'UseConcMarkSweepGC'
jvm 1 | Error: Could not create the Java Virtual Machine.
jvm 1 | Error: A fatal exception has occurred. Program will exit.
jvm 1 | 2021.05.20 13:01:52 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
jvm 1 | 2021.05.20 13:01:52 INFO app[][o.s.a.SchedulerImpl] Process[es] is stopped
jvm 1 | 2021.05.20 13:01:52 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
jvm 1 | 2021.05.20 13:01:53 ERROR app[][o.s.a.p.EsManagedProcess] Failed to check status
jvm 1 | java.lang.RuntimeException: thread waiting for the response was interrupted
jvm 1 | at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849)
jvm 1 | at org.elasticsearch.client.RestClient.performRequest(RestClient.java:283)
jvm 1 | at org.elasticsearch.client.RestClient.performRequest(RestClient.java:270)
jvm 1 | at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1654)
jvm 1 | at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1624)
jvm 1 | at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1594)
jvm 1 | at org.elasticsearch.client.ClusterClient.health(ClusterClient.java:119)
jvm 1 | at org.sonar.application.es.EsConnectorImpl.getClusterHealthStatus(EsConnectorImpl.java:64)
jvm 1 | at org.sonar.application.process.EsManagedProcess.checkStatus(EsManagedProcess.java:89)
jvm 1 | at org.sonar.application.process.EsManagedProcess.checkOperational(EsManagedProcess.java:74)
jvm 1 | at org.sonar.application.process.EsManagedProcess.isOperational(EsManagedProcess.java:59)
jvm 1 | at org.sonar.application.process.ManagedProcessHandler.refreshState(ManagedProcessHandler.java:220)
jvm 1 | at org.sonar.application.process.ManagedProcessHandler$EventWatcher.run(ManagedProcessHandler.java:285)
jvm 1 | Caused by: java.lang.InterruptedException: null
jvm 1 | at java.base/java.lang.Object.wait(Native Method)
jvm 1 | at java.base/java.lang.Object.wait(Object.java:321)
jvm 1 | at org.apache.http.concurrent.BasicFuture.get(BasicFuture.java:82)
jvm 1 | at org.apache.http.impl.nio.client.FutureWrapper.get(FutureWrapper.java:70)
jvm 1 | at org.elasticsearch.client.RestClient.performRequest(RestClient.java:279)
jvm 1 | ... 11 common frames omitted
wrapper | <-- Wrapper Stopped
```

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [June 2, 2021, 12:15pm UTC](https://community.sonarsource.com/t/interruptedexception-null/44173/2 "2021-06-02T12:15:42Z")

</div>

Hi,

Welcome to the community!

What do your [server logs](https://docs.sonarqube.org/latest/setup/troubleshooting/) say?

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![\_tom](https://avatars.discourse-cdn.com/v4/letter/_/dec6dc/32.png) [@\_tom](https://community.sonarsource.com/u/_tom)\
**Post date:** [August 19, 2021, 12:28pm UTC](https://community.sonarsource.com/t/interruptedexception-null/44173/3 "2021-08-19T12:28:31Z")

</div>

Looks to be the same as [StartSonar.bat fails on Windows 10 with "Unrecognized VM option 'UseConcMarkSweepGC'"](https://community.sonarsource.com/t/startsonar-bat-fails-on-windows-10-with-unrecognized-vm-option-useconcmarksweepgc/36189).

What’s the status of support for JDK14+?

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [August 19, 2021, 5:31pm UTC](https://community.sonarsource.com/t/interruptedexception-null/44173/4 "2021-08-19T17:31:42Z")

</div>

Hi @_tom,

Welcome to the community!

[The docs](https://docs.sonarqube.org/latest/requirements/requirements/#header-3) should help.

&nbsp;  
HTH,  
Ann
