Error in SonarLint for IntelliJ Fail to copy plugin

Environment:

  • Java version=11.0.10
  • Java vendor=JetBrains s.r.o.
  • OS name=Linux
  • OS architecture=amd64
  • IDE=IntelliJ IDEA 2021.1 EAP
  • SonarLint version=4.13.0.24781
java.lang.IllegalStateException: java.lang.IllegalStateException: Fail to copy plugin from URL: jar:/plugins/sonar-kotlin-plugin-1.8.1.1804.jar
	at org.sonarlint.intellij.core.SonarLintEngineFactory.createEngine(SonarLintEngineFactory.java:111)
	at org.sonarlint.intellij.core.SonarLintEngineManager.getStandaloneEngine(SonarLintEngineManager.java:129)
	at org.sonarlint.intellij.core.ProjectBindingManager.getFacade(ProjectBindingManager.java:86)
	at org.sonarlint.intellij.core.ProjectBindingManager.getFacade(ProjectBindingManager.java:67)
	at org.sonarlint.intellij.trigger.SonarLintSubmitter.filterWithServerExclusions(SonarLintSubmitter.java:178)
	at org.sonarlint.intellij.trigger.SonarLintSubmitter.filterAndGetByModule(SonarLintSubmitter.java:170)
	at org.sonarlint.intellij.trigger.SonarLintSubmitter.submitFiles(SonarLintSubmitter.java:126)
	at org.sonarlint.intellij.actions.SonarAnalyzeFilesAction.actionPerformed(SonarAnalyzeFilesAction.java:124)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAware$5(ActionUtil.java:269)
	at com.intellij.util.SlowOperations.lambda$allowSlowOperations$0(SlowOperations.java:77)
	at com.intellij.util.SlowOperations.allowSlowOperations(SlowOperations.java:64)
	at com.intellij.util.SlowOperations.allowSlowOperations(SlowOperations.java:76)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:269)
	at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:201)
	at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:174)
	at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:157)
	at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:470)
	at java.desktop/java.awt.Component.processEvent(Component.java:6417)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
1 Like

Thanks for reporting the issue. This seems to come from a change in latest EAP. I have created a ticket to see if we can fix on our side:
https://jira.sonarsource.com/browse/SLI-497

1 Like

Thanks @Julien_HENRY. The ticket appears to be closed. I am not finding an update to the plugin too. What should I do to resolve the issue?

Hello,

The issue is fixed indeed, and we should release a new version by the end of this week.

Damien

1 Like

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

Hello,

The new version has been released. Could you please update and check that it fixed the issue ?

Thanks
Damien

1 Like