SonarLint not working on Eclipse 2018-12 (4.10)


(Clément Honoré) #1

Hi,

I try to install SonarLint 4.1 on Eclipse 2018-12.
Unfortunately the plugin does not start at all.

Everytime I try to go to Preferences > SonaLint I got this error :

Unable to create the selected preference page.
An error occurred while automatically activating bundle org.sonarlint.eclipse.ui (1133). 

And all the View got this error :

  org.eclipse.core.runtime.CoreException: Plug-in org.sonarlint.eclipse.ui was unable to load class org.sonarlint.eclipse.ui.internal.views.issues.OnTheFlyIssuesView.
  	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:216)
  	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:198)
  	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:934)
  	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)
  	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
  	at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:62)
  	at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:104)
  	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPart(CompatibilityPart.java:305)
  	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:343)
  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  	at java.lang.reflect.Method.invoke(Method.java:498)
  	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
  	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:1001)
  	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:966)
  	at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:139)
  	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:411)
  	at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:333)
  	at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:193)
  	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:108)
  	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:77)
  	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:59)
  	at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1015)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:675)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:560)
  	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:544)
  	at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:73)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1015)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:675)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
  	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
  	at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1295)
  	at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:105)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:693)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
  	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
  	at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
  	at org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:140)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:689)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
  	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
  	at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
  	at org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:140)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:689)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
  	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
  	at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
  	at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveRenderer.processContents(PerspectiveRenderer.java:51)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:689)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
  	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
  	at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.showTab(PerspectiveStackRenderer.java:82)
  	at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:105)
  	at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.postProcess(PerspectiveStackRenderer.java:64)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:693)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
  	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
  	at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
  	at org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:140)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:689)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
  	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
  	at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
  	at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.processContents(WBWRenderer.java:665)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:689)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
  	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1099)
  	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
  	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
  	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
  	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:636)
  	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
  	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
  	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
  	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
  	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
  	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
  	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
  	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
  	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  	at java.lang.reflect.Method.invoke(Method.java:498)
  	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
  	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
  	at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
  	at org.eclipse.equinox.launcher.Main.main(Main.java:1474)
  Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.sonarlint.eclipse.ui (1133).
  	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:126)
  	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:557)
  	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:331)
  	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
  	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
  	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
  	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
  	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
  	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  	at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:612)
  	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:196)
  	... 114 more
  Caused by: org.osgi.framework.BundleException: Error starting module.
  	at org.eclipse.osgi.container.Module.doStart(Module.java:597)
  	at org.eclipse.osgi.container.Module.start(Module.java:456)
  	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:471)
  	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
  	... 124 more
  Caused by: java.lang.NoClassDefFoundError: org/sonarlint/eclipse/core/internal/jobs/LogListener
  	at java.lang.Class.getDeclaredConstructors0(Native Method)
  	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
  	at java.lang.Class.getConstructor0(Class.java:3075)
  	at java.lang.Class.newInstance(Class.java:412)
  	at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:766)
  	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:719)
  	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1005)
  	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:357)
  	at org.eclipse.osgi.container.Module.doStart(Module.java:588)
  	... 127 more
  Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.sonarlint.eclipse.core (1130).
  	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:126)
  	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:557)
  	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:331)
  	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
  	at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:39)
  	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
  	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
  	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
  	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
  	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  	... 136 more
  Caused by: org.osgi.framework.BundleException: Exception in org.sonarlint.eclipse.core.internal.SonarLintCorePlugin.start() of bundle org.sonarlint.eclipse.core.
  	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:803)
  	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:732)
  	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1005)
  	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:357)
  	at org.eclipse.osgi.container.Module.doStart(Module.java:588)
  	at org.eclipse.osgi.container.Module.start(Module.java:456)
  	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:471)
  	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
  	... 145 more
  Caused by: java.lang.NoClassDefFoundError: org/sonar/plugins/java/api/CheckRegistrar
  	at java.lang.ClassLoader.defineClass1(Native Method)
  	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
  	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
  	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
  	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
  	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
  	at java.security.AccessController.doPrivileged(Native Method)
  	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
  	at org.sonar.classloader.ClassRealm.loadClassFromSelf(ClassRealm.java:125)
  	at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:37)
  	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
  	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
  	at com.mycompany.myproject.sonar.plugin.XXXJavaRulesPlugin.define(XXXJavaRulesPlugin.java:20)
  	at org.sonarsource.sonarlint.core.container.global.ExtensionInstaller.install(ExtensionInstaller.java:61)
  	at org.sonarsource.sonarlint.core.container.global.GlobalExtensionContainer.doBeforeStart(GlobalExtensionContainer.java:35)
  	at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:123)
  	at org.sonarsource.sonarlint.core.container.storage.StorageContainer.doAfterStart(StorageContainer.java:126)
  	at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:125)
  	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.start(ConnectedSonarLintEngineImpl.java:118)
  	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.<init>(ConnectedSonarLintEngineImpl.java:77)
  	at org.sonarlint.eclipse.core.internal.server.Server.<init>(Server.java:114)
  	at org.sonarlint.eclipse.core.internal.server.ServersManager.loadServersList(ServersManager.java:219)
  	at org.sonarlint.eclipse.core.internal.server.ServersManager.init(ServersManager.java:147)
  	at org.sonarlint.eclipse.core.internal.SonarLintCorePlugin.start(SonarLintCorePlugin.java:98)
  	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:782)
  	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
  	at java.security.AccessController.doPrivileged(Native Method)
  	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:775)
  	... 152 more
  Caused by: java.lang.ClassNotFoundException: org.sonar.plugins.java.api.CheckRegistrar
  	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)
  	... 181 more 

My environnement is as follow :

  • Debian Buster
  • OpenJdk8
  • Eclipse Version: 2018-12 (4.10.0) Build id: 20181214-0600
  • SonarLint for Eclipse 4.1.0.201901311043

I’ve already tried to uninstall the plugin, removing all the files mentionning sonar in the Eclipse folders with no success.

Do you have an idea ?

Thanks for your help.


(Julien Henry) #2

Hi Clément,

This is a custom Java rules plugin that is causing the error:

at com.mycompany.myproject.sonar.plugin.XXXJavaRulesPlugin.define(XXXJavaRulesPlugin.java:20)

What is the version of the SonarJava plugin installed on your SonarQube server?

My guess is that you have an outdated SonarJava plugin, that SonarLint will not load. But because SonarLint still try to load your plugin, you see this error. I will add you case to this ticket to improve the user experience, but the solution is still to update SonarJava.


(Clément Honoré) #3

Oh !

Thank you for pointing me that ! I was focused on the ClassNotFoundException.
We are using an outdated version of the JavaPlugin. We need to update our Sonarqube server version first !

It was my first though but I was thinking that after removing the old configuration file, SonarLint will not try to reconnect to the server and work on standalone mode. I was wrong ^^

Thanks you very much Julien !


(Julien Henry) #4

If you have an old SonarQube and SonarJava version, then you’ll have to use also an old SonarLint version. But indeed upgrading to at least the latest LTS (6.7) and latest SonarJava will give you a lot of new features.


(Clément Honoré) #5

Yes, we are planning to upgrade to the latest version. I’m still waiting for my company to by the license :roll_eyes:

Do you know what can I do to disable connection to the server as I’m not able to access preferences ?

EDIT :
Ok, reinstalling an older version works :slight_smile:

For information, I was able to delete the server configuration with the old plugin and the new one works as intended after that


(Julien Henry) #6

Another option to recover from having unsupported plugin is to completely remove the SonarLint local storage (<eclipse workspace>/.sonarlint/storage/).