Closed eduardfarkas closed 3 years ago
Can you still reproduce this?
This is rather strange... the stack trace is basically saying that your project (in C:\Projects\testing-automation-rf
) is disposed (which prevents the language server from starting properly):
com.intellij.serviceContainer.AlreadyDisposedException:
Cannot create robocorp.robot.intellij.RobotProjectPreferences because container is already disposed:
Project(name=testing-automation-rf, containerState=DISPOSE_COMPLETED,
componentStore=C:\Projects\testing-automation-rf) (disposed)
at com.intellij.serviceContainer.ComponentManagerImpl.throwContainerIsAlreadyDisposed(ComponentManagerImpl.kt:522)
at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:498)
at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:471)
at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:26)
at robocorp.robot.intellij.RobotProjectPreferences.getInstance(RobotProjectPreferences.java:685)
at robocorp.robot.intellij.RobotFrameworkLanguage.createProcessBuilderFromPreferences(RobotFrameworkLanguage.java:105)
at robocorp.robot.intellij.RobotFrameworkLanguage.lambda$createLanguageServerDefinition$3(RobotFrameworkLanguage.java:550)
at robocorp.robot.intellij.RobotPreferences.setRobotLanguageServerArgs(RobotPreferences.java:268)
sorry for late reply, i was on vacation. Unfortunately not, this was one time occurence but i thought it was worth mentioning.
Closing as this wasn't reproducible.
Describe the bug I created multiple new empty .robot files then i took content of existing one and copied it into new files. One file does not recognize its content as RF, but if i copy it to another new file, it works correctly No error displayed. (i tried to delete the file and create new with the same name, behavior is still the same)
Additional info: on start up RF displays some IDE error, stacktrace:
To Reproduce Steps to reproduce the behavior:
Screenshots https://gyazo.com/035e9934fd431ce403e721234aff3b46
Versions:
Logs robotframework_ls.remote_fs_observer.9892.log robotframework_ls.lsp.20616.log