spring-projects / sts4

The next generation of tooling for Spring Boot, including support for Cloud Foundry manifest files, Concourse CI pipeline definitions, BOSH deployment manifests, and more... - Available for Eclipse, Visual Studio Code, and Theia
https://spring.io/tools
Eclipse Public License 1.0
877 stars 206 forks source link

STS 4.12.0 (for eclipse) *.yml can't automatic prompt #690

Closed huanglppp closed 2 years ago

huanglppp commented 3 years ago

Describe the bug 1

martinlippert commented 3 years ago

Looks like something is seriously going wrong here. Can you take a look at the Error Log View to see if there is a related error being logged that includes a stack trace and if so, post that here?

In addition to that it would be great if you could enable the logging for the Spring Boot Language Server via Preferences -> Language Servers -> Spring Language Servers and enable the Spring Boot checkbox there. After a restart, this will cause a console tab to be opened as soon as the language server starts up behind the scenes and logs all the output from that process to that console tab. Would be great if you could attach that output here as well.

Also, if you have a sample project that helps to reproduce the problem and a few steps how to reproduce this, that would be awesome and help a lot as well.

huanglppp commented 3 years ago

Looks like something is seriously going wrong here. Can you take a look at the Error Log View to see if there is a related error being logged that includes a stack trace and if so, post that here?

In addition to that it would be great if you could enable the logging for the Spring Boot Language Server via Preferences -> Language Servers -> Spring Language Servers and enable the Spring Boot checkbox there. After a restart, this will cause a console tab to be opened as soon as the language server starts up behind the scenes and logs all the output from that process to that console tab. Would be great if you could attach that output here as well.

Also, if you have a sample project that helps to reproduce the problem and a few steps how to reproduce this, that would be awesome and help a lot as well.

error log: !ENTRY org.eclipse.lsp4e 4 0 2021-10-07 12:04:22.998 !MESSAGE !STACK 0 java.util.concurrent.TimeoutException at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1956) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2091) at org.eclipse.lsp4e.operations.hover.LSPTextHover.getHoverRegion(LSPTextHover.java:150) at org.eclipse.ui.internal.genericeditor.hover.CompositeTextHover.getHoverRegion(CompositeTextHover.java:101) at org.eclipse.jface.text.TextViewerHoverManager.computeInformation(TextViewerHoverManager.java:128) at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:1101) at org.eclipse.jface.text.AbstractHoverInformationControlManager$MouseTracker.mouseHover(AbstractHoverInformationControlManager.java:511) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4237) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4054) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3626) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1041) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467)

!ENTRY org.eclipse.lsp4e 4 0 2021-10-07 12:04:23.501 !MESSAGE !STACK 0 java.util.concurrent.TimeoutException at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1956) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2091) at org.eclipse.lsp4e.operations.hover.LSPTextHover.getHoverInfo(LSPTextHover.java:73) at org.eclipse.ui.internal.genericeditor.hover.CompositeTextHover.getHoverInfo2(CompositeTextHover.java:60) at org.eclipse.jface.text.TextViewerHoverManager$1.run(TextViewerHoverManager.java:155)

!ENTRY org.eclipse.lsp4e 4 0 2021-10-07 12:04:23.606 !MESSAGE java.util.concurrent.CancellationException !STACK 0 java.util.concurrent.ExecutionException: java.util.concurrent.CancellationException at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2092) at org.eclipse.lsp4e.operations.completion.LSContentAssistProcessor.getCompletionProposalAutoActivationCharacters(LSContentAssistProcessor.java:273) at org.eclipse.jface.text.contentassist.IContentAssistProcessorExtension$1.isCompletionProposalAutoActivation(IContentAssistProcessorExtension.java:115) at org.eclipse.jface.text.contentassist.ContentAssistant.getAutoActivationTriggerType(ContentAssistant.java:1207) at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.keyPressed(ContentAssistant.java:319) at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.verifyKey(ContentAssistant.java:348) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:481) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:70) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4237) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1069) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:773) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:6248) at org.eclipse.swt.custom.StyledText.lambda$28(StyledText.java:5932) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4237) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1069) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1111) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1107) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1536) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4875) at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4753) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4958) at org.eclipse.swt.internal.win32.OS.DispatchMessage(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3624) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1041) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) Caused by: java.util.concurrent.CancellationException at java.base/java.util.concurrent.CompletableFuture.cancel(CompletableFuture.java:2474) at org.eclipse.lsp4e.LanguageServerWrapper.stop(LanguageServerWrapper.java:412) at org.eclipse.lsp4e.LanguageServerWrapper.start(LanguageServerWrapper.java:214) at org.eclipse.lsp4e.LanguageServerWrapper.getInitializedServer(LanguageServerWrapper.java:674) at org.eclipse.lsp4e.LanguageServiceAccessor.lambda$14(LanguageServiceAccessor.java:589) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550) at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) at org.eclipse.lsp4e.LanguageServiceAccessor.getLanguageServers(LanguageServiceAccessor.java:602) at org.eclipse.lsp4e.operations.folding.LSPFoldingReconcilingStrategy.reconcile(LSPFoldingReconcilingStrategy.java:128) at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:76) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:210)

!ENTRY org.eclipse.lsp4e 4 0 2021-10-07 12:04:23.624 !MESSAGE java.util.concurrent.CancellationException !STACK 0 java.util.concurrent.ExecutionException: java.util.concurrent.CancellationException at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2069) at org.eclipse.lsp4e.operations.completion.LSContentAssistProcessor.computeCompletionProposals(LSContentAssistProcessor.java:105) at org.eclipse.jface.text.contentassist.AsyncCompletionProposalPopup.lambda$10(AsyncCompletionProposalPopup.java:352) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.jface.text.contentassist.AsyncCompletionProposalPopup.lambda$9(AsyncCompletionProposalPopup.java:351) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1756) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) Caused by: java.util.concurrent.CancellationException at java.base/java.util.concurrent.CompletableFuture.cancel(CompletableFuture.java:2474) at org.eclipse.lsp4e.LanguageServerWrapper.stop(LanguageServerWrapper.java:412) at org.eclipse.lsp4e.LanguageServerWrapper.start(LanguageServerWrapper.java:214) at org.eclipse.lsp4e.LanguageServerWrapper.getInitializedServer(LanguageServerWrapper.java:674) at org.eclipse.lsp4e.LanguageServiceAccessor.lambda$14(LanguageServiceAccessor.java:589) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550) at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) at org.eclipse.lsp4e.LanguageServiceAccessor.getLanguageServers(LanguageServiceAccessor.java:602) at org.eclipse.lsp4e.operations.folding.LSPFoldingReconcilingStrategy.reconcile(LSPFoldingReconcilingStrategy.java:128) at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:76) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:210)

!ENTRY org.eclipse.lsp4e 4 0 2021-10-07 12:04:29.381 !MESSAGE java.util.concurrent.CancellationException !STACK 0 java.util.concurrent.ExecutionException: java.util.concurrent.CancellationException at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2092) at org.eclipse.lsp4e.operations.completion.LSContentAssistProcessor.getCompletionProposalAutoActivationCharacters(LSContentAssistProcessor.java:273) at org.eclipse.jface.text.contentassist.IContentAssistProcessorExtension$1.isCompletionProposalAutoActivation(IContentAssistProcessorExtension.java:115) at org.eclipse.jface.text.contentassist.ContentAssistant.getAutoActivationTriggerType(ContentAssistant.java:1207) at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.keyPressed(ContentAssistant.java:319) at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.verifyKey(ContentAssistant.java:348) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:481) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:70) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4237) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1069) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:773) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:6248) at org.eclipse.swt.custom.StyledText.lambda$28(StyledText.java:5932) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4237) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1069) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1111) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1107) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1536) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4875) at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4753) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4958) at org.eclipse.swt.internal.win32.OS.DispatchMessage(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3624) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1041) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) Caused by: java.util.concurrent.CancellationException at java.base/java.util.concurrent.CompletableFuture.cancel(CompletableFuture.java:2474) at org.eclipse.lsp4e.LanguageServerWrapper.stop(LanguageServerWrapper.java:412) at org.eclipse.lsp4e.LanguageServerWrapper.start(LanguageServerWrapper.java:214) at org.eclipse.lsp4e.LanguageServerWrapper.getInitializedServer(LanguageServerWrapper.java:674) at org.eclipse.lsp4e.LanguageServiceAccessor.lambda$14(LanguageServiceAccessor.java:589) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550) at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) at org.eclipse.lsp4e.LanguageServiceAccessor.getLanguageServers(LanguageServiceAccessor.java:602) at org.eclipse.lsp4e.operations.folding.LSPFoldingReconcilingStrategy.reconcile(LSPFoldingReconcilingStrategy.java:128) at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:76) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:210)

!ENTRY org.eclipse.lsp4e 4 0 2021-10-07 12:04:29.382 !MESSAGE java.util.concurrent.CancellationException !STACK 0 java.util.concurrent.ExecutionException: java.util.concurrent.CancellationException at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2092) at org.eclipse.lsp4e.operations.completion.LSContentAssistProcessor.getContextInformationAutoActivationCharacters(LSContentAssistProcessor.java:312) at org.eclipse.jface.text.contentassist.IContentAssistProcessorExtension$1.isContextInformationAutoActivation(IContentAssistProcessorExtension.java:128) at org.eclipse.jface.text.contentassist.ContentAssistant.getAutoActivationTriggerType(ContentAssistant.java:1210) at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.keyPressed(ContentAssistant.java:319) at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.verifyKey(ContentAssistant.java:348) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:481) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:70) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4237) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1069) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:773) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:6248) at org.eclipse.swt.custom.StyledText.lambda$28(StyledText.java:5932) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4237) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1069) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1111) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1107) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1536) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4875) at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4753) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4958) at org.eclipse.swt.internal.win32.OS.DispatchMessage(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3624) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1041) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) Caused by: java.util.concurrent.CancellationException at java.base/java.util.concurrent.CompletableFuture.cancel(CompletableFuture.java:2474) at org.eclipse.lsp4e.LanguageServerWrapper.stop(LanguageServerWrapper.java:412) at org.eclipse.lsp4e.LanguageServerWrapper.start(LanguageServerWrapper.java:214) at org.eclipse.lsp4e.LanguageServerWrapper.getInitializedServer(LanguageServerWrapper.java:674) at org.eclipse.lsp4e.LanguageServiceAccessor.lambda$14(LanguageServiceAccessor.java:589) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550) at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) at org.eclipse.lsp4e.LanguageServiceAccessor.getLanguageServers(LanguageServiceAccessor.java:602) at org.eclipse.lsp4e.operations.folding.LSPFoldingReconcilingStrategy.reconcile(LSPFoldingReconcilingStrategy.java:128) at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:76) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:210)

!ENTRY org.eclipse.lsp4e 4 0 2021-10-07 12:04:30.093 !MESSAGE java.util.concurrent.CancellationException !STACK 0 java.util.concurrent.ExecutionException: java.util.concurrent.CancellationException at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2092) at org.eclipse.lsp4e.operations.completion.LSContentAssistProcessor.getCompletionProposalAutoActivationCharacters(LSContentAssistProcessor.java:273) at org.eclipse.jface.text.contentassist.IContentAssistProcessorExtension$1.isCompletionProposalAutoActivation(IContentAssistProcessorExtension.java:115) at org.eclipse.jface.text.contentassist.ContentAssistant.getAutoActivationTriggerType(ContentAssistant.java:1207) at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.keyPressed(ContentAssistant.java:319) at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.verifyKey(ContentAssistant.java:348) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:481) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:70) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4237) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1069) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:773) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:6248) at org.eclipse.swt.custom.StyledText.lambda$28(StyledText.java:5932) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4237) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1069) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1111) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1107) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1536) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4875) at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4753) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4958) at org.eclipse.swt.internal.win32.OS.DispatchMessage(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3624) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1041) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) Caused by: java.util.concurrent.CancellationException at java.base/java.util.concurrent.CompletableFuture.cancel(CompletableFuture.java:2474) at org.eclipse.lsp4e.LanguageServerWrapper.stop(LanguageServerWrapper.java:412) at org.eclipse.lsp4e.LanguageServerWrapper.start(LanguageServerWrapper.java:214) at org.eclipse.lsp4e.LanguageServerWrapper.getInitializedServer(LanguageServerWrapper.java:674) at org.eclipse.lsp4e.LanguageServiceAccessor.lambda$14(LanguageServiceAccessor.java:589) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550) at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) at org.eclipse.lsp4e.LanguageServiceAccessor.getLanguageServers(LanguageServiceAccessor.java:602) at org.eclipse.lsp4e.operations.folding.LSPFoldingReconcilingStrategy.reconcile(LSPFoldingReconcilingStrategy.java:128) at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:76) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:210)

!ENTRY org.eclipse.lsp4e 4 0 2021-10-07 12:04:30.107 !MESSAGE java.util.concurrent.CancellationException !STACK 0 java.util.concurrent.ExecutionException: java.util.concurrent.CancellationException at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2069) at org.eclipse.lsp4e.operations.completion.LSContentAssistProcessor.computeCompletionProposals(LSContentAssistProcessor.java:105) at org.eclipse.jface.text.contentassist.AsyncCompletionProposalPopup.lambda$10(AsyncCompletionProposalPopup.java:352) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.jface.text.contentassist.AsyncCompletionProposalPopup.lambda$9(AsyncCompletionProposalPopup.java:351) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1756) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) Caused by: java.util.concurrent.CancellationException at java.base/java.util.concurrent.CompletableFuture.cancel(CompletableFuture.java:2474) at org.eclipse.lsp4e.LanguageServerWrapper.stop(LanguageServerWrapper.java:412) at org.eclipse.lsp4e.LanguageServerWrapper.start(LanguageServerWrapper.java:214) at org.eclipse.lsp4e.LanguageServerWrapper.getInitializedServer(LanguageServerWrapper.java:674) at org.eclipse.lsp4e.LanguageServiceAccessor.lambda$14(LanguageServiceAccessor.java:589) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550) at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) at org.eclipse.lsp4e.LanguageServiceAccessor.getLanguageServers(LanguageServiceAccessor.java:602) at org.eclipse.lsp4e.operations.folding.LSPFoldingReconcilingStrategy.reconcile(LSPFoldingReconcilingStrategy.java:128) at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:76) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:210)

martinlippert commented 3 years ago

Thanks @huanglppp for the details from the Error Log View. Could you also take a look at this:

In addition to that it would be great if you could enable the logging for the Spring Boot Language Server via Preferences -> Language Servers -> Spring Language Servers and enable the Spring Boot checkbox there. After a restart, this will cause a console tab to be opened as soon as the language server starts up behind the scenes and logs all the output from that process to that console tab. Would be great if you could attach that output here as well.

That would be great. Also a sample project would be great and a few steps how to reproduce this problem. Thanks!!!

huanglppp commented 3 years ago

Thanks @huanglppp for the details from the Error Log View. Could you also take a look at this:

In addition to that it would be great if you could enable the logging for the Spring Boot Language Server via Preferences -> Language Servers -> Spring Language Servers and enable the Spring Boot checkbox there. After a restart, this will cause a console tab to be opened as soon as the language server starts up behind the scenes and logs all the output from that process to that console tab. Would be great if you could attach that output here as well.

That would be great. Also a sample project would be great and a few steps how to reproduce this problem. Thanks!!!

image

console logs: 08:19:46.236 [main] INFO o.s.i.v.b.a.BootLanguageServerBootApp - Starting BootLanguageServerBootApp on longhuang-PC with PID 5524 (F:\eclipse-work\sts-4.12.0.RELEASE\plugins\org.springframework.tooling.boot.ls_1.28.0.202109130547\servers\spring-boot-language-server\BOOT-INF\classes started by longhuang in F:\eclipse-work\sts-4.12.0.RELEASE) 08:19:46.244 [main] INFO o.s.i.v.b.a.BootLanguageServerBootApp - No active profile set, falling back to default profiles: default 08:19:47.133 [main] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 1 08:19:47.184 [main] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 2 08:19:47.221 [main] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 3 08:19:47.257 [main] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 4 08:19:47.258 [main] INFO o.s.i.v.boot.app.SpringSymbolIndex - project listener registered 08:19:47.296 [main] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 5 08:19:47.363 [main] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 6 08:19:47.365 [main] INFO o.s.i.v.b.j.l.v.SpringProcessCommandHandler - Registered command handler: sts/livedata/listProcesses 08:19:47.367 [main] INFO o.s.i.v.b.j.l.v.SpringProcessCommandHandler - Registered command handler: sts/livedata/connect 08:19:47.367 [main] INFO o.s.i.v.b.j.l.v.SpringProcessCommandHandler - Registered command handler: sts/livedata/refresh 08:19:47.367 [main] INFO o.s.i.v.b.j.l.v.SpringProcessCommandHandler - Registered command handler: sts/livedata/disconnect 08:19:47.370 [main] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 7 08:19:47.382 [main] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 8 08:19:47.387 [main] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 9 08:19:47.446 [main] INFO o.s.i.v.b.a.BootLanguageServerBootApp - Started BootLanguageServerBootApp in 1.829 seconds (JVM running for 3.35) 08:19:47.447 [main] INFO o.s.i.v.c.l.LanguageServerRunner - java.home = F:\eclipse-work\sts-4.12.0.RELEASE\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_16.0.2.v20210721-1149\jre 08:19:47.449 [LanguageServerApp-lifecycle] INFO o.s.i.v.c.l.LanguageServerRunner - Server ready to start after 3354 ms 08:19:47.449 [LanguageServerApp-lifecycle] INFO o.s.i.v.c.l.LanguageServerRunner - Starting LS as client 08:19:47.449 [LanguageServerApp-lifecycle] INFO o.s.i.v.c.l.LanguageServerRunner - Connected to parent using stdio 08:19:47.595 [pool-5-thread-1] INFO o.s.i.v.c.l.u.SimpleLanguageServer - Initializing 08:19:47.622 [pool-5-thread-1] INFO o.s.i.v.c.l.u.CompletionServerCapabilityRegistration - hasDynamicCompletionRegistration = false 08:19:47.623 [pool-5-thread-1] INFO o.s.i.v.c.l.u.CompletionServerCapabilityRegistration - Registering Completion Capability Statically 08:19:47.623 [pool-5-thread-1] INFO o.s.i.v.c.l.u.SimpleLanguageServer - Returning server capabilities to client 08:19:47.823 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Observer is supported 08:19:47.844 [pool-5-thread-1] INFO o.s.i.v.c.l.u.SimpleTextDocumentService - change arrived: 1 08:19:47.867 [pool-5-thread-1] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate AST for file:///F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-vote-parent/sy-vote-admin/src/main/resources/application.yml 08:19:47.890 [pool-5-thread-1] INFO o.s.i.v.boot.app.SpringSymbolIndex - update settings of spring indexer - start 08:19:47.891 [pool-5-thread-1] INFO o.s.i.v.boot.app.SpringSymbolIndex - update settings of spring indexer - done 08:19:47.891 [pool-5-thread-1] INFO o.s.i.v.b.j.BootJavaLanguageServerComponents - update live process tracker settings - start 08:19:47.896 [pool-5-thread-1] INFO o.s.i.v.b.j.l.v.SpringProcessTracker - Starting SpringProcessTracker 08:19:47.917 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - addClasspathListener ... 08:19:47.919 [pool-5-thread-1] INFO o.s.i.v.b.j.BootJavaLanguageServerComponents - update live process tracker settings - done 08:19:47.920 [pool-5-thread-1] INFO o.s.i.v.b.a.BootLanguageServerInitializer - A configuration changed, triggering reconcile on all open documents 08:19:47.921 [pool-5-thread-1] INFO o.s.i.v.b.j.l.v.SpringProcessConnectorRemote - updating settings for remote processses to track - start 08:19:47.925 [pool-5-thread-1] INFO o.s.i.v.b.j.l.v.SpringProcessConnectorRemote - updating settings for remote processses to track - done 08:19:47.926 [pool-5-thread-1] INFO o.s.i.v.boot.app.SpringSymbolIndex - update settings of spring indexer - start 08:19:47.927 [Simple-Language-Server main thread] INFO o.s.i.v.c.l.u.SimpleLanguageServer - Initialization completed after 3831 ms 08:19:47.927 [pool-5-thread-1] INFO o.s.i.v.boot.app.SpringSymbolIndex - update settings of spring indexer - done 08:19:47.927 [pool-5-thread-1] INFO o.s.i.v.b.j.BootJavaLanguageServerComponents - update live process tracker settings - start 08:19:47.927 [pool-5-thread-1] INFO o.s.i.v.b.j.BootJavaLanguageServerComponents - update live process tracker settings - done 08:19:47.928 [pool-5-thread-1] INFO o.s.i.v.b.a.BootLanguageServerInitializer - A configuration changed, triggering reconcile on all open documents 08:19:47.928 [pool-5-thread-1] INFO o.s.i.v.b.j.l.v.SpringProcessConnectorRemote - updating settings for remote processses to track - start 08:19:47.928 [pool-5-thread-1] INFO o.s.i.v.b.j.l.v.SpringProcessConnectorRemote - updating settings for remote processses to track - done 08:19:48.005 [pool-5-thread-1] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - addClasspathListener DONE 08:19:48.188 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Created: file:/F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-vote-parent/sy-vote-admin 08:19:48.189 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Classpath has 142 entries 08:19:48.189 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - listeners registered: 9 08:19:48.189 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: created project sy-vote-admin 08:19:48.190 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate project 08:19:48.690 [Simple-Language-Server main thread] INFO o.s.i.v.boot.app.SpringSymbolIndex - project created event: sy-vote-admin 08:19:48.694 [Simple-Language-Server main thread] INFO o.s.i.v.b.a.BootLanguageServerInitializer - A project changed sy-vote-admin, triggering reconcile on all project's open documents 08:19:48.697 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Created: file:/F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-common-parent/sy-common-captcha 08:19:48.697 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Classpath has 114 entries 08:19:48.697 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - listeners registered: 9 08:19:48.697 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: created project sy-common-captcha 08:19:48.697 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate project 08:19:48.716 [Simple-Language-Server main thread] INFO o.s.i.v.boot.app.SpringSymbolIndex - project created event: sy-common-captcha 08:19:48.717 [Simple-Language-Server main thread] INFO o.s.i.v.b.a.BootLanguageServerInitializer - A project changed sy-common-captcha, triggering reconcile on all project's open documents 08:19:48.721 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-vote-admin - no. of files: 42 08:19:48.729 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for sy-vote-admin 08:19:48.733 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Created: file:/F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-common-parent/sy-common-dao 08:19:48.734 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Classpath has 99 entries 08:19:48.734 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - listeners registered: 9 08:19:48.736 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: created project sy-common-dao 08:19:48.736 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate project 08:19:48.758 [Simple-Language-Server main thread] INFO o.s.i.v.boot.app.SpringSymbolIndex - project created event: sy-common-dao 08:19:48.759 [Simple-Language-Server main thread] INFO o.s.i.v.b.a.BootLanguageServerInitializer - A project changed sy-common-dao, triggering reconcile on all project's open documents 08:19:48.761 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Created: file:/F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-common-parent/sy-common-es 08:19:48.761 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Classpath has 115 entries 08:19:48.761 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - listeners registered: 9 08:19:48.761 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: created project sy-common-es 08:19:48.761 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate project 08:19:48.773 [Simple-Language-Server main thread] INFO o.s.i.v.boot.app.SpringSymbolIndex - project created event: sy-common-es 08:19:48.774 [Simple-Language-Server main thread] INFO o.s.i.v.b.a.BootLanguageServerInitializer - A project changed sy-common-es, triggering reconcile on all project's open documents 08:19:48.774 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Created: file:/F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-common-parent 08:19:48.774 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Classpath has 0 entries 08:19:48.775 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - listeners registered: 9 08:19:48.775 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: created project sy-common-parent 08:19:48.775 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate project 08:19:48.775 [Simple-Language-Server main thread] INFO o.s.i.v.boot.app.SpringSymbolIndex - project created event: sy-common-parent 08:19:48.775 [Simple-Language-Server main thread] INFO o.s.i.v.b.a.BootLanguageServerInitializer - A project changed sy-common-parent, triggering reconcile on all project's open documents 08:19:48.777 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Created: file:/F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-common-parent/sy-common-redis 08:19:48.777 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Classpath has 108 entries 08:19:48.777 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - listeners registered: 9 08:19:48.777 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: created project sy-common-redis 08:19:48.777 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate project 08:19:48.790 [Simple-Language-Server main thread] INFO o.s.i.v.boot.app.SpringSymbolIndex - project created event: sy-common-redis 08:19:48.807 [Simple-Language-Server main thread] INFO o.s.i.v.b.a.BootLanguageServerInitializer - A project changed sy-common-redis, triggering reconcile on all project's open documents 08:19:48.816 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Created: file:/F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-common-parent/sy-common-test 08:19:48.816 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Classpath has 53 entries 08:19:48.816 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - listeners registered: 9 08:19:48.816 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: created project sy-common-test 08:19:48.816 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate project 08:19:48.821 [Simple-Language-Server main thread] INFO o.s.i.v.boot.app.SpringSymbolIndex - project created event: sy-common-test 08:19:48.822 [Simple-Language-Server main thread] INFO o.s.i.v.b.a.BootLanguageServerInitializer - A project changed sy-common-test, triggering reconcile on all project's open documents 08:19:48.823 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Created: file:/F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-common-parent/sy-common-tool 08:19:48.823 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Classpath has 79 entries 08:19:48.823 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - listeners registered: 9 08:19:48.823 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: created project sy-common-tool 08:19:48.823 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate project 08:19:48.830 [Simple-Language-Server main thread] INFO o.s.i.v.boot.app.SpringSymbolIndex - project created event: sy-common-tool 08:19:48.830 [Simple-Language-Server main thread] INFO o.s.i.v.b.a.BootLanguageServerInitializer - A project changed sy-common-tool, triggering reconcile on all project's open documents 08:19:48.832 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Created: file:/F:/eclipse-work/eclipse-workspace/sy-project-parent 08:19:48.832 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Classpath has 0 entries 08:19:48.832 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - listeners registered: 9 08:19:48.832 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: created project sy-project-parent 08:19:48.832 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate project 08:19:48.833 [Simple-Language-Server main thread] INFO o.s.i.v.boot.app.SpringSymbolIndex - project created event: sy-project-parent 08:19:48.834 [Simple-Language-Server main thread] INFO o.s.i.v.b.a.BootLanguageServerInitializer - A project changed sy-project-parent, triggering reconcile on all project's open documents 08:19:48.836 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Created: file:/F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-vote-parent/sy-vote-core 08:19:48.836 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - Classpath has 70 entries 08:19:48.836 [Simple-Language-Server main thread] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - listeners registered: 9 08:19:48.836 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: created project sy-vote-core 08:19:48.836 [Simple-Language-Server main thread] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate project 08:19:48.841 [Simple-Language-Server main thread] INFO o.s.i.v.boot.app.SpringSymbolIndex - project created event: sy-vote-core 08:19:48.842 [Simple-Language-Server main thread] INFO o.s.i.v.b.a.BootLanguageServerInitializer - A project changed sy-vote-core, triggering reconcile on all project's open documents 08:19:48.947 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files used cached data: sy-vote-admin - no. of cached symbols retrieved: 88 08:19:48.948 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files restored cached dependency data: 0 - no. of cached dependencies: {} 08:19:48.948 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-vote-admin took ms: 227 08:19:48.953 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-common-captcha - no. of files: 4 08:19:48.991 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for sy-vote-admin DONE 08:19:48.991 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexed 1884 properties. 08:19:48.999 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files, AST parse, pass 1 for files: 4 08:19:49.009 [Reconciler-1] INFO o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 10 08:19:52.776 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files done, number of symbols created: 1 08:19:52.855 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-common-captcha took ms: 3902 08:19:52.861 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-common-dao - no. of files: 17 08:19:52.866 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files, AST parse, pass 1 for files: 17 08:19:55.687 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files done, number of symbols created: 8 08:19:55.691 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-common-dao took ms: 2830 08:19:55.692 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-common-es - no. of files: 2 08:19:55.696 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files, AST parse, pass 1 for files: 2 08:19:56.225 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files done, number of symbols created: 1 08:19:56.227 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-common-es took ms: 535 08:19:56.229 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-common-redis - no. of files: 5 08:19:56.233 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files, AST parse, pass 1 for files: 5 08:19:57.111 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files done, number of symbols created: 3 08:19:57.114 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-common-redis took ms: 885 08:19:57.116 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-common-test - no. of files: 2 08:19:57.119 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files, AST parse, pass 1 for files: 2 08:19:58.202 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files done, number of symbols created: 2 08:19:58.206 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-common-test took ms: 1090 08:19:58.215 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-common-tool - no. of files: 46 08:19:58.224 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files used cached data: sy-common-tool - no. of cached symbols retrieved: 0 08:19:58.225 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files restored cached dependency data: 0 - no. of cached dependencies: {} 08:19:58.225 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-common-tool took ms: 10 08:19:58.229 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-vote-core - no. of files: 16 08:19:58.236 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files used cached data: sy-vote-core - no. of cached symbols retrieved: 0 08:19:58.236 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files restored cached dependency data: 0 - no. of cached dependencies: {} 08:19:58.238 [pool-2-thread-1] INFO o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: sy-vote-core took ms: 9 08:20:10.040 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for sy-vote-admin 08:20:10.136 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for sy-vote-admin DONE 08:20:10.136 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexed 1884 properties. 08:20:11.834 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for sy-vote-admin 08:20:11.919 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for sy-vote-admin DONE 08:20:11.919 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexed 1884 properties. 08:20:14.754 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for sy-vote-admin 08:20:14.758 [pool-5-thread-1] INFO o.s.i.v.c.l.u.SimpleTextDocumentService - change arrived: 2 08:20:14.760 [pool-5-thread-1] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate AST for file:///F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-vote-parent/sy-vote-admin/src/main/resources/application.yml 08:20:14.761 [pool-5-thread-1] INFO o.s.i.v.c.l.u.SimpleTextDocumentService - change message work done in 2ms 08:20:14.841 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for sy-vote-admin DONE 08:20:14.841 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexed 1884 properties. 08:20:16.325 [pool-5-thread-1] INFO o.s.i.v.c.l.u.SimpleTextDocumentService - change arrived: 3 08:20:16.326 [pool-5-thread-1] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate AST for file:///F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-vote-parent/sy-vote-admin/src/main/resources/application.yml 08:20:16.326 [pool-5-thread-1] INFO o.s.i.v.c.l.u.SimpleTextDocumentService - change message work done in 1ms 08:20:16.605 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for sy-vote-admin 08:20:16.690 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for sy-vote-admin DONE 08:20:16.690 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexed 1884 properties. 08:20:16.695 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for sy-vote-admin 08:20:16.781 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for sy-vote-admin DONE 08:20:16.781 [Reconciler-1] INFO o.s.ide.vscode.commons.util.Log - Indexed 1884 properties. 08:20:17.009 [pool-5-thread-1] INFO o.s.i.v.c.l.u.SimpleTextDocumentService - change arrived: 4 08:20:17.009 [pool-5-thread-1] INFO o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate AST for file:///F:/eclipse-work/eclipse-workspace/sy-project-parent/sy-vote-parent/sy-vote-admin/src/main/resources/application.yml 08:20:17.010 [pool-5-thread-1] INFO o.s.i.v.c.l.u.SimpleTextDocumentService - change message work done in 1ms

guerricmerleHUG commented 2 years ago

i have the same issue with same error log. My version is : image

In Spring Boot Language Server Console i have these logs :

08:57:38.296 [main] INFO  o.s.i.v.b.a.BootLanguageServerBootApp - Starting BootLanguageServerBootApp on cih-8505 with PID 25388 (D:\products\sts-4.12.0.RELEASE\plugins\org.springframework.tooling.boot.ls_1.29.0.202110250907\servers\spring-boot-language-server\BOOT-INF\classes started by gmer in D:\products\sts-4.12.0.RELEASE)
08:57:38.299 [main] INFO  o.s.i.v.b.a.BootLanguageServerBootApp - No active profile set, falling back to default profiles: default
08:57:38.746 [main] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 1
08:57:38.818 [main] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 2
08:57:38.869 [main] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 3
08:57:38.907 [main] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 4
08:57:38.907 [main] INFO  o.s.i.v.boot.app.SpringSymbolIndex - project listener registered
08:57:38.941 [main] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 5
08:57:38.998 [main] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 6
08:57:39.000 [main] INFO  o.s.i.v.b.j.l.v.SpringProcessCommandHandler - Registered command handler: sts/livedata/listProcesses
08:57:39.001 [main] INFO  o.s.i.v.b.j.l.v.SpringProcessCommandHandler - Registered command handler: sts/livedata/connect
08:57:39.001 [main] INFO  o.s.i.v.b.j.l.v.SpringProcessCommandHandler - Registered command handler: sts/livedata/refresh
08:57:39.002 [main] INFO  o.s.i.v.b.j.l.v.SpringProcessCommandHandler - Registered command handler: sts/livedata/disconnect
08:57:39.005 [main] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 7
08:57:39.019 [main] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 8
08:57:39.024 [main] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 9
08:57:39.077 [main] INFO  o.s.i.v.b.a.BootLanguageServerBootApp - Started BootLanguageServerBootApp in 1.234 seconds (JVM running for 1.988)
08:57:39.079 [main] INFO  o.s.i.v.c.l.LanguageServerRunner - java.home = D:\products\sts-4.12.0.RELEASE\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_16.0.2.v20210721-1149\jre
08:57:39.080 [LanguageServerApp-lifecycle] INFO  o.s.i.v.c.l.LanguageServerRunner - Server ready to start after 1991 ms
08:57:39.081 [LanguageServerApp-lifecycle] INFO  o.s.i.v.c.l.LanguageServerRunner - Starting LS as client
08:57:39.081 [LanguageServerApp-lifecycle] INFO  o.s.i.v.c.l.LanguageServerRunner - Connected to parent using stdio
08:57:39.178 [pool-5-thread-1] INFO  o.s.i.v.c.l.u.SimpleLanguageServer - Initializing
08:57:39.205 [pool-5-thread-1] INFO  o.s.i.v.c.l.u.CompletionServerCapabilityRegistration - hasDynamicCompletionRegistration = false
08:57:39.206 [pool-5-thread-1] INFO  o.s.i.v.c.l.u.CompletionServerCapabilityRegistration - Registering Completion Capability Statically
08:57:39.206 [pool-5-thread-1] INFO  o.s.i.v.c.l.u.SimpleLanguageServer - Returning server capabilities to client
08:57:39.248 [pool-5-thread-1] INFO  o.s.i.v.c.l.u.SimpleTextDocumentService - change arrived: 1
08:57:39.250 [Simple-Language-Server main thread] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Observer is supported
08:57:39.282 [pool-5-thread-1] INFO  o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate AST for file:///D:/Users/gmer/Documents/workspace-samples/producer-multi-schema-to-one-topic/src/main/resources/application.yml
08:57:39.299 [pool-5-thread-1] INFO  o.s.i.v.boot.app.SpringSymbolIndex - update settings of spring indexer - start
08:57:39.300 [pool-5-thread-1] INFO  o.s.i.v.boot.app.SpringSymbolIndex - update settings of spring indexer - done
08:57:39.300 [pool-5-thread-1] INFO  o.s.i.v.b.j.BootJavaLanguageServerComponents - update live process tracker settings - start
08:57:39.300 [pool-5-thread-1] INFO  o.s.i.v.b.j.l.v.SpringProcessTracker - Starting SpringProcessTracker
08:57:39.300 [pool-5-thread-1] INFO  o.s.i.v.b.j.BootJavaLanguageServerComponents - update live process tracker settings - done
08:57:39.301 [pool-5-thread-1] INFO  o.s.i.v.b.a.BootLanguageServerInitializer - A configuration changed, triggering reconcile on all open documents
08:57:39.301 [pool-5-thread-1] INFO  o.s.i.v.b.j.l.v.SpringProcessConnectorRemote - updating settings for remote processses to track - start
08:57:39.304 [pool-5-thread-1] INFO  o.s.i.v.b.j.l.v.SpringProcessConnectorRemote - updating settings for remote processses to track - done
08:57:39.304 [pool-5-thread-1] INFO  o.s.i.v.boot.app.SpringSymbolIndex - update settings of spring indexer - start
08:57:39.304 [pool-5-thread-1] INFO  o.s.i.v.boot.app.SpringSymbolIndex - update settings of spring indexer - done
08:57:39.304 [pool-5-thread-1] INFO  o.s.i.v.b.j.BootJavaLanguageServerComponents - update live process tracker settings - start
08:57:39.305 [pool-5-thread-1] INFO  o.s.i.v.b.j.BootJavaLanguageServerComponents - update live process tracker settings - done
08:57:39.305 [pool-5-thread-1] INFO  o.s.i.v.b.a.BootLanguageServerInitializer - A configuration changed, triggering reconcile on all open documents
08:57:39.305 [pool-5-thread-1] INFO  o.s.i.v.b.j.l.v.SpringProcessConnectorRemote - updating settings for remote processses to track - start
08:57:39.305 [pool-5-thread-1] INFO  o.s.i.v.b.j.l.v.SpringProcessConnectorRemote - updating settings for remote processses to track - done
08:57:39.336 [Simple-Language-Server main thread] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - addClasspathListener ...
08:57:39.340 [Simple-Language-Server main thread] INFO  o.s.i.v.c.l.u.SimpleLanguageServer - Initialization completed after 2251 ms
08:57:39.349 [pool-5-thread-1] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - addClasspathListener DONE
08:57:40.263 [Simple-Language-Server main thread] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Created: file:/D:/Users/gmer/Documents/workspace-samples/producer-multi-schema-to-one-topic
08:57:40.263 [Simple-Language-Server main thread] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - Classpath has 130 entries
08:57:40.264 [Simple-Language-Server main thread] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - listeners registered: 9
08:57:40.264 [Simple-Language-Server main thread] INFO  o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: created project producer-multi-schema-to-one-topic
08:57:40.264 [Simple-Language-Server main thread] INFO  o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate project <producer-multi-schema-to-one-topic>
08:57:40.611 [Simple-Language-Server main thread] INFO  o.s.i.v.boot.app.SpringSymbolIndex - project created event: producer-multi-schema-to-one-topic
08:57:40.615 [Simple-Language-Server main thread] INFO  o.s.i.v.b.a.BootLanguageServerInitializer - A project changed producer-multi-schema-to-one-topic, triggering reconcile on all project's open documents
08:57:40.619 [pool-2-thread-1] INFO  o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: producer-multi-schema-to-one-topic - no. of files: 1
08:57:40.620 [Simple-Language-Server main thread] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - Project Created: file:/D:/Users/gmer/Documents/workspace-samples/consumer-multi-schema-from-one-topic
08:57:40.620 [Simple-Language-Server main thread] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - Classpath has 130 entries
08:57:40.620 [Simple-Language-Server main thread] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - listeners registered: 9
08:57:40.620 [Simple-Language-Server main thread] INFO  o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: created project consumer-multi-schema-from-one-topic
08:57:40.620 [Simple-Language-Server main thread] INFO  o.s.i.v.b.j.u.CompilationUnitCache - CU Cache: invalidate project <consumer-multi-schema-from-one-topic>
08:57:40.633 [Simple-Language-Server main thread] INFO  o.s.i.v.boot.app.SpringSymbolIndex - project created event: consumer-multi-schema-from-one-topic
08:57:40.633 [Simple-Language-Server main thread] INFO  o.s.i.v.b.a.BootLanguageServerInitializer - A project changed consumer-multi-schema-from-one-topic, triggering reconcile on all project's open documents
08:57:40.635 [Reconciler-1] INFO  o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for producer-multi-schema-to-one-topic
08:57:40.673 [pool-2-thread-1] INFO  o.s.i.v.b.j.utils.SpringIndexerJava - scan java files used cached data: producer-multi-schema-to-one-topic - no. of cached symbols retrieved: 1
08:57:40.674 [pool-2-thread-1] INFO  o.s.i.v.b.j.utils.SpringIndexerJava - scan java files restored cached dependency data: 0 - no. of cached dependencies: {}
08:57:40.674 [pool-2-thread-1] INFO  o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: producer-multi-schema-to-one-topic took ms: 54
08:57:40.676 [pool-2-thread-1] INFO  o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: consumer-multi-schema-from-one-topic - no. of files: 1
08:57:40.697 [pool-2-thread-1] INFO  o.s.i.v.b.j.utils.SpringIndexerJava - scan java files used cached data: consumer-multi-schema-from-one-topic - no. of cached symbols retrieved: 1
08:57:40.697 [pool-2-thread-1] INFO  o.s.i.v.b.j.utils.SpringIndexerJava - scan java files restored cached dependency data: 0 - no. of cached dependencies: {}
08:57:40.697 [pool-2-thread-1] INFO  o.s.i.v.b.j.utils.SpringIndexerJava - scan java files for symbols for project: consumer-multi-schema-from-one-topic took ms: 21
08:57:40.797 [Reconciler-1] INFO  o.s.ide.vscode.commons.util.Log - Indexing Spring Boot Properties for producer-multi-schema-to-one-topic DONE
08:57:40.797 [Reconciler-1] INFO  o.s.ide.vscode.commons.util.Log - Indexed 1967 properties.
08:57:40.812 [Reconciler-1] INFO  o.s.i.v.b.jdt.ls.JdtLsProjectCache - added listener - now listeners registered: 10
08:57:41.962 [Reconciler-1] ERROR o.s.i.v.boot.metadata.types.TypeUtil - 
java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.LinkedHashMap.get(Object)" is null
    at org.springframework.ide.vscode.commons.jdtls.Wrappers$2.dimensions(Wrappers.java:108)
    at org.springframework.ide.vscode.boot.metadata.types.Type.fromJavaType(Type.java:144)
    at org.springframework.ide.vscode.boot.metadata.types.TypeUtil.lambda$getProperties$5(TypeUtil.java:774)
    at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)
    at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
    at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
    at org.springframework.ide.vscode.boot.metadata.types.TypeUtil.getProperties(TypeUtil.java:770)
    at org.springframework.ide.vscode.boot.metadata.types.TypeUtil.getPropertiesMap(TypeUtil.java:919)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:274)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:228)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:291)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:228)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:269)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:228)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:191)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:110)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:196)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:110)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:196)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:110)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:196)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:110)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:98)
    at org.springframework.ide.vscode.boot.yaml.reconcile.ApplicationYamlASTReconciler.reconcile(ApplicationYamlASTReconciler.java:91)
    at org.springframework.ide.vscode.commons.yaml.reconcile.YamlReconcileEngine.reconcile(YamlReconcileEngine.java:45)
    at org.springframework.ide.vscode.boot.properties.BootPropertiesLanguageServerComponents.lambda$getReconcileEngine$6(BootPropertiesLanguageServerComponents.java:150)
    at org.springframework.ide.vscode.commons.languageserver.composable.CompositeLanguageServerComponents$1.reconcile(CompositeLanguageServerComponents.java:71)
    at org.springframework.ide.vscode.commons.languageserver.util.SimpleLanguageServer.lambda$validateWith$11(SimpleLanguageServer.java:648)
    at reactor.core.publisher.MonoRunnable.subscribe(MonoRunnable.java:49)
    at reactor.core.publisher.Mono.subscribe(Mono.java:4213)
    at reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:124)
    at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84)
    at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
    at java.base/java.lang.Thread.run(Thread.java:831)
martinlippert commented 2 years ago

Thanks @guerricm for attaching the error log, the exception in there is interesting. Do you have a sample project that you could attach that reproduces the issue (from a fresh STS 4.12.1 installation and an empty workspace)? That would be awesome.

martinlippert commented 2 years ago

Thanks @guerricm for the error log, this part of the exception pointed me into the right direction:

java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.LinkedHashMap.get(Object)" is null at org.springframework.ide.vscode.commons.jdtls.Wrappers$2.dimensions(Wrappers.java:108) at org.springframework.ide.vscode.boot.metadata.types.Type.fromJavaType(Type.java:144) at org.springframework.ide.vscode.boot.metadata.types.TypeUtil.lambda$getProperties$5(TypeUtil.java:774)

Should be fixed now. Ships as part of STS 4.13.0 mid of December.