Idea Eclipse 插件 | org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: 管道正在被關閉。

具體錯誤信息如下:

org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: 管道正在被關閉。
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:72)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.request(RemoteEndpoint.java:161)
	at com.codestream.agent.AgentService.documentMarkers(AgentService.kt:264)
	at com.codestream.editor.EditorService.getDocumentMarkers(EditorService.kt:215)
	at com.codestream.editor.EditorService$updateMarkers$3.invokeSuspend(EditorService.kt:203)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:241)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:740)
Caused by: java.io.IOException: 管道正在被關閉。
	at java.io.FileOutputStream.writeBytes(Native Method)
	at java.io.FileOutputStream.write(FileOutputStream.java:326)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
	at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
	at java.io.FilterOutputStream.write(FilterOutputStream.java:97)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:68)
	... 9 more

 

初步判斷可能是因爲idea 插件過多相互影響的原因,沒有解決,再次記錄。

 

問題解決:

    在 idea -> Settings -> Plugins -> Installed 搜索 Eclipse 取消該插件的使用,即可解決。具體原因尚未得知。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章