Copilot rider stopped working (after many months using it successfully) and there is no way to make it work again #140806
Replies: 12 comments 2 replies
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
It sounds like you’re encountering an issue with GitHub Copilot’s integration in Rider, specifically with the chat window feature. Since you’ve tried a lot of solutions already, here are some additional steps you can try to resolve this issue:
%USERPROFILE%.IntelliJIdeaXX\config\plugins
These steps should help you isolate and potentially resolve the issue. |
Beta Was this translation helpful? Give feedback.
-
|
the link for the issue report doens't work |
Beta Was this translation helpful? Give feedback.
-
|
I have the same issue, also in Rider (2024.2.5) for Windows (10). Completions don't work, the chat window does. I have tried reinstalling copilot, nothing. However, this could be a Rider specific issue, as it still works perfectly on IntelliJ, also in the latest version of both the IDE and copilot quick edit: shift+enter for new line on copilot chat doesn't seem to work on Rider either, but it works perfectly on IntelliJ. |
Beta Was this translation helpful? Give feedback.
-
|
It seems to work again now! @sebas77 give it another shot :) |
Beta Was this translation helpful? Give feedback.
-
|
I can confirm it's still not working on myside, with the same exact exception.
Tried to upgrade to 1.5.29.7991 nightly is not fixing it neither |
Beta Was this translation helpful? Give feedback.
-
|
I have a co-corker that has the exact same issue. I have the same versions installed as him but for me the plugin works fine. We've tried all the suggestions above to no avail. Any other ideas? Rider: Build JetBrains Rider 2024.3.3 (#RD-243.22562.250) |
Beta Was this translation helpful? Give feedback.
-
|
Currently have this exact issue also, same error message Rider: Rider 2024.3.4 (243.23654.126) Nothing has worked, from clearing cache, reinstalling, logging out/in, deleting directory. |
Beta Was this translation helpful? Give feedback.
-
|
Different error message but same result,
Copilot-Chat is working normally, but as soon as I try to use autocomplete I get the following error: Detailsjava.lang.NoClassDefFoundError: com/intellij/ide/highlighter/JavaFileType at com.github.copilot.platform.utils.VirtualFileKt.isJavaFile(VirtualFile.kt:19) at com.github.copilot.completion.context.provider.ContextProvider$Companion.contextForFile(ContextProvider.kt:58) at com.github.copilot.completion.context.provider.ContextProvider$Companion.contextForFile(ContextProvider.kt:63) at com.github.copilot.completion.context.provider.ContextProvider.contextForFile(ContextProvider.kt) at com.github.copilot.lang.agent.CopilotAgentCompletionService.fetchInlineCompletions(CopilotAgentCompletionService.java:92) at com.github.copilot.inline.CopilotInlineCompletionProviderBase.fetchCompletions(CopilotInlineCompletionProviderBase.kt:177) at com.github.copilot.inline.CopilotInlineCompletionProviderBase.fetchCompletions(CopilotInlineCompletionProviderBase.kt:112) at com.github.copilot.inline.CopilotInlineCompletionProviderBase.getSuggestionDebounced$suspendImpl(CopilotInlineCompletionProviderBase.kt:40) at com.github.copilot.inline.CopilotInlineCompletionProviderBase.getSuggestionDebounced(CopilotInlineCompletionProviderBase.kt) at com.intellij.codeInsight.inline.completion.DebouncedInlineCompletionProvider.debounce(DebouncedInlineCompletionProvider.kt:75) at com.intellij.codeInsight.inline.completion.DebouncedInlineCompletionProvider$debounce$1.invokeSuspend(DebouncedInlineCompletionProvider.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750) Caused by: java.lang.ClassNotFoundException: com.intellij.ide.highlighter.JavaFileType PluginClassLoader(plugin=PluginDescriptor(name=GitHub Copilot, id=com.github.copilot, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\Rider2024.3\plugins\github-copilot-intellij, version=1.5.36-242, package=null, isBundled=false), packagePrefix=null, state=active, parents=PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, moduleName=intellij.vcs.github/tracker, descriptorPath=intellij.vcs.github.tracker.xml, path=~\AppData\Local\Programs\Rider\plugins\vcs-github-ultimate, version=243.23654.126-ultimate, package=org.jetbrains.plugins.github.tasks, isBundled=true), PluginDescriptor(name=Git, id=Git4Idea, moduleName=intellij.vcs.git/terminal, descriptorPath=intellij.vcs.git.terminal.xml, path=~\AppData\Local\Programs\Rider\plugins\vcs-git, version=243.23654.126, package=git4idea.terminal, isBundled=true), PluginDescriptor(name=Git, id=Git4Idea, moduleName=intellij.vcs.git/newUiOnboarding, descriptorPath=intellij.vcs.git.newUiOnboarding.xml, path=~\AppData\Local\Programs\Rider\plugins\vcs-git, version=243.23654.126, package=git4idea.newUiOnboarding, isBundled=true), PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, moduleName=intellij.vcs.github.ultimate/cron, descriptorPath=intellij.vcs.github.ultimate.cron.xml, path=~\AppData\Local\Programs\Rider\plugins\vcs-github-ultimate, version=243.23654.126-ultimate, package=com.intellij.vcs.github.ultimate.cron, isBundled=true), PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, moduleName=intellij.vcs.github.ultimate/docker, descriptorPath=intellij.vcs.github.ultimate.docker.xml, path=~\AppData\Local\Programs\Rider\plugins\vcs-github-ultimate, version=243.23654.126-ultimate, package=com.intellij.vcs.github.ultimate.action.runs.docker, isBundled=true), PluginDescriptor(name=Git, id=Git4Idea, moduleName=intellij.vcs.git.coverage, descriptorPath=intellij.vcs.git.coverage.xml, path=~\AppData\Local\Programs\Rider\plugins\vcs-git, version=243.23654.126, package=com.intellij.vcs.git.coverage, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.impl, descriptorPath=intellij.platform.vcs.impl.xml, path=~\AppData\Local\Programs\Rider\lib, version=243.23654.126, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.log.impl, descriptorPath=intellij.platform.vcs.log.impl.xml, path=~\AppData\Local\Programs\Rider\lib, version=243.23654.126, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.dvcs.impl, descriptorPath=intellij.platform.vcs.dvcs.impl.xml, path=~\AppData\Local\Programs\Rider\lib, version=243.23654.126, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.collaborationTools, descriptorPath=intellij.platform.collaborationTools.xml, path=~\AppData\Local\Programs\Rider\lib, version=243.23654.126, package=null, isBundled=true), PluginDescriptor(name=Git, id=Git4Idea, descriptorPath=plugin.xml, path=~\AppData\Local\Programs\Rider\plugins\vcs-git, version=243.23654.126, package=git4idea, isBundled=true), PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, descriptorPath=plugin.xml, path=~\AppData\Local\Programs\Rider\plugins\vcs-github-ultimate, version=243.23654.126-ultimate, package=com.intellij.vcs.github.ultimate, isBundled=true), ) at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:157) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ... 17 moreEDIT: Solved downgrading the plugin to 1.5.35-242 |
Beta Was this translation helpful? Give feedback.
-
|
Getting a similar error but I don't even use Rider, atleast not that I'm aware of. Stack trace |
Beta Was this translation helpful? Give feedback.
-
|
This worked for me: https://github.com/orgs/community/discussions/137257#discussioncomment-10799241 |
Beta Was this translation helpful? Give feedback.
-
|
I have the issue in one week and resolved issue by reinstall Github Copilot plugin in Rider. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
I am using Rider for windows (latest version) and the latest version of the plugin.
Only the chat window (luckily) stopped working, but there is no way to make it work again. I get these exceptions
Unhandled exception in [ComponentManager(ProjectImpl@1097189798), CoroutineName(com.intellij.openapi.wm.impl.ToolWindowManagerImpl), ModalityState.NON_MODAL, Dispatchers.EDT]
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'fileType' of com/intellij/ide/highlighter/HighlighterFactory.createHighlighter must not be null
at com.intellij.ide.highlighter.HighlighterFactory.$$$reportNull$$$0(HighlighterFactory.java)
at com.intellij.ide.highlighter.HighlighterFactory.createHighlighter(HighlighterFactory.java)
at com.intellij.ui.LanguageTextField.createEditor(LanguageTextField.java:119)
java.lang.Throwable: Provide not-null FileType
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
at com.intellij.ui.EditorTextField.createDocument(EditorTextField.java:676)
at com.intellij.ui.EditorTextField.getDocument(EditorTextField.java:278)
at com.intellij.ui.EditorTextField.createEditor(EditorTextField.java:685)
at com.intellij.ui.LanguageTextField.createEditor(LanguageTextField.java:116)
at com.intellij.ui.EditorTextFieldProviderImpl$MyEditorTextField.createEditor(EditorTextFieldProviderImpl.java:35)
at com.intellij.ui.EditorTextField.initEditorInner(EditorTextField.java:551)
at com.intellij.ui.EditorTextField.initEditor(EditorTextField.java:536)
at com.intellij.ui.EditorTextField.lambda$new$0(EditorTextField.java:161)
java.lang.NullPointerException: Cannot read field "preferred" because "this.xTotal" is null
at java.desktop/javax.swing.OverlayLayout.preferredLayoutSize(OverlayLayout.java:142)
at java.desktop/java.awt.Container.preferredSize(Container.java:1826)
at java.desktop/java.awt.Container.getPreferredSize(Container.java:1810)
at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1732)
at java.desktop/java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:724)
at java.desktop/java.awt.Container.preferredSize(Container.java:1826)
I of course tried everything was possible to try. The only doubt is the fact that I sync the settings and so even after I uninstall and nuke everything, most of the settings are set back to what there were.
Beta Was this translation helpful? Give feedback.
All reactions