Sonarlint prompts internal error

There is nothing in the panel, and clicking the button will prompt an internal error in the lower right corner
May I ask what is causing this, can anyone help me? After the first installation, it was successfully started, but after I accidentally clicked some buttons on the warning, nothing was prompted. I hope some kind people can help me solve this problem. thank you very much

Hello, welcome to the community! And thank you for reporting this.

Could you please have a look at the SonarLint Output and paste here (enclosed in a code block with ```) any error message/stack trace?

You can reach it through the command palette (Ctrl+Shift+P, “SonarLint: Show SonarLint Output”).

If there is nothing in the SonarLint Output, you might want to try to look at VSCode’s developer console (Ctrl+Shift+I, or “Help > Toggle Developer Tools”).

Also, it would be nice if you can provide:

  • Your OS and version (looks like Windows from your screenshots)
  • The versions of VSCode and SonarLint
  • The vendor and version of the JRE that is used to run SonarLint’s Language Server

Hello, thanks for coming to help, my system is Windows, the editor used is Visual Studio code, the following part is the output information of SonarLint:

[Info  - 22:37:43.054] Started security hotspot handler on port 64120
[Error - 22:37:43.493] Error starting standalone SonarLint engine
[Error - 22:37:43.495] java.lang.IllegalStateException: Unable to read plugin manifest from jar : C:\Users\27322\.sonarlint\plugins\72aa920901457ef288c793b1c87f64ca\sonarjava.jar
    at org.sonarsource.sonarlint.core.plugin.PluginManifest.<init>(
    at org.sonarsource.sonarlint.core.plugin.PluginInfo.create(
    at org.sonarsource.sonarlint.core.plugin.PluginInfosLoader.loadPlugins(
    at org.sonarsource.sonarlint.core.plugin.PluginInfosLoader.load(
    at org.sonarsource.sonarlint.core.plugin.PluginRepository.start(
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.base/java.lang.reflect.Method.invoke(
    at org.sonarsource.sonarlint.core.container.ComponentContainer$1.start(
    at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(
    at org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.start(
    at org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.<init>(
    at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(
    at java.base/java.util.concurrent.CompletableFuture$Completion.exec(
    at java.base/java.util.concurrent.ForkJoinTask.doExec(
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(
    at java.base/java.util.concurrent.ForkJoinPool.scan(
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(
    at java.base/
Caused by: zip END header not found
    at java.base/$Source.zerror(
    at java.base/$Source.findEND(
    at java.base/$Source.initCEN(
    at java.base/$Source.<init>(
    at java.base/$Source.get(
    at java.base/$CleanableResource.<init>(
    at java.base/$CleanableResource.get(
    at java.base/<init>(
    at java.base/<init>(
    at java.base/java.util.jar.JarFile.<init>(
    at java.base/java.util.jar.JarFile.<init>(
    at java.base/java.util.jar.JarFile.<init>(
    at org.sonarsource.sonarlint.core.plugin.PluginManifest.<init>(
    ... 33 more

Vendor and version of JRE:
java jdk-11.0.13

Thank you, that was quick :slight_smile:

It looks like the Java analyzer’s JAR file got corrupted somehow. Could you please try to:

  • Close VSCode
  • Delete folder C:\Users\27322\.sonarlint\plugins
  • Restart VSCode

I believe this should fix the issue, by forcing SonarLint to re-extract the required JAR files.

1 Like

Because I was very anxious, there was no answer in the Internet search, so I waited for a reply online and solved it according to the method you gave! Thank you very much! ! ! :heart:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.