Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force stop of LSP server throws Exception. #103

Open
geetikabatra opened this issue Jan 2, 2018 · 0 comments
Open

Force stop of LSP server throws Exception. #103

geetikabatra opened this issue Jan 2, 2018 · 0 comments

Comments

@geetikabatra
Copy link
Collaborator

Force stopping lsp server like this https://github.com/fabric8-analytics/fabric8-analytics-devstudio-plugin/blob/master/plugins/com.redhat.fabric8analytics.lsp.eclipse.ui/src/com/redhat/fabric8analytics/lsp/eclipse/ui/Fabric8AnalyticsStreamConnectionProvider.java#L71-L72

Throws Exceptions like these
!ENTRY org.eclipse.lsp4e 4 0 2018-01-02 18:04:23.321 !MESSAGE Analyses Disabled !STACK 0 java.io.IOException: Analyses Disabled at com.redhat.fabric8analytics.lsp.eclipse.ui.Fabric8AnalyticsStreamConnectionProvider.start(Fabric8AnalyticsStreamConnectionProvider.java:73) at org.eclipse.lsp4e.LanguageServerWrapper.start(LanguageServerWrapper.java:174) at org.eclipse.lsp4e.LanguageServerWrapper.getInitializedServer(LanguageServerWrapper.java:458) at org.eclipse.lsp4e.LanguageServerWrapper.getServer(LanguageServerWrapper.java:442) at org.eclipse.lsp4e.LanguageServiceAccessor.getLSPDocumentInfosFor(LanguageServiceAccessor.java:357) at org.eclipse.lsp4e.ConnectDocumentToLanguageServerSetupParticipant$1.run(ConnectDocumentToLanguageServerSetupParticipant.java:74) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
.
@ljelinkova has followed up with LSP4E team and has suggested some changes, but I don't think these changes will be incorporated any time soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant