And a thorough description of the problem / question:
After upgrading the SonarQube for IDE plugin from 10.13.1.80133 to 10.14.0.80203, the SonarQube plugin spawns up a java process that creates a java applet icon in my mac dock bar (after the IDE finishes loading).
I’m guessing there’s a flag that got missed recently to not create the java icon when starting up the java process for the plugin.
Rolling back to 10.13.1.80133 gets rid of the dock icon.
Hey @Kyle, I apologize for the late reply! It’s definitely something we are unaware of, I suspect this might be specific to MacOS. Could you share a screenshot of what you see?
Can you gather more info about this new process? Since version 10.4 (almost a year ago), we have usually run SQ:IDE in a separate process from the IDE. Our process runs under the name SonarLintServerCli, but it should not be visible.
Sorry for my own late delay. Geoffrey included a screenshot that was identical to what I am experiencing.
I tried passing in the -Dapple.awt.UIElement=true to my Intellij IDE JVM settings (and restarting), but it doesn’t appear to have made a difference. (in my idea.vmoptions file)
I’ve rolled back the plugin again to make it go away for now.
I tried passing in the -Dapple.awt.UIElement=true to my Intellij IDE JVM settings (and restarting), but it doesn’t appear to have made a difference. (in my idea.vmoptions file)
We will investigate this issue in the coming weeks. In the meantime, could you also try with -Djava.awt.headless=true?
Adding -Djava.awt.headless=true to my idea.vmoptions actually causes my entire IDE to be headless when it starts up. So it might be solving the problem of hiding the Sonar java process, but it’s also hiding everything else.
Super, thank you for your feedback and for trying this workaround. We will proceed with further testing and will likely ship a fix in the next version. We will keep you updated.
Super, thank you for quickly letting us know that your issue is resolved. If you enjoy using SonarQube for IDE, feel free to leave a review on our plugin page!
The only things that might make my machine different are:
Using corretto-21 (java 21.0.5) as my project JVM
Kotlin with language level 22
Using the K2 Kotlin plugin (-Didea.kotlin.plugin.use.k2=true)
Everything else seems standard.
Operating system: MacOS 15.2
SonarQube for IDE plugin version: 10.15.0.80347
IntelliJ version: Build #IU-243.22562.218, built on December 18, 2024 (2024.3.1.1)
Programming language you’re coding in: Kotlin
Is connected mode used: Connected to SonarCloud
Oh. There is one thing that I just remembered. I’m starting my IDE through a command window to launch it under a different process thread because there is a different Intellij/Gradle bug that I’m working around.