Closed DetachHead closed 3 years ago
I came across the same problem.
Do you have any (non-empty) files such as:
C:\Users\<username>\*_critical.log
C:\Users\<username>\.robotframework-ls\*.log
(if you do, can you attach them?)
@fabioz robotframework_ls_critical.log
:
File "C:\Users\user\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\robotframework-intellij\lib\robotframework_ls\__main__.py", line 152, in <module>
main()
File "C:\Users\user\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\robotframework-intellij\lib\robotframework_ls\__main__.py", line 142, in main
start_io_lang_server(stdin, stdout, language_server_class)
File "C:\Users\user\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\robotframework-intellij\lib\robotframework_ls\vendored\robocorp_ls_core\python_ls.py", line 227, in start_io_lang_server
server = handler_class(rfile, wfile)
File "C:\Users\user\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\robotframework-intellij\lib\robotframework_ls\robotframework_ls_impl.py", line 192, in __init__
remote_observer.start_server(log_file=log_file)
File "C:\Users\user\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\robotframework-intellij\lib\robotframework_ls\vendored\robocorp_ls_core\remote_fs_observer_impl.py", line 100, in start_server
raise AssertionError(
AssertionError: Expected the read contents to start with "port:". Found: b''
It seems exactly the same issue from https://github.com/robocorp/robotframework-lsp/issues/423 (which apparently fixed itself there?)
So, let's see if this time around I can get more info or if it fixes itself with the latest version ;)
So, to start, can you try again with the latest version? (you can get it from: https://plugins.jetbrains.com/plugin/16086-robot-framework-language-server/versions/stable/135683 -- it takes a while from release to actually having it available to install directly from Intellij).
Then, if it still doesn't work, please do the following:
Enable the logging to be gotten from the language server following: https://github.com/robocorp/robotframework-lsp/blob/master/robotframework-ls/docs/reporting_issues.md (attach those generated files with the other ones, which are intellij specific for which I'll add information below).
In the menu: Help | Diagnostic Tools | Debug Log Settings
Add the following entries:
#robotframework.intellij
#robotframework.lsp.intellij
Activate the menu: Help | Show Log in Explorer
Close PyCharm
.
Remove the existing idea.logXXX
logs from the folder that was opened in Help | Show Log in Explorer
(the folder is something as C:\Users\<username>\AppData\Local\JetBrains\<PyCharm version>\log
).
Remove the files from C:\Users\<username>\.robotframework-ls
Reopen PyCharm
and wait for the error to pop up.
Close PyCharm
Attach the idea.logXXX
files from C:\Users\<username>\AppData\Local\JetBrains\<PyCharm version>\log
as well as any .log
files in
C:\Users\<username>\.robotframework-ls\*.log
C:\Users\<username>\*_critical.log
to this issue.
C:\Users\<username>\robotframework_ls_critical.log
Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\robotframework-intellij\lib\robotframework_ls\__main__.py", line 152, in <module>
main()
File "C:\Users\user\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\robotframework-intellij\lib\robotframework_ls\__main__.py", line 142, in main
start_io_lang_server(stdin, stdout, language_server_class)
File "C:\Users\user\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\robotframework-intellij\lib\robotframework_ls\vendored\robocorp_ls_core\python_ls.py", line 227, in start_io_lang_server
server = handler_class(rfile, wfile)
File "C:\Users\user\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\robotframework-intellij\lib\robotframework_ls\robotframework_ls_impl.py", line 192, in __init__
remote_observer.start_server(log_file=log_file)
File "C:\Users\user\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\robotframework-intellij\lib\robotframework_ls\vendored\robocorp_ls_core\remote_fs_observer_impl.py", line 100, in start_server
raise AssertionError(
AssertionError: Expected the read contents to start with "port:". Found: b''
C:\Users\<username>\.robotframework-ls\*.log
everything in here is empty
idea.log
snippet2021-09-08 11:21:09,733 [ 14767] INFO - ntellij.RobotFrameworkLanguage - Command:
[C:\Users\user\AppData\Local\Programs\Python\Python310\python.exe, -u, C:\Users\user\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\robotframework-intellij\lib\robotframework_ls\__main__.py, -vv, --log-file=robotframework_ls.log]
PYTHONPATH:
C:\Users\user\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\robotframework-intellij\lib
ROBOTFRAMEWORK_LS_USER_HOME:
null
2021-09-08 11:21:09,739 [ 14773] INFO - finition$LanguageServerStreams - Starting server process.
2021-09-08 11:21:09,767 [ 14801] INFO - finition$LanguageServerStreams - Server process started Process[pid=73656, exitValue="not exited"].
Stderr may be seen at:
C:\Users\user\.robotframework-ls\.intellij-rf-ls-2021-09-08-73656.log
2021-09-08 11:21:09,767 [ 14801] INFO - sp.intellij.InternalConnection - Setting up language server communication.
2021-09-08 11:21:09,817 [ 14851] INFO - sp.intellij.InternalConnection - Sending initialize message to language server.
2021-09-08 11:21:10,845 [ 15879] INFO - sp.intellij.InternalConnection - Initialize was not received from the language server in the expected timeout.
2021-09-08 11:21:10,845 [ 15879] INFO - sp.intellij.InternalConnection - Exception while initializing. Marking as crashed.
2021-09-08 11:21:10,850 [ 15884] ERROR - sp.intellij.InternalConnection - null
java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)
at robocorp.lsp.intellij.InternalConnection.start(LanguageServerCommunication.java:181)
at robocorp.lsp.intellij.LanguageServerCommunication.startInternalConnection(LanguageServerCommunication.java:363)
at robocorp.lsp.intellij.LanguageServerCommunication.<init>(LanguageServerCommunication.java:349)
at robocorp.lsp.intellij.LanguageServerManager.start(LanguageServerManager.java:74)
at robocorp.lsp.intellij.LanguageServerEditorListener.editorCreated(LanguageServerEditorListener.java:51)
at robocorp.lsp.intellij.LanguageServerEditorListener.editorCreated(LanguageServerEditorListener.java:21)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.lambda$createEditor$2(EditorFactoryImpl.java:211)
at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.forEachExtensionSafe(ExtensionProcessingHelper.java:34)
at com.intellij.openapi.extensions.ExtensionPointName.forEachExtensionSafe(ExtensionPointName.java:46)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:211)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:164)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.createEditor(TextEditorComponent.java:133)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.<init>(TextEditorComponent.java:79)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.<init>(PsiAwareTextEditorImpl.java:107)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.createEditorComponent(PsiAwareTextEditorImpl.java:85)
at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl.<init>(TextEditorImpl.java:52)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.<init>(PsiAwareTextEditorImpl.java:36)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorProvider.createEditor(PsiAwareTextEditorProvider.java:31)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4Edt(FileEditorManagerImpl.java:997)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$17(FileEditorManagerImpl.java:969)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.runBulkTabChange(FileEditorManagerImpl.java:1786)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$18(FileEditorManagerImpl.java:968)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214)
at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeAndWait$7(ApplicationImpl.java:451)
at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:134)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:133)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:46)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:189)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:887)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:443)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:442)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:488)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2021-09-08 11:21:10,853 [ 15887] ERROR - sp.intellij.InternalConnection - IntelliJ IDEA 2021.2.1 Build #IU-212.5080.55
2021-09-08 11:21:10,853 [ 15887] ERROR - sp.intellij.InternalConnection - JDK: 11.0.11; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2021-09-08 11:21:10,854 [ 15888] ERROR - sp.intellij.InternalConnection - OS: Windows 10
2021-09-08 11:21:10,854 [ 15888] ERROR - sp.intellij.InternalConnection - Plugin to blame: Robot Framework Language Server version: 0.22.0
2021-09-08 11:21:10,854 [ 15888] ERROR - sp.intellij.InternalConnection - Last Action:
2021-09-08 11:21:10,856 [ 15890] ERROR - ij.LanguageServerCommunication - Expected state to be initialized. Current state is: crashed
java.lang.Throwable: Expected state to be initialized. Current state is: crashed
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:182)
at robocorp.lsp.intellij.EditorUtils.logError(EditorUtils.java:209)
at robocorp.lsp.intellij.LanguageServerCommunication.startInternalConnection(LanguageServerCommunication.java:370)
at robocorp.lsp.intellij.LanguageServerCommunication.<init>(LanguageServerCommunication.java:349)
at robocorp.lsp.intellij.LanguageServerManager.start(LanguageServerManager.java:74)
at robocorp.lsp.intellij.LanguageServerEditorListener.editorCreated(LanguageServerEditorListener.java:51)
at robocorp.lsp.intellij.LanguageServerEditorListener.editorCreated(LanguageServerEditorListener.java:21)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.lambda$createEditor$2(EditorFactoryImpl.java:211)
at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.forEachExtensionSafe(ExtensionProcessingHelper.java:34)
at com.intellij.openapi.extensions.ExtensionPointName.forEachExtensionSafe(ExtensionPointName.java:46)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:211)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:164)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.createEditor(TextEditorComponent.java:133)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.<init>(TextEditorComponent.java:79)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.<init>(PsiAwareTextEditorImpl.java:107)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.createEditorComponent(PsiAwareTextEditorImpl.java:85)
at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl.<init>(TextEditorImpl.java:52)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.<init>(PsiAwareTextEditorImpl.java:36)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorProvider.createEditor(PsiAwareTextEditorProvider.java:31)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4Edt(FileEditorManagerImpl.java:997)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$17(FileEditorManagerImpl.java:969)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.runBulkTabChange(FileEditorManagerImpl.java:1786)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$18(FileEditorManagerImpl.java:968)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214)
at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeAndWait$7(ApplicationImpl.java:451)
at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:134)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:133)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:46)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:189)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:887)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:443)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:442)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:488)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2021-09-08 11:21:10,857 [ 15891] ERROR - ij.LanguageServerCommunication - IntelliJ IDEA 2021.2.1 Build #IU-212.5080.55
2021-09-08 11:21:10,857 [ 15891] ERROR - ij.LanguageServerCommunication - JDK: 11.0.11; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2021-09-08 11:21:10,857 [ 15891] ERROR - ij.LanguageServerCommunication - OS: Windows 10
2021-09-08 11:21:10,858 [ 15892] ERROR - ij.LanguageServerCommunication - Plugin to blame: Robot Framework Language Server version: 0.22.0
2021-09-08 11:21:10,858 [ 15892] ERROR - ij.LanguageServerCommunication - Last Action:
2021-09-08 11:21:10,858 [ 15892] INFO - finition$LanguageServerStreams - Starting server process.
2021-09-08 11:21:10,883 [ 15917] INFO - finition$LanguageServerStreams - Server process started Process[pid=39964, exitValue="not exited"].
Stderr may be seen at:
C:\Users\user\.robotframework-ls\.intellij-rf-ls-2021-09-08-39964.log
2021-09-08 11:21:10,883 [ 15917] INFO - sp.intellij.InternalConnection - Setting up language server communication.
2021-09-08 11:21:10,886 [ 15920] INFO - sp.intellij.InternalConnection - Sending initialize message to language server.
2021-09-08 11:21:11,891 [ 16925] INFO - sp.intellij.InternalConnection - Initialize was not received from the language server in the expected timeout.
2021-09-08 11:21:11,891 [ 16925] INFO - sp.intellij.InternalConnection - Exception while initializing. Marking as crashed.
2021-09-08 11:21:11,891 [ 16925] INFO - finition$LanguageServerStreams - Starting server process.
2021-09-08 11:21:11,912 [ 16946] INFO - finition$LanguageServerStreams - Server process started Process[pid=73468, exitValue="not exited"].
Stderr may be seen at:
C:\Users\user\.robotframework-ls\.intellij-rf-ls-2021-09-08-73468.log
2021-09-08 11:21:11,912 [ 16946] INFO - sp.intellij.InternalConnection - Setting up language server communication.
2021-09-08 11:21:11,915 [ 16949] INFO - sp.intellij.InternalConnection - Sending initialize message to language server.
2021-09-08 11:21:12,922 [ 17956] INFO - sp.intellij.InternalConnection - Initialize was not received from the language server in the expected timeout.
2021-09-08 11:21:12,922 [ 17956] INFO - sp.intellij.InternalConnection - Exception while initializing. Marking as crashed.
2021-09-08 11:21:12,922 [ 17956] INFO - finition$LanguageServerStreams - Starting server process.
2021-09-08 11:21:12,942 [ 17976] INFO - finition$LanguageServerStreams - Server process started Process[pid=63288, exitValue="not exited"].
Stderr may be seen at:
C:\Users\user\.robotframework-ls\.intellij-rf-ls-2021-09-08-63288.log
2021-09-08 11:21:12,942 [ 17976] INFO - sp.intellij.InternalConnection - Setting up language server communication.
2021-09-08 11:21:12,945 [ 17979] INFO - sp.intellij.InternalConnection - Sending initialize message to language server.
2021-09-08 11:21:13,948 [ 18982] INFO - sp.intellij.InternalConnection - Initialize was not received from the language server in the expected timeout.
2021-09-08 11:21:13,948 [ 18982] INFO - sp.intellij.InternalConnection - Exception while initializing. Marking as crashed.
2021-09-08 11:21:13,948 [ 18982] INFO - finition$LanguageServerStreams - Starting server process.
2021-09-08 11:21:13,968 [ 19002] INFO - finition$LanguageServerStreams - Server process started Process[pid=29732, exitValue="not exited"].
Stderr may be seen at:
C:\Users\user\.robotframework-ls\.intellij-rf-ls-2021-09-08-29732.log
2021-09-08 11:21:13,968 [ 19002] INFO - sp.intellij.InternalConnection - Setting up language server communication.
2021-09-08 11:21:13,971 [ 19005] INFO - sp.intellij.InternalConnection - Sending initialize message to language server.
2021-09-08 11:21:14,976 [ 20010] INFO - sp.intellij.InternalConnection - Initialize was not received from the language server in the expected timeout.
2021-09-08 11:21:14,976 [ 20010] INFO - sp.intellij.InternalConnection - Exception while initializing. Marking as crashed.
2021-09-08 11:21:14,976 [ 20010] ERROR - ij.LanguageServerCommunication - The language server already crashed 5 times when starting, so, it won't be restarted again until a configuration change or restart.
java.lang.Throwable: The language server already crashed 5 times when starting, so, it won't be restarted again until a configuration change or restart.
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:182)
at robocorp.lsp.intellij.EditorUtils.logError(EditorUtils.java:209)
at robocorp.lsp.intellij.LanguageServerCommunication.startInternalConnection(LanguageServerCommunication.java:356)
at robocorp.lsp.intellij.LanguageServerCommunication.<init>(LanguageServerCommunication.java:349)
at robocorp.lsp.intellij.LanguageServerManager.start(LanguageServerManager.java:74)
at robocorp.lsp.intellij.LanguageServerEditorListener.editorCreated(LanguageServerEditorListener.java:51)
at robocorp.lsp.intellij.LanguageServerEditorListener.editorCreated(LanguageServerEditorListener.java:21)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.lambda$createEditor$2(EditorFactoryImpl.java:211)
at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.forEachExtensionSafe(ExtensionProcessingHelper.java:34)
at com.intellij.openapi.extensions.ExtensionPointName.forEachExtensionSafe(ExtensionPointName.java:46)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:211)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:164)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.createEditor(TextEditorComponent.java:133)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.<init>(TextEditorComponent.java:79)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.<init>(PsiAwareTextEditorImpl.java:107)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.createEditorComponent(PsiAwareTextEditorImpl.java:85)
at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl.<init>(TextEditorImpl.java:52)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.<init>(PsiAwareTextEditorImpl.java:36)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorProvider.createEditor(PsiAwareTextEditorProvider.java:31)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4Edt(FileEditorManagerImpl.java:997)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$17(FileEditorManagerImpl.java:969)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.runBulkTabChange(FileEditorManagerImpl.java:1786)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$18(FileEditorManagerImpl.java:968)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214)
at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeAndWait$7(ApplicationImpl.java:451)
at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:134)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:133)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:46)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:189)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:887)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:443)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:442)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:488)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2021-09-08 11:21:14,978 [ 20012] ERROR - ij.LanguageServerCommunication - IntelliJ IDEA 2021.2.1 Build #IU-212.5080.55
2021-09-08 11:21:14,978 [ 20012] ERROR - ij.LanguageServerCommunication - JDK: 11.0.11; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2021-09-08 11:21:14,978 [ 20012] ERROR - ij.LanguageServerCommunication - OS: Windows 10
2021-09-08 11:21:14,978 [ 20012] ERROR - ij.LanguageServerCommunication - Plugin to blame: Robot Framework Language Server version: 0.22.0
2021-09-08 11:21:14,978 [ 20012] ERROR - ij.LanguageServerCommunication - Last Action:
2021-09-08 11:21:14,982 [ 20016] ERROR - ij.LanguageServerCommunication - The language server already crashed 5 times when starting, so, it won't be restarted again until a configuration change or restart.
java.lang.Throwable: The language server already crashed 5 times when starting, so, it won't be restarted again until a configuration change or restart.
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:182)
at robocorp.lsp.intellij.EditorUtils.logError(EditorUtils.java:209)
at robocorp.lsp.intellij.LanguageServerCommunication.startInternalConnection(LanguageServerCommunication.java:356)
at robocorp.lsp.intellij.LanguageServerCommunication.obtainSynchronizedLanguageServer(LanguageServerCommunication.java:385)
at robocorp.lsp.intellij.LanguageServerCommunication.didOpen(LanguageServerCommunication.java:445)
at robocorp.lsp.intellij.EditorLanguageServerConnection.<init>(EditorLanguageServerConnection.java:57)
at robocorp.lsp.intellij.EditorLanguageServerConnection.editorCreated(EditorLanguageServerConnection.java:160)
at robocorp.lsp.intellij.LanguageServerEditorListener.editorCreated(LanguageServerEditorListener.java:52)
at robocorp.lsp.intellij.LanguageServerEditorListener.editorCreated(LanguageServerEditorListener.java:21)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.lambda$createEditor$2(EditorFactoryImpl.java:211)
at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.forEachExtensionSafe(ExtensionProcessingHelper.java:34)
at com.intellij.openapi.extensions.ExtensionPointName.forEachExtensionSafe(ExtensionPointName.java:46)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:211)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:164)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.createEditor(TextEditorComponent.java:133)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.<init>(TextEditorComponent.java:79)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.<init>(PsiAwareTextEditorImpl.java:107)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.createEditorComponent(PsiAwareTextEditorImpl.java:85)
at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl.<init>(TextEditorImpl.java:52)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.<init>(PsiAwareTextEditorImpl.java:36)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorProvider.createEditor(PsiAwareTextEditorProvider.java:31)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4Edt(FileEditorManagerImpl.java:997)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$17(FileEditorManagerImpl.java:969)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.runBulkTabChange(FileEditorManagerImpl.java:1786)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$18(FileEditorManagerImpl.java:968)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214)
at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeAndWait$7(ApplicationImpl.java:451)
at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:134)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:133)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:46)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:189)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:887)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:443)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:442)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:488)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2021-09-08 11:21:14,982 [ 20016] ERROR - ij.LanguageServerCommunication - IntelliJ IDEA 2021.2.1 Build #IU-212.5080.55
2021-09-08 11:21:14,982 [ 20016] ERROR - ij.LanguageServerCommunication - JDK: 11.0.11; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2021-09-08 11:21:14,983 [ 20017] ERROR - ij.LanguageServerCommunication - OS: Windows 10
2021-09-08 11:21:14,983 [ 20017] ERROR - ij.LanguageServerCommunication - Plugin to blame: Robot Framework Language Server version: 0.22.0
2021-09-08 11:21:14,983 [ 20017] ERROR - ij.LanguageServerCommunication - Last Action:
2021-09-08 11:21:14,984 [ 20018] INFO - ij.LanguageServerCommunication - Unable forward open: disconnected.
2021-09-08 11:21:14,984 [ 20018] ERROR - j.LanguageServerEditorListener - Unable to get language server capabilities for: C:/Users/user/project
robocorp.lsp.intellij.LanguageServerUnavailableException: Unable to get language server capabilities for: C:/Users/user/project
at robocorp.lsp.intellij.EditorLanguageServerConnection.<init>(EditorLanguageServerConnection.java:61)
at robocorp.lsp.intellij.EditorLanguageServerConnection.editorCreated(EditorLanguageServerConnection.java:160)
at robocorp.lsp.intellij.LanguageServerEditorListener.editorCreated(LanguageServerEditorListener.java:52)
at robocorp.lsp.intellij.LanguageServerEditorListener.editorCreated(LanguageServerEditorListener.java:21)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.lambda$createEditor$2(EditorFactoryImpl.java:211)
at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.forEachExtensionSafe(ExtensionProcessingHelper.java:34)
at com.intellij.openapi.extensions.ExtensionPointName.forEachExtensionSafe(ExtensionPointName.java:46)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:211)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:164)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.createEditor(TextEditorComponent.java:133)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.<init>(TextEditorComponent.java:79)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.<init>(PsiAwareTextEditorImpl.java:107)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.createEditorComponent(PsiAwareTextEditorImpl.java:85)
at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl.<init>(TextEditorImpl.java:52)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.<init>(PsiAwareTextEditorImpl.java:36)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorProvider.createEditor(PsiAwareTextEditorProvider.java:31)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4Edt(FileEditorManagerImpl.java:997)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$17(FileEditorManagerImpl.java:969)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.runBulkTabChange(FileEditorManagerImpl.java:1786)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$18(FileEditorManagerImpl.java:968)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214)
at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeAndWait$7(ApplicationImpl.java:451)
at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:134)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:133)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:46)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:189)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:887)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:443)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:442)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:488)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
The same problem - "The language server already crashed 5 times when starting, so, it won't be restarted again until a configuration change or restart."
Versions:
OS: macOS Mojave 10.14.5 Robot Framework Version: 4.1.1 Robot Framework Language Server Version: 0.23.2 Client Version pyCharm 2021.2.2 (CE)
Describe the bug the language server crashes on launch. not sure what additional info i can provide as there doesn't seem to be anything useful in
idea.log
Screenshots
Versions: