jbosstools / jbosstools-quarkus

Quarkus tooling for Eclipse
https://tools.jboss.org
Apache License 2.0
16 stars 20 forks source link

An internal error occurred during: "MicroProfile properties collector". #242

Open Shrewd opened 3 months ago

Shrewd commented 3 months ago

Hello

Not sure if this comes from here, but I'm getting this error when trying to edit a Quarkus application.properties file in STS. Read some that are related but all solved, so not sure if it is back... also this one is a NoSuchMethodError.

java.lang.NoSuchMethodError: 'void org.eclipse.jdt.internal.core.search.JavaSearchScope.add(org.eclipse.jdt.internal.core.JavaProject, int, java.util.HashSet)'
    at org.eclipse.lsp4mp.jdt.core.PropertiesManager.createJavaSearchScope(PropertiesManager.java:422)
    at org.eclipse.lsp4mp.jdt.core.PropertiesManager.createSearchScope(PropertiesManager.java:292)
    at org.eclipse.lsp4mp.jdt.core.PropertiesManager.scanJavaClasses(PropertiesManager.java:215)
    at org.eclipse.lsp4mp.jdt.core.PropertiesManager.getMicroProfileProjectInfo(PropertiesManager.java:145)
    at org.eclipse.lsp4mp.jdt.core.PropertiesManager.getMicroProfileProjectInfo(PropertiesManager.java:113)
    at org.eclipse.lsp4mp.jdt.core.PropertiesManager.getMicroProfileProjectInfo(PropertiesManager.java:104)
    at org.jboss.tools.quarkus.lsp4e.QuarkusLanguageClient.lambda$2(QuarkusLanguageClient.java:81)
    at org.eclipse.core.runtime.jobs.Job$2.run(Job.java:187)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

eclipse.buildId=4.22.0.202403071427 java.version=22 java.vendor=Eclipse Adoptium BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=es_ES Framework arguments: -product org.springframework.boot.ide.branding.sts4 Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.springframework.boot.ide.branding.sts4 -clean -data file:/C:/Users/XXXXXXXXXX

luca-bassoricci commented 3 months ago

I've encountered the same error after upgrade eclipse to 2024-03