java.lang.IllegalStateException

Unable to register extension org.sonar.plugins.javascript.JavaScriptSquidSensor

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web37

Stack trace

  • java.lang.IllegalStateException: Unable to register extension org.sonar.plugins.javascript.JavaScriptSquidSensor at org.sonarsource.sonarlint.core.container.ComponentContainer.addExtension(ComponentContainer.java:234) at org.sonarsource.sonarlint.core.container.global.ExtensionInstaller.doInstall(ExtensionInstaller.java:91) at org.sonarsource.sonarlint.core.container.global.ExtensionInstaller.install(ExtensionInstaller.java:54) at org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.addBatchExtensions(AnalysisContainer.java:130) at org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.doBeforeStart(AnalysisContainer.java:71) at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:123) at org.sonarsource.sonarlint.core.container.ComponentContainer.execute(ComponentContainer.java:110) at org.sonarsource.sonarlint.core.container.storage.StorageGlobalContainer.analyze(StorageGlobalContainer.java:134) at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.analyze(ConnectedSonarLintEngineImpl.java:156) at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.analyze(ConnectedSonarLintEngineImpl.java:145) at org.sonarlint.eclipse.core.internal.server.Server.startAnalysis(Server.java:180) at org.sonarlint.eclipse.core.internal.jobs.AnalyzeProjectJob$1.run(AnalyzeProjectJob.java:374) Caused by: java.lang.NoClassDefFoundError: Lorg/sonar/api/checks/NoSonarFilter; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2583) at java.lang.Class.getDeclaredFields(Class.java:1916) at org.picocontainer.injectors.AdaptingInjection$2.run(AdaptingInjection.java:217) at java.security.AccessController.doPrivileged(Native Method) at org.picocontainer.injectors.AdaptingInjection.injectionFieldAnnotated(AdaptingInjection.java:209) at org.picocontainer.injectors.AdaptingInjection.fieldAnnotatedInjectionAdapter(AdaptingInjection.java:188) at org.picocontainer.injectors.AdaptingInjection.createComponentAdapter(AdaptingInjection.java:57) at org.picocontainer.behaviors.AbstractBehaviorFactory.createComponentAdapter(AbstractBehaviorFactory.java:44) at org.picocontainer.behaviors.OptInCaching.createComponentAdapter(OptInCaching.java:45) at org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer.java:536) at org.picocontainer.DefaultPicoContainer.access$300(DefaultPicoContainer.java:84) at org.picocontainer.DefaultPicoContainer$AsPropertiesPicoContainer.addComponent(DefaultPicoContainer.java:1149) at org.sonarsource.sonarlint.core.container.ComponentContainer.addExtension(ComponentContainer.java:232) ... 11 more Caused by: java.lang.ClassNotFoundException: org.sonar.api.checks.NoSonarFilter at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39) at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87) at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76) ... 25 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,