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

5sec long "Loading local artifacts" job keeps getting triggered on hover #506

Open
fbricon opened this issue Aug 17, 2023 · 12 comments
Open

Comments

@fbricon
Copy link
Contributor

fbricon commented Aug 17, 2023

Testing the latest Eclipse 2023-09 M2 (4.29.0 M2) with m2e 2.4.100.20230815-1219, every time my cursor hovers over some text in a pom file, after a 2sec delay, a 5sec long "Loading local artifacts" job is triggered. Every time. On the same file. This is suboptimal at best. Also extremely irritating.

Screenshot 2023-08-17 at 12 10 49
@vrubezhny
Copy link
Contributor

@fbricon Could you please add the following argument line to your eclipse.ini:

-Dorg.eclipse.wildwebdeveloper.xml.internal.XMLLanguageServer.log.level=all

after the -vmargs section, then restart your Eclipse and try reproducing the issue.
A log file maned as lemminx.log is to be generated inside <Your Workspace>/.metadata folder.

When the issue is reproduced, could you please attach the generated log here?

@fbricon
Copy link
Contributor Author

fbricon commented Aug 17, 2023

Looks like LemMinX keeps restarting

Aug 17, 2023 1:25:54 PM org.eclipse.lemminx.XMLLanguageServer initialize
INFO: Initializing XML Language server
LemMinX Server info:
 - Version : 0.27.0
 - Java : /Users/fbricon/.sdkman/candidates/java/20-tem
 - VM Version : 20
 - Git b0ab7dc - [maven-release-plugin] prepare release 0.27.0
Aug 17, 2023 1:25:54 PM org.eclipse.lemminx.extensions.contentmodel.uriresolver.XMLCatalogResolverExtension setCatalogs
INFO: Adding XML catalog '/Users/fbricon/Dev/workspaces/m2e-core-summer-party/.metadata/.plugins/org.eclipse.wildwebdeveloper.xml/system-catalog.xml' with expand system id 'file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/.metadata/.plugins/org.eclipse.wildwebdeveloper.xml/system-catalog.xml' and root URI 'file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/'.
Aug 17, 2023 1:25:56 PM org.eclipse.lemminx.extensions.maven.searcher.LocalRepositorySearcher lambda$new$0
INFO: Local repo updater started
Aug 17, 2023 1:26:03 PM org.eclipse.lemminx.extensions.maven.searcher.LocalRepositorySearcher lambda$new$0
INFO: Local repo updater stopped
Aug 17, 2023 1:26:10 PM org.eclipse.lemminx.XMLLanguageServer initialize
INFO: Initializing XML Language server
LemMinX Server info:
 - Version : 0.27.0
 - Java : /Users/fbricon/.sdkman/candidates/java/20-tem
 - VM Version : 20
 - Git b0ab7dc - [maven-release-plugin] prepare release 0.27.0
Aug 17, 2023 1:26:10 PM org.eclipse.lemminx.extensions.contentmodel.uriresolver.XMLCatalogResolverExtension setCatalogs
INFO: Adding XML catalog '/Users/fbricon/Dev/workspaces/m2e-core-summer-party/.metadata/.plugins/org.eclipse.wildwebdeveloper.xml/system-catalog.xml' with expand system id 'file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/.metadata/.plugins/org.eclipse.wildwebdeveloper.xml/system-catalog.xml' and root URI 'file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/'.
Aug 17, 2023 1:26:11 PM org.eclipse.lemminx.extensions.maven.searcher.LocalRepositorySearcher lambda$new$0
INFO: Local repo updater started
Aug 17, 2023 1:26:16 PM org.eclipse.lemminx.extensions.maven.searcher.LocalRepositorySearcher lambda$new$0
INFO: Local repo updater stopped
Aug 17, 2023 1:28:06 PM org.eclipse.lemminx.XMLLanguageServer initialize
INFO: Initializing XML Language server
LemMinX Server info:
 - Version : 0.27.0
 - Java : /Users/fbricon/.sdkman/candidates/java/20-tem
 - VM Version : 20
 - Git b0ab7dc - [maven-release-plugin] prepare release 0.27.0
Aug 17, 2023 1:28:06 PM org.eclipse.lemminx.extensions.contentmodel.uriresolver.XMLCatalogResolverExtension setCatalogs
INFO: Adding XML catalog '/Users/fbricon/Dev/workspaces/m2e-core-summer-party/.metadata/.plugins/org.eclipse.wildwebdeveloper.xml/system-catalog.xml' with expand system id 'file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/.metadata/.plugins/org.eclipse.wildwebdeveloper.xml/system-catalog.xml' and root URI 'file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/'.
Aug 17, 2023 1:28:07 PM org.eclipse.lemminx.extensions.maven.searcher.LocalRepositorySearcher lambda$new$0
INFO: Local repo updater started
Aug 17, 2023 1:28:13 PM org.eclipse.lemminx.extensions.maven.searcher.LocalRepositorySearcher lambda$new$0
INFO: Local repo updater stopped

@fbricon
Copy link
Contributor Author

fbricon commented Aug 17, 2023

Here's the LSP4E log, after 1 hover:


[2023-08-17T13:32:26.108835+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 3842



[2023-08-17T13:32:26.109069+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"1","method":"initialize","params":{"processId":51552,"rootPath":"/Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/","rootUri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/","initializationOptions":{"settings":{"xml":{"maven":{},"downloadExternalResources":{"enabled":false},"catalogs":["/Users/fbricon/Dev/workspaces/m2e-core-summer-party/.metadata/.plugins/org.eclipse.wildwebdeveloper.xml/system-catalog.xml"],"format":{"xsiSchemaLocationSplit":"onPair","maxLineWidth":80,"preserveAttributeLineBreaks":true,"closingBracketNewLine":false,"grammarAwareFormatting":false,"joinContentLines":false,"splitAttributes":"preserve","joinCDATALines":false,"preserveSpace":["xsl:text","xsl:comment","xsl:processing-instruction","literallayout","programlisting","screen","synopsis","pre","xd:pre"],"trimFinalNewlines":false,"emptyElements":"ignore","spaceBeforeEmptyCloseTag":true,"splitAttributesIndentSize":2,"preservedNewlines":2,"enforceQuoteStyle":"ignore","joinCommentLines":false,"insertFinalNewline":false,"trimTrailingWhitespace":false},"codeLens":{"enabled":true},"foldings":{"includeClosingTagInFold":true},"logs":{"file":"/Users/fbricon/Dev/workspaces/m2e-core-summer-party/.metadata/lemminx.log"},"validation":{"schema":{"enabled":"always"},"noGrammar":"hint","resolveExternalEntities":false,"enabled":true,"namespaces":{"enabled":"onNamespaceEncountered"},"disallowDocTypeDecl":false}}},"extendedClientCapabilities":{"bindingWizardSupport":true,"codeLens":{"codeLensKind":{"valueSet":["association"]}}}},"capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","delete","rename"],"failureHandling":"undo"},"symbol":{"dynamicRegistration":true},"executeCommand":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true,"codeLens":{"refreshSupport":true}},"textDocument":{"synchronization":{"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"completionItem":{"snippetSupport":true,"documentationFormat":["markdown","plaintext"],"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"insertTextModeSupport":{"valueSet":[1,2]}}},"hover":{"contentFormat":["markdown","plaintext"]},"signatureHelp":{},"references":{},"documentHighlight":{},"documentSymbol":{"symbolKind":{"valueSet":[18,17,5,14,9,10,22,24,8,1,12,11,20,6,2,3,21,16,19,25,4,7,15,23,26,13]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{},"definition":{"linkSupport":true},"typeDefinition":{"linkSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"resolveSupport":{"properties":["edit"]},"dynamicRegistration":true},"codeLens":{},"documentLink":{},"colorProvider":{},"rename":{"prepareSupport":true},"foldingRange":{},"selectionRange":{},"inlayHint":{}},"window":{"workDoneProgress":true,"showMessage":{},"showDocument":{"support":true}}},"clientInfo":{"name":"Eclipse IDE","version":"0.17.0.202308111329"},"trace":"off","workspaceFolders":[{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/api/","name":"api"},{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/","name":"multiquark"},{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/parent/","name":"parent"},{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/q-runner/","name":"q-runner"},{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/q-tests/","name":"q-tests"},{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/service/","name":"service"}]}}

[2023-08-17T13:32:26.995186+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"1","result":{"capabilities":{"textDocumentSync":2,"hoverProvider":true,"completionProvider":{"resolveProvider":true,"triggerCharacters":[".",":","\u003c","\"","\u003d","/","\\","?","\u0027","\u0026","#"]},"definitionProvider":true,"typeDefinitionProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeLensProvider":{},"documentFormattingProvider":false,"documentRangeFormattingProvider":true,"renameProvider":{"prepareProvider":true},"documentLinkProvider":{"resolveProvider":true},"colorProvider":true,"foldingRangeProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":true}},"selectionRangeProvider":true,"linkedEditingRangeProvider":true}}}

[2023-08-17T13:32:26.997580+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 52



[2023-08-17T13:32:26.997617+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"initialized","params":{}}

[2023-08-17T13:32:26.998456+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 731



[2023-08-17T13:32:26.998488+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"workspace/didChangeWorkspaceFolders","params":{"event":{"added":[{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/api/","name":"api"},{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/","name":"multiquark"},{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/parent/","name":"parent"},{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/q-runner/","name":"q-runner"},{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/q-tests/","name":"q-tests"},{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/service/","name":"service"}],"removed":[]}}}

[2023-08-17T13:32:26.999475+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 4639



[2023-08-17T13:32:26.999513+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/parent/pom.xml","languageId":"xml","version":1,"text":"\u003c?xml version\u003d\"1.0\" encoding\u003d\"UTF-8\"?\u003e\n\u003cproject xmlns\u003d\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi\u003d\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation\u003d\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\"\u003e\n    \u003cmodelVersion\u003e4.0.0\u003c/modelVersion\u003e\n    \u003cparent\u003e\n    \u003cartifactId\u003emultiquark\u003c/artifactId\u003e\n    \u003cgroupId\u003efoo.bar\u003c/groupId\u003e\n    \u003cversion\u003e0.0.1-SNAPSHOT\u003c/version\u003e\n  \u003c/parent\u003e\n\n    \u003cversion\u003e0.0.1-SNAPSHOT\u003c/version\u003e\n    \u003cpackaging\u003epom\u003c/packaging\u003e\n    \u003cgroupId\u003efoo.bar\u003c/groupId\u003e\n    \u003cartifactId\u003eparent\u003c/artifactId\u003e\n    \u003cname\u003eparent\u003c/name\u003e\n\n    \u003cproperties\u003e\n        \u003cjava.version\u003e11\u003c/java.version\u003e\n        \u003cmaven-compiler-plugin.version\u003e3.8.1\u003c/maven-compiler-plugin.version\u003e\n        \u003cmaven.compiler.source\u003e${java.version}\u003c/maven.compiler.source\u003e\n        \u003cmaven.compiler.target\u003e${java.version}\u003c/maven.compiler.target\u003e\n\n        \u003cproject.build.sourceEncoding\u003eUTF-8\u003c/project.build.sourceEncoding\u003e\n        \u003cproject.reporting.outputEncoding\u003eUTF-8\u003c/project.reporting.outputEncoding\u003e\n\n        \u003cjunit.version\u003e5.6.1\u003c/junit.version\u003e\n        \u003cassertj.version\u003e3.15.0\u003c/assertj.version\u003e\n    \u003c/properties\u003e\n\n    \u003cdependencyManagement\u003e\n        \u003cdependencies\u003e\n            \u003cdependency\u003e\n                \u003cgroupId\u003efoo.bar\u003c/groupId\u003e\n                \u003cartifactId\u003eapi\u003c/artifactId\u003e\n                \u003cversion\u003e${project.version}\u003c/version\u003e\n            \u003c/dependency\u003e\n            \u003cdependency\u003e\n                \u003cgroupId\u003efoo.bar\u003c/groupId\u003e\n                \u003cartifactId\u003eservice\u003c/artifactId\u003e\n                \u003cversion\u003e${project.version}\u003c/version\u003e\n            \u003c/dependency\u003e\n            \u003cdependency\u003e\n                \u003cgroupId\u003efoo.bar\u003c/groupId\u003e\n                \u003cartifactId\u003eq-runner\u003c/artifactId\u003e\n                \u003cversion\u003e${project.version}\u003c/version\u003e\n            \u003c/dependency\u003e\n\t\t\tjfiglet\n            \u003cdependency\u003e\n                \u003cgroupId\u003eorg.junit\u003c/groupId\u003e\n                \u003cartifactId\u003ejunit-bom\u003c/artifactId\u003e\n                \u003cversion\u003e${junit.version}\u003c/version\u003e\n                \u003ctype\u003epom\u003c/type\u003e\n                \u003cscope\u003eimport\u003c/scope\u003e\n            \u003c/dependency\u003e\n            \u003cdependency\u003e\n                \u003cgroupId\u003eorg.assertj\u003c/groupId\u003e\n                \u003cartifactId\u003eassertj-core\u003c/artifactId\u003e\n                \u003cversion\u003e${assertj.version}\u003c/version\u003e\n            \u003c/dependency\u003e\n        \u003c/dependencies\u003e\n    \u003c/dependencyManagement\u003e\n\n\n    \u003cbuild\u003e\n        \u003cplugins\u003e\n            \u003cplugin\u003e\n                \u003cgroupId\u003eorg.apache.maven.plugins\u003c/groupId\u003e\n                \u003cartifactId\u003emaven-compiler-plugin\u003c/artifactId\u003e\n                \u003cversion\u003e${maven-compiler-plugin.version}\u003c/version\u003e\n                \u003cconfiguration\u003e\n                    \u003ccompilerArgs\u003e\n                        \u003carg\u003e-Xlint:unchecked\u003c/arg\u003e\n                    \u003c/compilerArgs\u003e\n                    \u003cshowDeprecation\u003etrue\u003c/showDeprecation\u003e\n                    \u003cshowWarnings\u003etrue\u003c/showWarnings\u003e\n                    \u003csource\u003e${java.version}\u003c/source\u003e\n                    \u003ctarget\u003e${java.version}\u003c/target\u003e\n                    \u003cencoding\u003e${project.build.sourceEncoding}\u003c/encoding\u003e\n                \u003c/configuration\u003e\n            \u003c/plugin\u003e\u003c!-- maven-compiler-plugin --\u003e\n        \u003c/plugins\u003e\n    \u003c/build\u003e\n\n\u003c/project\u003e\n"}}}

[2023-08-17T13:32:26.999977+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 215



[2023-08-17T13:32:27.000006+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"2","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/parent/pom.xml"},"position":{"line":17,"character":73}}}

[2023-08-17T13:32:27.000028+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"1","method":"client/registerCapability","params":{"registrations":[{"id":"86d59223-b96e-477c-9c1c-e0ea1ed9bf56","method":"textDocument/codeAction","registerOptions":{"resolveProvider":true}}]}}

[2023-08-17T13:32:27.000357+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 40



[2023-08-17T13:32:27.000384+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"1","result":null}

[2023-08-17T13:32:27.183272+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"2","method":"client/registerCapability","params":{"registrations":[{"id":"84bd2ae9-c1ba-4f8a-85ee-35d609152d23","method":"workspace/executeCommand","registerOptions":{"commands":["xml.check.bound.grammar","xml.refactor.surround.with","xml.associate.grammar.insert","xml.validation.current.file","xml.check.file.pattern","xml.validation.all.files"]}}]}}

[2023-08-17T13:32:27.185287+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 40



[2023-08-17T13:32:27.185428+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"2","result":null}

[2023-08-17T13:32:27.190821+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"3","method":"window/workDoneProgress/create","params":{"token":"d743eac2-e580-4c35-8597-a2d5bfd7d5d4"}}

[2023-08-17T13:32:27.191542+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 40



[2023-08-17T13:32:27.191604+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"3","result":null}

[2023-08-17T13:32:27.196892+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"d743eac2-e580-4c35-8597-a2d5bfd7d5d4","value":{"kind":"begin","title":"Loading Maven components...","message":"","percentage":100}}}

[2023-08-17T13:32:27.209764+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"d743eac2-e580-4c35-8597-a2d5bfd7d5d4","value":{"kind":"report","message":"Initializing Plexus container (1/7)...","percentage":15}}}

[2023-08-17T13:32:27.478306+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"2","result":null}

[2023-08-17T13:32:27.523257+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/parent/pom.xml","diagnostics":[{"range":{"start":{"line":45,"character":3},"end":{"line":45,"character":10}},"severity":1,"code":"cvc-complex-type.2.3","source":"xml","message":"Element \u0027dependencies\u0027 cannot contain text content.\nThe content type is defined as element-only.\n\nCode:"}]}}

[2023-08-17T13:32:27.528659+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 171



[2023-08-17T13:32:27.528765+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"textDocument/didClose","params":{"textDocument":{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/parent/pom.xml"}}}

[2023-08-17T13:32:27.529810+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/parent/pom.xml","diagnostics":[]}}

[2023-08-17T13:32:28.190908+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"d743eac2-e580-4c35-8597-a2d5bfd7d5d4","value":{"kind":"report","message":"Initializing Maven request (2/7)...","percentage":30}}}

[2023-08-17T13:32:28.269222+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"d743eac2-e580-4c35-8597-a2d5bfd7d5d4","value":{"kind":"report","message":"Initializing Repository system session (3/7)...","percentage":45}}}

[2023-08-17T13:32:28.299739+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"d743eac2-e580-4c35-8597-a2d5bfd7d5d4","value":{"kind":"report","message":"Initializing Maven session (4/7)...","percentage":60}}}

[2023-08-17T13:32:28.337917+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"d743eac2-e580-4c35-8597-a2d5bfd7d5d4","value":{"kind":"report","message":"Creating local repository searcher (5/7)...","percentage":75}}}

[2023-08-17T13:32:28.343146+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"5","method":"window/workDoneProgress/create","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080"}}

[2023-08-17T13:32:28.343607+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 40



[2023-08-17T13:32:28.343664+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"5","result":null}

[2023-08-17T13:32:28.343752+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"4","method":"window/workDoneProgress/create","params":{"token":"cf6ac1a6-9949-4b0e-ab93-40878854ae78"}}

[2023-08-17T13:32:28.343981+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 40



[2023-08-17T13:32:28.344017+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"4","result":null}

[2023-08-17T13:32:28.344074+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080","value":{"kind":"begin","title":"Loading local artifacts from \u0027\u0027/Users/fbricon/.m2/repository\u0027\u0027...","percentage":100}}}

[2023-08-17T13:32:28.344263+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"cf6ac1a6-9949-4b0e-ab93-40878854ae78","value":{"kind":"begin","title":"Loading local artifacts from \u0027\u0027/Users/fbricon/.m2/.lemminx-maven\u0027\u0027...","percentage":100}}}

[2023-08-17T13:32:28.344464+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"d743eac2-e580-4c35-8597-a2d5bfd7d5d4","value":{"kind":"report","message":"Creating central repository searcher (6/7)...","percentage":90}}}

[2023-08-17T13:32:28.347138+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"cf6ac1a6-9949-4b0e-ab93-40878854ae78","value":{"kind":"end","message":"Finished loading local artifacts from \u0027\u0027/Users/fbricon/.m2/.lemminx-maven\u0027\u0027."}}}

[2023-08-17T13:32:28.364813+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080","value":{"kind":"report","message":"Scanning folder \u0027\u0027edu\u0027\u0027 (1 / 129)...","percentage":0}}}

[2023-08-17T13:32:28.383149+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080","value":{"kind":"report","message":"Scanning folder \u0027\u00274.5.5\u0027\u0027 (15 / 147)...","percentage":10}}}

[2023-08-17T13:32:28.392619+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080","value":{"kind":"report","message":"Scanning folder \u0027\u00271.6.5\u0027\u0027 (32 / 158)...","percentage":20}}}

[2023-08-17T13:32:28.414487+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080","value":{"kind":"report","message":"Scanning folder \u0027\u00271.14\u0027\u0027 (57 / 187)...","percentage":30}}}

[2023-08-17T13:32:28.436566+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080","value":{"kind":"report","message":"Scanning folder \u0027\u00273.0.1\u0027\u0027 (82 / 203)...","percentage":40}}}

[2023-08-17T13:32:28.455233+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080","value":{"kind":"report","message":"Scanning folder \u0027\u00271.6.1\u0027\u0027 (113 / 226)...","percentage":50}}}

[2023-08-17T13:32:28.488063+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080","value":{"kind":"report","message":"Scanning folder \u0027\u0027org.eclipse.ecf.filetransfer.ssl.feature\u0027\u0027 (198 / 329)...","percentage":60}}}

[2023-08-17T13:32:28.585711+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"d743eac2-e580-4c35-8597-a2d5bfd7d5d4","value":{"kind":"report","message":"Initializing Workspace readers (7/7)...","percentage":105}}}

[2023-08-17T13:32:28.650260+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"d743eac2-e580-4c35-8597-a2d5bfd7d5d4","value":{"kind":"end","message":"Maven initialization done"}}}

[2023-08-17T13:32:28.661033+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/parent/pom.xml","diagnostics":[{"range":{"start":{"line":45,"character":3},"end":{"line":45,"character":10}},"severity":1,"code":"cvc-complex-type.2.3","source":"xml","message":"Element \u0027dependencies\u0027 cannot contain text content.\nThe content type is defined as element-only.\n\nCode:"}]}}

[2023-08-17T13:32:28.703840+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/parent/pom.xml","diagnostics":[{"range":{"start":{"line":45,"character":3},"end":{"line":45,"character":10}},"severity":1,"code":"cvc-complex-type.2.3","source":"xml","message":"Element \u0027dependencies\u0027 cannot contain text content.\nThe content type is defined as element-only.\n\nCode:"},{"range":{"start":{"line":11,"character":13},"end":{"line":11,"character":20}},"severity":2,"code":"DuplicationOfParentGroupId","source":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/parent/pom.xml","message":"GroupId is duplicate of parent groupId"},{"range":{"start":{"line":9,"character":13},"end":{"line":9,"character":27}},"severity":2,"code":"DuplicationOfParentVersion","source":"file:///Users/fbricon/Dev/workspaces/m2e-core-summer-party/multiquark/parent/pom.xml","message":"Version is duplicate of parent version"}]}}

[2023-08-17T13:32:28.831145+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080","value":{"kind":"report","message":"Scanning folder \u0027\u00271.1.200.v20230214-1401\u0027\u0027 (1288 / 1840)...","percentage":70}}}

[2023-08-17T13:32:28.918628+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080","value":{"kind":"report","message":"Scanning folder \u0027\u0027org.eclipse.emf.codegen\u0027\u0027 (1664 / 2079)...","percentage":80}}}

[2023-08-17T13:32:29.024307+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080","value":{"kind":"report","message":"Scanning folder \u0027\u0027javax.activation\u0027\u0027 (2143 / 2381)...","percentage":90}}}

[2023-08-17T13:32:33.712248+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 60



[2023-08-17T13:32:33.712349+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"3","method":"shutdown","params":null}

[2023-08-17T13:32:33.716421+02:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"3","result":null}

[2023-08-17T13:32:33.716833+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 47



[2023-08-17T13:32:33.716882+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"exit","params":null}

[2023-08-17T13:32:34.048760+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
Content-Length: 117



[2023-08-17T13:32:34.048869+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","method":"window/workDoneProgress/cancel","params":{"token":"14abb903-486d-44ad-a5f6-7aef43901080"}}

@vrubezhny
Copy link
Contributor

Cool.

[2023-08-17T13:32:33.712349+02:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.wildwebdeveloper.xml:
{"jsonrpc":"2.0","id":"3","method":"shutdown","params":null}

Do you close and re-open a POM file editor or does it happen during the same editing sesion?

@fbricon
Copy link
Contributor Author

fbricon commented Aug 17, 2023

same editing session

@vrubezhny
Copy link
Contributor

@fbricon Is it a publicly available project being edited? Can you provide an URL to its repository?

@angelozerr Could you please take a look on what's going on here?

@fbricon
Copy link
Contributor Author

fbricon commented Aug 17, 2023

just create any maven project

@fbricon
Copy link
Contributor Author

fbricon commented Aug 17, 2023

I just restarted Eclipse and can't reproduce at the moment

@angelozerr
Copy link
Contributor

@angelozerr Could you please take a look on what's going on here?

I think it is a LSP4E bug, I need to find time to investigate the problem.

@angelozerr
Copy link
Contributor

I just restarted Eclipse and can't reproduce at the moment

Perhaps I'm wrong but I suspect the problem comes from eclipse/lsp4e#743

Could you move your cursor sereval times (which will consume completion), or doCtrl+Space several times. After several opened completion your Eclipse IDE should be unusable.

@fbricon
Copy link
Contributor Author

fbricon commented Aug 17, 2023

I can't reproduce but I think you're right, as I remember hover not triggering that "loading local artifacts" at the beginning, it appeared at some point later

@vrubezhny
Copy link
Contributor

@fbricon The issue is not reproducible for me at the moment.Probably the workspace contents might make LM initialization somehow broken so LM is stopped at some last initialization step... Or performing some actions lead to this effect (like using content assis/hovers/hyperlinks) during the initialization.

Could you please check if you have the latest LSP4E snapshot installed?

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

3 participants