MalformedURLException on 'Open description' link

Please provide

  • Operating system:
    Windows 11
  • SonarLint plugin version:
  • Programming language you’re coding in:
  • Is connected mode used:
    • Connected to SonarCloud or SonarQube (and which version):

And a thorough description of the problem / question:
Eclipse set to use internal browser
Eclipse told to use ‘Edge’ using ‘-Dorg.eclipse.swt.browser.DefaultType=edge’
Hover over a SonarLint tagged item and click on the ‘Open description’ link.

The ‘SonarLint Rule’ view opens up and a stacktrace appears in the ‘SonarLint Console’:

Starting SonarLint for Eclipse
Starting SonarLint engine for connection ''...
SonarLint analysis of project aap-to-sis-service (2 files processed)...
Starting standalone SonarLint engine
Started embedded server on port 64120
Found 29 issue(s)
The project 'aap-to-sis-service' is not bound either SonarQube or SonarCloud
Unable to open external browser unknown protocol: data
	at java.base/<init>(
	at java.base/<init>(
	at java.base/<init>(
	at org.sonarlint.eclipse.ui.internal.util.BrowserUtils.lambda$0(
	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.lambda$3(
	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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.base/java.lang.reflect.Method.invoke(
	at org.eclipse.equinox.launcher.Main.invokeFramework(
	at org.eclipse.equinox.launcher.Main.basicRun(

Hi @gnl42,

thanks for reaching out. The SonarLint Rule Description view internally uses a web browser (based on the Eclipse configuration, in your case MS Edge) to render the HTML rule.

It appears to me (as I cannot reproduce it, as I don’t have access to a Windows machine, and testing on macOS against Safari, Chrome, and Firefox did not show the issue) that MS Edge is the limitation.

What happens when you configure Eclipse to use another browser for the rendering? In the meantime, I try to get access to Windows to reproduce the issue (if possible and find the root cause).

What flavor and version of Eclipse are you using?


Hi Tobias,

Changing the browser to an external one made no difference.

Its Eclipse for developers, 2023-12

Hi @gnl42,

thanks for the Info. As soon as possible I’ll try with a Windows machine.
In the meantime, I’ve played around with the SonarLint Rule Description view, if we can use another protocol other than the data protocol to communicate but with no success so far.

The rework of the SonarLint Rule Description view is on our agenda as a specific ticket HERE but it has not been prioritized yet. In the long run, we want to get rid of using browsers that are not only platform-specific but as you can see very faulty to rely on.

I’ll ping you on how we proceed once I spend some time with a Windows machine trying to recreate the issue.