You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/11/22 18:17:57 UTC

[GitHub] [netbeans] Likecommandooo opened a new issue, #5002: Can't start Language Server on Semeru JDK/Openj9 (Vscode Extension)

Likecommandooo opened a new issue, #5002:
URL: https://github.com/apache/netbeans/issues/5002

   ### Apache NetBeans version
   
   Apache NetBeans 15
   
   ### What happened
   
   I changed my jdk to the IBM Semeru jdk.
   When starting a new project or opening a java file it says:
   ```
   Initiating server activation
   Request to kill LSP server.
   Cannot kill: current process is None
   Launching Apache NetBeans Language Server with C:/Users/home/scoop/apps/semeru-lts-jdk/current and userdir c:\Users\home\scoop\apps\vscode\1.73.1\data\user-data\User\workspaceStorage\14b4f55b7d9ee4cb583c1c5617d12c52\asf.apache-netbeans-java
   LSP server launching: 1224
   LSP server user directory: c:\Users\home\scoop\apps\vscode\1.73.1\data\user-data\User\workspaceStorage\14b4f55b7d9ee4cb583c1c5617d12c52\asf.apache-netbeans-java
   java.lang.NullPointerException: Cannot invoke "org.osgi.framework.Bundle.getEntry(java.lang.String)" because "b" is null
   	at org.netbeans.core.netigso.Netigso.findResources(Netigso.java:383)
   	at org.netbeans.NetigsoModule.findResources(NetigsoModule.java:152)
   	at org.netbeans.core.startup.NbInstaller.loadLayers(NbInstaller.java:605)
   	at org.netbeans.core.startup.NbInstaller.loadImpl(NbInstaller.java:332)
   	at org.netbeans.core.startup.NbInstaller.access$000(NbInstaller.java:77)
   	at org.netbeans.core.startup.NbInstaller$1.run(NbInstaller.java:322)
   	at org.openide.filesystems.FileUtil$2.run(FileUtil.java:418)
   	at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102)
   	at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
   	at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:402)
   	at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:422)
   	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:319)
   	at org.netbeans.ModuleManager.doEnable(ModuleManager.java:1488)
   	at org.netbeans.ModuleManager.enable(ModuleManager.java:1331)
   	at org.netbeans.ModuleManager.enable(ModuleManager.java:1256)
   	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:316)
   	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:252)
   	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298)
   	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:173)
   	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:142)
   	at org.netbeans.core.startup.Main.start(Main.java:303)
   	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
   	at java.base/java.lang.Thread.run(Thread.java:857)
   Cannot find org.netbeans.modules.java.lsp.server in the log!
   Request to kill LSP server.
   Cannot kill: Requested kill on 1224, current process is None
   Apache NetBeans Language Server not enabled!
   ```
   
   ### How to reproduce
   
   The first timewhen the extension is indexing it does works but upon trying again it doesn't work anymore.
   Add the IBM Semeru jdk to jdkhome and then start a new project or make a new file and choose Java.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 11
   
   ### JDK
   
   openjdk version "17.0.5" 2022-10-18       IBM Semeru Runtime Open Edition 17.0.5.0 (build 17.0.5+8)
   
   ### Apache NetBeans packaging
   
   Apache VSNetBeans for VSCode
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Can't start Language Server on Semeru JDK/Openj9 (Vscode Extension) [netbeans]

Posted by "BlackTeaEnjoyer (via GitHub)" <gi...@apache.org>.
BlackTeaEnjoyer closed issue #5002: Can't start Language Server on Semeru JDK/Openj9 (Vscode Extension)
URL: https://github.com/apache/netbeans/issues/5002


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists