Sonarlint Internal Error: LicensedPluginRegistration

Hello,

Does anyone of you encountered the error below when analyzing files in Sonarlint?
Please advise. Thank You.

An internal error occurred during: “Analyze all files”.
com/sonarsource/plugins/license/api/LicensedPluginRegistration

regards,
Lea

Hi Lea,

What is the version of SonarLint you are using?

I guess you are using connected mode. What is the version of the server, and the plugin installed on it (call /api/plugins/installed to get the list)?

++

Hi Julien,

Thanks for quick reply.
Yes, we’re using connected mode.

Server version: Sonarqube Version 6.7.5 (build 38563)
Sonarlint for eclipse: 3.3.1.201712071600
Eclipse Luna 4.4.2

Plugins Installed:

  1. sonar-android-plugin-1.1.jar
  2. apex-plugin-1.0b175.jar
  3. sonar-bitbucket-plugin-1.2.0.jar
  4. sonar-branch-plugin-1.0.0.507.jar
  5. sonar-build-breaker-plugin-1.1.jar
  6. sonar-css-plugin-3.1.jar
  7. checkstyle-sonar-plugin-4.11.jar
  8. sonar-clirr-plugin-1.3.jar
  9. sonar-cobertura-plugin-2.0.jar
  10. sonar-salesforce-plugin-4.0.5.jar
  11. sonar-dependency-check-plugin-1.0.3.jar
  12. sonar-eslint-plugin-0.2.0.jar
  13. sonar-findbugs-plugin-3.7.0.jar
  14. sonar-scm-git-plugin-1.4.1.1128.jar
  15. sonar-github-plugin-1.4.2.1027.jar
  16. sonar-governance-plugin-2.0.3.jar
  17. sonar-groovy-plugin-1.5.jar
  18. sonar-json-plugin-2.1.jar
  19. sonar-jproperties-plugin-2.5-SNAPSHOT.jar
  20. sonar-ldap-plugin-2.2.0.608.jar
  21. sonar-license-plugin-3.4.jar
  22. sonar-motion-chart-plugin-1.7.jar
  23. sonar-pmd-plugin-2.6.jar
  24. sonar-pitest-plugin-0.9.jar
  25. sonar-scala-plugin-0.0.3.jar
  26. sonar-abap-plugin-3.7.0.1603.jar
  27. sonar-csharp-plugin-7.8.0.7320.jar
  28. sonar-cfamily-plugin-5.1.1.10386.jar
  29. sonar-cobol-plugin-4.3.0.3019.jar
  30. sonar-flex-plugin-2.4.0.1222.jar
  31. sonar-html-plugin-3.0.1.1444.jar
  32. sonar-javascript-plugin-5.0.0.6962.jar
  33. sonar-java-plugin-5.9.1.16423.jar
  34. sonar-php-plugin-2.15.0.4060.jar
  35. sonar-plsql-plugin-3.3.0.2273.jar
  36. sonar-python-plugin-1.10.0.2131.jar
  37. sonar-swift-plugin-4.0.0.2853.jar
  38. sonar-typescript-plugin-1.8.0.3332.jar
  39. sonar-tsql-plugin-1.3.0.2899.jar
  40. sonar-vbnet-plugin-7.8.0.7320.jar
  41. sonar-xml-plugin-1.5.1.1452.jar
  42. sonar-sonargraph-plugin-3.5.jar
  43. sonar-scm-svn-plugin-1.8.0.1168.jar
  44. sonar-tab-metrics-plugin-1.4.1.jar
  45. sonar-timeline-plugin-1.4.jar

Hi Lea,

Sorry for the late reply. You have too many plugins (and some of them are from third party distributors) that it will be hard for me to investigate. Maybe you could look at Eclipse error logs to get a more detailed stacktrace.

Another idea would be to use a test instance, and add plugins one by one until you find the offending one.

++

Thanks for the update Julien.
I tried to update the Sonarlint from version 3.3.1 to 3.6.0 and fixed the issue.

Thanks,
Lea