'An internal error occurred during: "Enable SonarLint on all projects". Unable to add builder
When starting Eclipse in a workspace, SonarLint plugin reports the following error:
An internal error occurred during: "Enable SonarLint on all projects". Unable to add builder
After confirming the errmsg, both Eclipse and SonarLint plugin work properly.
Nevertheless, the message is misleading. What causes it? In my workspace, some projects are open and some not.
Solution 1:[1]
For me issue was coming due to lombok jar so Need to upgrade LOMBOK version to 1.18.12 in sts and in pom.xml both and it got resolved.
Solution 2:[2]
In my case it was caused by one of my project being read-only. For some reason, SonarLint defines a global Eclipse job, to add itself to every project that is open. If the process fails, you get that annoying message.
As a workaround I've removed a read-only flag from the .project files.
Solution 3:[3]
Yes you just need to update the latest lombok jar in eiither STS or eclipse, this will resolve issue you me. And you need sonar lint plugin for eclipse for sure.
The attached screen shot is coming in my case, but after updating lombok jar it, gone.
Solution 4:[4]
I upgraded to Latest lomlok version and it got solved.
I replace the old lomlok file with latest version from https://projectlombok.org/download.
Solution 5:[5]
I am using lombok 1.18.4 and eclipse = eclipse-java-12-R-win32-x86-64.
Project is compiled and able to run the project but in eclipse whenever i am opening any java file facing issue :
An internal error occurred during: "SonarLint processing file lombok/launch/PatchFixesHider$ValPortal /server/com/EmployeeList.java".
lombok/launch/PatchFixesHider$ValPortal
Sonar lint issue
Solution 6:[6]
This propblem was resolved with next version of LOMBOK. Upgread to 1.12 or higher version and rebuild pom.xlm I was upgread to 1.20 and problem dispaired ;)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | alok |
| Solution 2 | Boris |
| Solution 3 | Gaurav kumar |
| Solution 4 | Vikas Shengale |
| Solution 5 | Community |
| Solution 6 | T Filo Zegarlicki |

