And a thorough description of the problem / question:
After upgrading to version 10.1.0.77128, the idea interface suddenly stuck a few times in two hours
Same experience here running on a Mac. Have already killed the process several times. Haven’t seen a pattern yet only that the SonarLint analysis hangs and renders the IDE useless.
This is on Window 10, Plugin-Version 10.1.0.77128, IntelliJ 2023.2.2, U-232.9921.47, from 12.09.23
Programming in Java
Connected to SonarCube Community EditionVersion 9.9.2 (build 77730).
Log is:
No VCS repository found for module Module: 'dts-parent'
[SYNC] Synchronizing issues for project 'VirtualConsulting' on branch 'develop'
[SYNC] Synchronizing taint issues for project 'VirtualConsulting' on branch 'develop'
Downloaded plugin list in 92ms
[SYNC] Synchronizing analyzer configuration for project 'VirtualConsulting'
Downloaded settings in 109ms
[SYNC] Active rules for 'cloudformation' are up-to-date
[SYNC] Active rules for 'css' are up-to-date
[SYNC] Active rules for 'docker' are up-to-date
[SYNC] Active rules for 'java' are up-to-date
[SYNC] Active rules for 'js' are up-to-date
[SYNC] Active rules for 'kotlin' are up-to-date
[SYNC] Active rules for 'kubernetes' are up-to-date
[SYNC] Active rules for 'php' are up-to-date
[SYNC] Active rules for 'py' are up-to-date
[SYNC] Active rules for 'ruby' are up-to-date
[SYNC] Active rules for 'scala' are up-to-date
[SYNC] Active rules for 'secrets' are up-to-date
[SYNC] Active rules for 'terraform' are up-to-date
[SYNC] Active rules for 'ts' are up-to-date
[SYNC] Active rules for 'web' are up-to-date
[SYNC] Active rules for 'xml' are up-to-date
[SYNC] Active rules for 'yaml' are up-to-date
[SYNC] Synchronizing project branches for project 'VirtualConsulting'
Unsupported mode of new code definition:
Using connection 'SonarQube' for project 'VirtualConsulting'
Analysing 'td.md'...
Using connection 'SonarQube' for project 'VirtualConsulting'
Analysing 4 files...
Using connection 'SonarQube' for project 'VirtualConsulting'
Analysing 'DialogExpressionContext.java'...
Found 146 issues and 5 hotspots
Using connection 'SonarQube' for project 'VirtualConsulting'
Analysing 4164 files...
Using connection 'SonarQube' for project 'VirtualConsulting'
Analysing 969 files...
Using connection 'SonarQube' for project 'VirtualConsulting'
Analysing 435 files...
Using connection 'SonarQube' for project 'VirtualConsulting'
Analysing 352 files...
Found 8251 issues and 156 hotspots
At the end SonarLint switches to Report tab. I open the first issue in the first file and double click.
File opens in editor.
Freeze occurs exactly when I start typing. Cursor still blicking until I type a first character.
Thank you very much for reporting this problem. I created this ticket and already started working on it. We take UI freezes seriously as we don’t want to get in the way of developers, so my goal is to release a bugfix version as soon as possible. I will post updates on this thread.
Special thanks to @AlexisKyaw, the thread dumps are really useful!
Hi again,
I prepared a fix and before releasing it publicly, I would appreciate if one of you could install this build and quickly check if you still face UI freezes. Thanks!
Freeze for 40 seconds
IDE KILLED! Sampled time: 29800ms, sampling rate: 100ms, GC time: 47ms (0%), Class loading: 0%, cpu load: 5%
The stack is from the thread that was blocking EDT
c.ij.diagnostic.Freeze
at o.sl.ij.finding.persistence.LiveFindingCache.getLive(LiveFindingCache.java:123)
at o.sl.ij.finding.persistence.FindingsCache.lambda$getFindingsForFile$0(FindingsCache.java:76)
at o.sl.ij.finding.persistence.FindingsCache$$Lambda$8198/0x0000000803099588.apply(Unknown Source)
at java.base@17.0.9/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@17.0.9/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
at java.base@17.0.9/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base@17.0.9/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base@17.0.9/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base@17.0.9/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base@17.0.9/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at o.sl.ij.finding.persistence.FindingsCache.getFindingsForFile(FindingsCache.java:79)
at o.sl.ij.ui.traffic.light.SonarLintTrafficLightAction.updatePresentation(SonarLintTrafficLightAction.kt:57)
at o.sl.ij.actions.AbstractSonarAction.update(AbstractSonarAction.java:67)
We just released a new version on the Marketplace, feel free to update and let us know if the freezes are gone. We apologize for the inconvenience and thank you all for reporting here.