Codestream: IDE启动时插件崩溃。

创建于 2019-09-05  ·  4评论  ·  资料来源: TeamCodeStream/codestream

描述错误
Codestream插件无法在IntelliJ IDEA Ultimate上加载。 IDEA不会崩溃,但是插件错误会显示在轨迹上,并且仍然无法使用。

系统信息(请填写以下信息):

  • CodeStream扩展的版本:2.1.0 + 1
  • 作业系统:
    Linux Mint 19.1
    5.2.11-050211-通用
  • Intellij IDEA Ultimate 2019.2.1-idea-IU-192.6262.58

日志文件

2019-09-05 13:07:29,809 [   3538]   INFO - .codestream.agent.AgentService - Initializing CodeStream LSP agent 
2019-09-05 13:07:30,071 [   3800]   INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found 
2019-09-05 13:07:30,152 [   3881]   INFO - .codestream.agent.AgentService - CodeStream LSP agent extracted to /tmp/codestream17722175128169212956.tmp/codestream-agent 
2019-09-05 13:07:30,152 [   3881]   INFO - .codestream.agent.AgentService - xdg-open extracted to /tmp/codestream17722175128169212956.tmp/xdg-open 
2019-09-05 13:07:30,230 [   3959]   INFO - .codestream.agent.AgentService - LSP agent terminated with exit code 4 
2019-09-05 13:07:30,231 [   3960]   WARN - .codestream.agent.AgentService - Pkg: FLAGS_MISMATCH 
2019-09-05 13:07:30,251 [   3980]  ERROR - .codestream.agent.AgentService - java.io.IOException: Stream closed 
org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: Stream closed
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:72)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.request(RemoteEndpoint.java:161)
    at org.eclipse.lsp4j.jsonrpc.services.EndpointProxy.invoke(EndpointProxy.java:91)
    at com.sun.proxy.$Proxy82.initialize(Unknown Source)
    at com.codestream.agent.AgentService.initAgent(AgentService.kt:98)
    at com.codestream.agent.AgentService.initAgent$default(AgentService.kt:81)
    at com.codestream.agent.AgentService$1.invokeSuspend(AgentService.kt:71)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:238)
    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:742)
Caused by: java.io.IOException: Stream closed
    at java.base/java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:442)
    at java.base/java.io.OutputStream.write(OutputStream.java:157)
    at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
    at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:69)
    ... 11 more

所有4条评论

@ R-Bower-感谢您的举报! 您可以让我知道您运行的是32位还是64位Mint吗? 不幸的是,我们目前仅支持64位Linux。

如果您运行的是64位,我可以麻烦您发送日志文件吗? 可以在这里找到有关查找日志文件的说明:

https://github.com/TeamCodeStream/CodeStream/wiki/Instructions-for-finding-CodeStream-log-files

如果您愿意,请随时通过[email protected]将日志文件直接发送给我

我们正在努力解决。 同时,您能否检查是否设置了名为NODE_OPTIONS的环境变量? 如果是这样,您可以尝试清除它并重新启动IntelliJ吗?

@ R-Bower-在v2.1.3中已修复

此页面是否有帮助?
0 / 5 - 0 等级