SonarLint - SonarLint Issues Location

Please provide

  • Operating system: Windows10
  • IDE name and flavor/env: IBM IDz 14.2.2
  • SonarLint plugin version: 6.2.0
  • Is connected mode used:
    • Connected to SonarCloud or SonarQube (and which version): SonarQube (8.9.6)

And a thorough description of the problem / question:
I’m using SonarLint to analyze Cobol modules. When i try using the “SonarLint Issues Location” feature, i was getting the error message “Unsupported Node Type”. Below is the message from the error log. Please help.

Problems occurred when invoking code from plug-in: "org.eclipse.jface".
java.lang.IllegalStateException: Unsupported node type
                at org.sonarlint.eclipse.ui.internal.views.locations.IssueLocationsView.onTreeNodeSelected(
                at org.sonarlint.eclipse.ui.internal.views.locations.IssueLocationsView.lambda$0(
                at org.sonarlint.eclipse.ui.internal.views.locations.IssueLocationsView$$Lambda$111.00000000100440C0.selectionChanged(Unknown Source)
                at org.eclipse.jface.viewers.StructuredViewer$
                at org.eclipse.ui.internal.JFaceUtil$
                at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(
                at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(
                at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(
                at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(
                at org.eclipse.jface.util.OpenStrategy.access$5(
                at org.eclipse.jface.util.OpenStrategy$1.lambda$1(
                at org.eclipse.jface.util.OpenStrategy$1$$Lambda$ Source)
                at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
                at org.eclipse.swt.widgets.Display.runAsyncMessages(
                at org.eclipse.swt.widgets.Display.readAndDispatch(
                at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
                at org.eclipse.core.databinding.observable.Realm.runWithDefault(
                at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
                at org.eclipse.ui.internal.Workbench$
                at org.eclipse.core.databinding.observable.Realm.runWithDefault(
                at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
                at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
                at org.eclipse.ui.internal.ide.application.IDEApplication.start(
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(
                at java.lang.reflect.Method.invoke(
                at org.eclipse.equinox.launcher.Main.invokeFramework(
                at org.eclipse.equinox.launcher.Main.basicRun(
                at org.eclipse.equinox.launcher.Main.main(

Hi, Please help me with the above issue in the SonarLint - Issues Location view.

Hi @Ramapriya

Can you update to latest SonarLint version first? This should be version 7.3.1. Let me know if you still have the problem.

If you still have it, can you please let us know what is the version of the Eclipse platform IDz 14.2.2 is based on? I guess the info should be available in the “Help → About → Installation Details” dialog.

@Julien_HENRY ,

SonarLint version 6.2.0 is the highest version that is compatible with the IDE (IBM IDz - 14.2.2). The version of the Eclipse Platform is 4.6.3.v20170301-0400

Eclipse 4.6 (Neon) was released in 2016, so this is difficult for us to provide support for such an old version.

In fact this issue has already been fixed in SonarLint 7.1: [SLE-479] "Unsupported node type" error on "empty" issues location view - SonarSource

Can’t you get an updated version of IDz based on a more recent version of Eclipse?

@Julien_HENRY Thanks a lot Julien for checking on the issue. The next version of IDz is based on Eclipse version 4.8.0. Will check for the possibilities from my end. Thanks again

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