-
Notifications
You must be signed in to change notification settings - Fork 91
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
Not able to run validate due to ExtensionRegistry return null value #800
Comments
@galan There's no such Java version as 1.17. Change it to 17, and let us know if that works (will close in the meantime). |
Thanks for the hint, but unfortunately, the same error persists. @ctubbsii
|
I could not reproduce the error, but I don't have your config file. I google'd for the error, and came across a similar issue, diffplug/spotless#1638 (comment), which pointed us back to our own issue #621 (comment) So, I suspect your config file is not valid or is not compatible with the version of Eclipse JDT that this plugin is using. You can try importing your config file, and re-exporting it, from the corresponding Eclipse version for this plugin version. |
Yes, regarding your version compatibility sheet, this maven plugin does not cover the current eclipse verions. My version:
However, I downloaded Eclipse 2023-03 (4.27.0) and did an export for the older version, but the result was the same error as above. Then I tested the hint from #621 (comment) and it turned out, that removing the following line also helped removing the error.
|
Describe the bug
I integrated the formatter, but executing
mvn formatter:validate
returns this error:Versions (OS, Maven, Java, and others, as appropriate):
Integration in maven:
To Reproduce
Steps to reproduce the behavior (or a link to an example repository that reproduces the problem):
mvn formatter:validate
(mvn formatter:format
creates the same error, onlymvn formatter:help
works)Expected behavior
Working pluging and no exception
The text was updated successfully, but these errors were encountered: