Unable to run sonarLint - NoClassDefFoundError ReflectionAccessor

sonarlint
(James Render) #1

Unable to run SonarLint plugin on Intellij using JDK11. Plugin information says Java 8 is required, is tha a minimum version or a maximum version?

SonarLint v4.0.2.3009

Intellij details:
IntelliJ IDEA 2019.1.2 (Ultimate Edition)
Build #IU-191.7141.44, built on May 7, 2019
JRE: 11-internal+125 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.4

Exception:
019-05-14 08:58:23,690 [ 375055] WARN - ntellij.analysis.SonarLintTask - Error running SonarLint analysis
java.lang.NoClassDefFoundError: Could not initialize class org.sonarsource.sonarlint.shaded.com.google.gson.internal.reflect.ReflectionAccessor
at org.sonarsource.sonarlint.shaded.com.google.gson.internal.ConstructorConstructor.(ConstructorConstructor.java:51)
at org.sonarsource.sonarlint.shaded.com.google.gson.Gson.(Gson.java:205)
at org.sonarsource.sonarlint.shaded.com.google.gson.GsonBuilder.create(GsonBuilder.java:597)
at org.sonarsource.sonarlint.core.telemetry.TelemetryStorage.createGson(TelemetryStorage.java:67)
at org.sonarsource.sonarlint.core.telemetry.TelemetryStorage.save(TelemetryStorage.java:47)
at org.sonarsource.sonarlint.core.telemetry.TelemetryStorage.trySave(TelemetryStorage.java:55)
at org.sonarsource.sonarlint.core.telemetry.TelemetryManager.saveNow(TelemetryManager.java:143)
at org.sonarsource.sonarlint.core.telemetry.TelemetryManager.mergeAndSave(TelemetryManager.java:132)
at org.sonarsource.sonarlint.core.telemetry.TelemetryManager.analysisDoneOnSingleLanguage(TelemetryManager.java:114)
at org.sonarlint.intellij.telemetry.SonarLintTelemetryImpl.analysisDoneOnSingleFile(SonarLintTelemetryImpl.java:107)
at org.sonarlint.intellij.analysis.SonarLintAnalyzer.analyzeModule(SonarLintAnalyzer.java:109)
at org.sonarlint.intellij.analysis.SonarLintTask.analyze(SonarLintTask.java:176)
at org.sonarlint.intellij.analysis.SonarLintTask.run(SonarLintTask.java:100)
at org.sonarlint.intellij.analysis.SonarLintUserTask.run(SonarLintUserTask.java:39)
at org.sonarlint.intellij.analysis.SonarLintJobManager.lambda$null$1(SonarLintJobManager.java:120)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:586)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:86)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
at org.sonarlint.intellij.analysis.SonarLintJobManager.lambda$runTask$2(SonarLintJobManager.java:120)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)