Code completion broken with IntelliCode
See original GitHub issueLooks like latest release 0.55.0
broke server side snippets / code completions
Environment
Version: 1.41.1 Commit: 26076a4de974ead31f97692a0d32f90d735645c0 Date: 2019-12-18T15:04:31.999Z Electron: 6.1.5 Chrome: 76.0.3809.146 Node.js: 12.4.0 V8: 7.6.303.31-electron.0 OS: Linux x64 4.15.0-70-generic redhat.java: 0.55.0
Steps To Reproduce
Create empty MyClass.java file and type class
to get basic package/class snippet to. This error is then logged in Language Support for Java
output:
[Error - 10:53:29] 23-Dec-2019 10:53:29 Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ls.core".
org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalRequestor.<init>(Lorg/eclipse/jdt/core/ICompilationUnit;I)V
java.lang.NoSuchMethodError: org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalRequestor.<init>(Lorg/eclipse/jdt/core/ICompilationUnit;I)V
at com.microsoft.jdtls.intellicode.core.CompletionProvider.initializeRequestor(CompletionProvider.java:133)
at com.microsoft.jdtls.intellicode.core.CompletionProvider.computeContentAssist(CompletionProvider.java:89)
at com.microsoft.jdtls.intellicode.core.CompletionProvider.provideCompletionItems(CompletionProvider.java:60)
at com.microsoft.jdtls.intellicode.core.CommandHandler.executeCommand(CommandHandler.java:57)
at org.eclipse.jdt.ls.core.internal.handlers.WorkspaceExecuteCommandHandler$1.run(WorkspaceExecuteCommandHandler.java:215)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.jdt.ls.core.internal.handlers.WorkspaceExecuteCommandHandler.executeCommand(WorkspaceExecuteCommandHandler.java:205)
at org.eclipse.jdt.ls.core.internal.handlers.JDTLanguageServer.lambda$3(JDTLanguageServer.java:472)
at org.eclipse.jdt.ls.core.internal.handlers.JDTLanguageServer.lambda$48(JDTLanguageServer.java:963)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
[Error - 10:53:29] 23-Dec-2019 10:53:29 Error in calling delegate command handler
org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalRequestor.<init>(Lorg/eclipse/jdt/core/ICompilationUnit;I)V
java.lang.NoSuchMethodError: org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalRequestor.<init>(Lorg/eclipse/jdt/core/ICompilationUnit;I)V
at com.microsoft.jdtls.intellicode.core.CompletionProvider.initializeRequestor(CompletionProvider.java:133)
at com.microsoft.jdtls.intellicode.core.CompletionProvider.computeContentAssist(CompletionProvider.java:89)
at com.microsoft.jdtls.intellicode.core.CompletionProvider.provideCompletionItems(CompletionProvider.java:60)
at com.microsoft.jdtls.intellicode.core.CommandHandler.executeCommand(CommandHandler.java:57)
at org.eclipse.jdt.ls.core.internal.handlers.WorkspaceExecuteCommandHandler$1.run(WorkspaceExecuteCommandHandler.java:215)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.jdt.ls.core.internal.handlers.WorkspaceExecuteCommandHandler.executeCommand(WorkspaceExecuteCommandHandler.java:205)
at org.eclipse.jdt.ls.core.internal.handlers.JDTLanguageServer.lambda$3(JDTLanguageServer.java:472)
at org.eclipse.jdt.ls.core.internal.handlers.JDTLanguageServer.lambda$48(JDTLanguageServer.java:963)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Now I just wonder if this issue is coming from other plugin which hooks to jdt as I’m not that familiar with how that part works.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:22 (1 by maintainers)
Top Results From Across the Web
Intellicode is not working - Visual Studio Feedback
None of the intellisense code completion options have a star at the front. We shouldn't have to install the extension for this in...
Read more >Code Completion stopped working for "Java Extension Pack"
The last version of "Language Support for Java(TM) by Red Hat" extension throws errors and break code completion.
Read more >Type less, code more with IntelliCode completions
Rich context gives great completions IntelliCode now predicts the next chunk of code based on your current context, and presents it as an ......
Read more >IntelliSense not working in VS Code - The Windows Club
If IntelliSense or Autocomplete is not working in Visual Studio Code on your computer, the recommended fixes in this post are sure to...
Read more >Code completion (IntelliSense) | JetBrains Rider Documentation
When you use code completion over existing code items, you can either insert the selected completion suggestion before the existing item by ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you guys please try to install https://download.jboss.org/jbosstools/jdt.ls/staging/java-0.55.1-1983.vsix?
Fix is on its way (https://github.com/eclipse/eclipse.jdt.ls/pull/1313)