Uploaded image for project: 'SonarLint For IntelliJ'
  1. SonarLint For IntelliJ
  2. SLI-497

Unable to load analyzers with latest EAP 2021.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.14
    • Component/s: None
    • Labels:
      None

      Description

      There is a change in latest 2021.1 EAP that prevent analyzers to be loaded:

      java.lang.IllegalStateException: Fail to copy plugin from URL: jar:/plugins/sonar-kotlin-plugin-1.8.1.1804.jar
      	at org.sonarsource.sonarlint.core.container.standalone.StandalonePluginIndex.getFromCacheOrCopy(StandalonePluginIndex.java:67)
      	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
      	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
      	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
      	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
      	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
      	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
      	at org.sonarsource.sonarlint.core.container.standalone.StandalonePluginIndex.references(StandalonePluginIndex.java:55)
      	at org.sonarsource.sonarlint.core.plugin.PluginInfosLoader.load(PluginInfosLoader.java:68)
      	at org.sonarsource.sonarlint.core.plugin.PluginRepository.start(PluginRepository.java:54)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.sonarsource.sonarlint.shaded.org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
      	at org.sonarsource.sonarlint.shaded.org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
      	at org.sonarsource.sonarlint.core.container.ComponentContainer$1.start(ComponentContainer.java:272)
      	at org.sonarsource.sonarlint.shaded.org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
      	at org.sonarsource.sonarlint.shaded.org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
      	at org.sonarsource.sonarlint.shaded.org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
      	at org.sonarsource.sonarlint.shaded.org.picocontainer.behaviors.Stored.start(Stored.java:110)
      	at org.sonarsource.sonarlint.shaded.org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1016)
      	at org.sonarsource.sonarlint.shaded.org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1009)
      	at org.sonarsource.sonarlint.shaded.org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)
      	at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:125)
      	at org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.start(StandaloneSonarLintEngineImpl.java:65)
      	at org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.<init>(StandaloneSonarLintEngineImpl.java:53)
      	at org.sonarlint.intellij.core.SonarLintEngineFactory.createEngine(SonarLintEngineFactory.java:109)
      	... 108 more
      Caused by: java.io.IOException: no data
      	at com.intellij.util.zip.ImmutableZipEntry.getByteBuffer(ImmutableZipEntry.java:148)
      	at com.intellij.util.zip.ImmutableZipEntry.getInputStream(ImmutableZipEntry.java:139)
      	at com.intellij.util.lang.ZipResourceFile$MyURLConnection.getInputStream(ZipResourceFile.java:230)
      	at java.base/java.net.URL.openStream(URL.java:1140)
      	at org.sonarsource.sonarlint.core.container.standalone.StandalonePluginIndex.getFromCacheOrCopy(StandalonePluginIndex.java:59)
      	... 136 more
      

        Attachments

          Activity

            People

            Assignee:
            julien.henry Julien Henry
            Reporter:
            julien.henry Julien Henry
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: