Hello,
Sorry for the very late response. We made quite a few releases since your posts, do you still face the problem with the latest release?
Hello,
Sorry for the very late response. We made quite a few releases since your posts, do you still face the problem with the latest release?
I just starting getting this issue with plugin version 10.16.1.80464 in IntelliJ. I did not experience it with the previous version. By previous version i mean 10.15.0.80347, this is the most recent version I have been able to get working.
It just says the following in the log, and then hangs forever as far as I can tell:
Analysing ‘filename.java’ (ID d7448290-3662-451b-a177-ae22814d557d)…
Hi @tleinonen,
Welcome to the community!
Could you enable debug logging and see if that produces anything useful?
Thx,
Ann
Hi again,
Additionally, a thread dump would be ideal here:
jps
command from console to find id
of the JVM process for SonarLintServerCli
and then making a dump with jstack jstack <id>
Thx again,
Ann
I got this in the log
java.nio.file.FileSystemException: /Users/me/.sonarlint/telemetry/idea/usage/cache: Not a directory
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:100)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
the folder “usage” mentioned in this log, was not a folder but a file. Once I deleted the “usage” file, it started working.
This is on a Mac by the way, if that makes a difference.
Hi,
Thanks for the log. Could you give us a thread dump?
Thx,
Ann
I don’t have the problem anymore after deleting the “usage” file that the plugin expected to be a folder. You should be able to reproduce it yourself, by just deleting the “usage” folder and re-creating it as a file.
Hello @tleinonen,
Thanks for reporting back. The problem that you reported about the usage
file is fixed already, and should be part of the release next week. Let us know if you experience hanging tasks again
Great to hear, looking forward to the fix.