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 取消该插件的使用,即可解决。具体原因尚未得知。

 

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