-
Notifications
You must be signed in to change notification settings - Fork 0
Description
My Windows (1) username contains a space (it is my full name). This causes a crash in sonarlint, because that space is escaped as '%20' when trying to access objectscriptquality.jar:
[Error - 19:52:54.159] java.lang.IllegalStateException: Unable to load component class org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor
[...]
Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.plugins.objectscript.ObjectScriptSquidSensor
[...]
Caused by: java.lang.ExceptionInInitializerError
[...]
Caused by: java.io.FileNotFoundException: C:\Users\Gertjan%20Klein\.sonarlint\plugins\0062fa34adcd3d1c7cc713ff403adf54\objectscriptquality.jar (Het systeem kan het opgegeven pad niet vinden)
[...]
The Dutch text in that last one says the system can't find the file. I assume the above traceback sufficiently pinpoints the problem; if not, I can copy a full traceback.
I confirmed the '%20' is actually the problem by creating a (literal) directory C:\Users\Gertjan%20Klein, and copying the .sonarlint folder to it. The extension now works.
Kind regards,
Gertjan Klein.