[ https://issues.apache.org/jira/browse/NETBEANS-5007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated NETBEANS-5007: ------------------------------------- Labels: pull-request-available (was: ) > No restart of language server after change of JDK home > ------------------------------------------------------ > > Key: NETBEANS-5007 > URL: https://issues.apache.org/jira/browse/NETBEANS-5007 > Project: NetBeans > Issue Type: Bug > Components: vscode > Affects Versions: 12.2 > Reporter: Jaroslav Tulach > Assignee: Svatopluk Dedic > Priority: Blocker > Labels: pull-request-available > Fix For: 12.2 > > Time Spent: 10m > Remaining Estimate: 0h > > Choose File/Preferences/Settings and change the value of > > {color:#9cdcfe}"netbeans.jdkhome"{color}{color:#d4d4d4}: > {color}{color:#ce9178}""{color}{color:#d4d4d4},{color} > > while the Apache NetBeans Language Server VSCode extension is running. The > {{nbcode}} backend shall be killed and restarted on the new JDK. However it > goes into strange loop and then stops listening for changes in the property > completely. Example of output: > {code:java} > Initiating server activation > extension.js:184 > Request to kill LSP server. > extension.js:190 > Cannot kill: current process is None > extension.js:212 > LSP server launching: 27193 > extension.js:252 > LSP server 27193 terminated with 0 > extension.js:277 > Initiating server activation > extension.js:184 > Request to kill LSP server. > extension.js:190 > Killing LSP server 27193 > extension.js:201 > rejected promise not handled within 1 second: Cannot kill > extensionHostProcess.js:1059 > Server activation requested repeatedly, ignoring... > extension.js:173 > Server activation requested repeatedly, ignoring... > extension.js:173 > Server activation requested repeatedly, ignoring... {code} > [~sdedic] has already addressed this issue in > [PR-2531|https://github.com/apache/netbeans/pull/2531]. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists