在IntelliJ更新了我的副驾驶插件后,我试图登录,我被重定向到一个网页,我输入我的信息,点击授权,页面祝贺我设置好了。但是,当我返回到IDE时,我看到一个弹出的错误消息:
"登录GitHub失败。请再试一次
在应用程序窗口的右下角,我得到一个IDE内部错误(IDE致命错误)的指示器:
JsonRpcErrorException(requestId=4, code=1001, extraData=null)
at com.github.copilot.lang.agent.rpc.JsonRPC.parseResponse(JsonRPC.java:52)
at com.github.copilot.lang.agent.vscodeRpc.DefaultJsonRpcMessageHandler.handleJsonMessage(DefaultJsonRpcMessageHandler.java:74)
at com.github.copilot.lang.agent.vscodeRpc.VSCodeJsonRpcParser.processPendingContent(VSCodeJsonRpcParser.java:91)
at com.github.copilot.lang.agent.vscodeRpc.VSCodeJsonRpcParser.appendLocked(VSCodeJsonRpcParser.java:71)
at com.github.copilot.lang.agent.vscodeRpc.VSCodeJsonRpcParser.append(VSCodeJsonRpcParser.java:39)
at com.github.copilot.lang.agent.vscodeRpc.AgentProcessHandler$1.onTextAvailable(AgentProcessHandler.java:35)
at jdk.internal.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.execution.process.ProcessHandler$2.invoke(ProcessHandler.java:247)
at com.sun.proxy.$Proxy64.onTextAvailable(Unknown Source)
at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(ProcessHandler.java:221)
at com.intellij.execution.process.BaseOSProcessHandler$SimpleOutputReader.onTextAvailable(BaseOSProcessHandler.java:156)
at com.intellij.util.io.BaseOutputReader.processInput(BaseOutputReader.java:198)
at com.intellij.util.io.BaseOutputReader.readAvailableBlocking(BaseOutputReader.java:136)
at com.intellij.util.io.BaseDataReader.readAvailable(BaseDataReader.java:77)
at com.intellij.util.io.BaseDataReader.doRun(BaseDataReader.java:166)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:213)
at com.intellij.util.io.BaseDataReader.lambda$start$0(BaseDataReader.java:51)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:829)
我尝试过但没有结果的事情:
- 从IntelliJ中删除副驾驶插件,下载早期版本的插件,并将其从磁盘导入IntelliJ,但我仍然得到相同的问题
- 更新IntelliJ
副驾驶有问题。查看他们的bug追踪器:https://github.com/github/feedback/discussions/16230
点击@Konstantin Annikov的链接
TL,博士将副驾驶降至1.1.16.1219在英特尔MacBook 2018上为我工作