java.lang.IllegalStateException: closed


Solutions on the web7

Solution icon of googlegroups
via Google Groups by Unknown author, 8 months ago
closed

Solution icon of github
via GitHub by rfc2822
, 11 months ago
closed

Solution icon of github
via GitHub by JakeWharton
, 11 months ago
closed

Solution icon of github
closed

Solution icon of stackoverflow
closed

Solution icon of stackoverflow
closed

Stack trace

java.lang.IllegalStateException: closed
	at okhttp3.internal.http.Http1xStream$FixedLengthSource.read(Http1xStream.java:378)
	at okio.Buffer.writeAll(Buffer.java:993)
	at okio.RealBufferedSource.readByteArray(RealBufferedSource.java:106)
	at okhttp3.ResponseBody.bytes(ResponseBody.java:128)
	at okhttp3.ResponseBody.string(ResponseBody.java:154)
	at org.sonarqube.ws.client.OkHttpResponse.content(OkHttpResponse.java:77)
	at org.sonarsource.sonarlint.core.container.connected.CloseableWsResponse.content(CloseableWsResponse.java:86)
	at org.sonarsource.sonarlint.core.container.connected.validate.ServerVersionAndStatusChecker.fetchServerInfos(ServerVersionAndStatusChecker.java:110)
	at org.sonarsource.sonarlint.core.container.connected.validate.ServerVersionAndStatusChecker.checkVersionAndStatus(ServerVersionAndStatusChecker.java:60)
	at org.sonarsource.sonarlint.core.container.connected.validate.ServerVersionAndStatusChecker.checkVersionAndStatus(ServerVersionAndStatusChecker.java:50)
	at org.sonarsource.sonarlint.core.WsHelperImpl.validateConnection(WsHelperImpl.java:48)
	at org.sonarsource.sonarlint.core.WsHelperImpl.validateConnection(WsHelperImpl.java:43)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 1 year ago