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

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

Open
Shrewd opened this issue Mar 23, 2024 · 5 comments
Open

Comments

@Shrewd
Copy link

Shrewd commented Mar 23, 2024

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
Copy link

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

@jabby
Copy link

jabby commented Jul 26, 2024

Still present with Eclipse Java IDE 2024-06

@tomaszklucha-dev
Copy link

Any plans to resolve this issue?

@tonywestonuk
Copy link

Still present with Eclipse Java IDE 2024-09

Maybe @sbouchet knows, he was doing some work in this area a while back?

@JayGlass
Copy link

JayGlass commented Aug 13, 2024

The issues so bad - I just logged in here so I could report the issue and as well, and report that I tried to disable the plugin on startup but the error still occurs - it's beyond maddening. Eclipse 2024-03. I then relaized I had just disabled the Quarkus plugin, I went back and disabled all JBoss Tools other than the usage reporting and the issue still occurs.

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

6 participants