Freezing with latest SonarLint

I can say that with latest version 10.7.0.78874 it is still the issue. Not only idea but laptop was completely frozen for about 30 seconds while SonarLint was analyzing file I was trying to use auto-completion feature from Idea. My auto-completion was frozen, in the bottom I saw SonarLink processing currrent file, and I cannot even move my mouse.

Hi @Mykola_Pavluchynskyi,

Welcome to the community!

What version of SonarLint for IntelliJ are you using?

 
Thx,
Ann

Below are all plugins which are installed, including disabled SonarLint (I disabled it yesterday and will run several days without to check if UI freezes will be gone after that, or it’s some another plugin that is doing this freezes). The biggest amount of issues are from CoPilot, not from Sonar, but it causes issues in own subwindow, not common UI and Ubuntu freeze. But plugin that causes UI and Ubuntu becomes unresponsive for some time I think it’s Sonar.
2024-07-10 20:16:24,939 [ 971] INFO - c.i.i.p.PluginManager - Loaded bundled plugins: IDEA CORE (241.18034.62), Full Line Code Completion (241.18034.62), Emoji Picker (241.18034.62), EditorConfig (241.18034.62), IDE Services / Provisioner API (241.18034.62), Machine Learning in Search Everywhere (241.18034.62), YAML (241.18034.62), Mercurial (241.18034.62), com.intellij.dev (241.18034.62), Diagrams (241.18034.62), Project Wide Analysis (241.18034.62), Shell Script (241.18034.62), FTP/SFTP/WebDAV Connectivity (241.18034.62), Data Editor Support Core (241.18034.62), Refactor-X (241.18034.62), Toml (241.18034.62), WebP Support (241.18034.62), Performance Testing (Warmup) (241.18034.62), Performance Testing (241.18034.62), Protocol Buffers (241.18034.62), JSONPath (241.18034.62), Charts Support (241.18034.62), Configuration Script (241.18034.62), Subversion (241.18034.62), TextMate Bundles (241.18034.62), Images (241.18034.62), HTML Tools (241.18034.62), Copyright (241.18034.62), CSS (241.18034.62), Less (241.18034.62), PostCSS (241.18034.62), Performance Testing (Dynamic Plugins) (241.18034.62), Sass (241.18034.62), JetBrains maven model api classes (241.18034.62), JetBrains Repository Search (241.18034.62), Maven server api classes (241.18034.62), Markdown (241.18034.62), SSH Remote Run (241.18034.62), Terminal (241.18034.62), Properties (241.18034.62), Gradle (241.18034.62), Remote Development Server (241.18034.62), Remote Execution Agent (241.18034.62), Machine Learning Code Completion (241.18034.62), Turbo Complete (241.18034.62), OpenAPI Specifications (241.18034.62), Data Editor Support (241.18034.62), XPathView + XSLT (241.18034.62), Docker (241.18034.62), Kubernetes (241.18034.62), Grazie Lite (241.18034.62), Perforce Helix Core (241.18034.62), LLM Installer (241.18034.62), GitLab (241.18034.62), IDE Features Trainer (241.18034.62), Java (241.18034.62), AOP Pointcut Language (241.18034.62), com.intellij.tracing.ide (241.18034.62), Lombok (241.18034.62), Project Wide Analysis for Java (241.18034.62), Java Bytecode Decompiler (241.18034.62), Java Stream Debugger (241.18034.62), Task Management (241.18034.62), Time Tracking (241.18034.62), JUnit (241.18034.62), Eclipse Interoperability (241.18034.62), Dependency Structure Matrix (241.18034.62), Gradle DSL API (241.18034.62), Java Internationalization (241.18034.62), FreeMarker (241.18034.62), Jakarta EE Platform (241.18034.62), Jakarta EE: Expression Language (EL) (241.18034.62), Apache Velocity (241.18034.62), UI Designer (241.18034.62), Bytecode Viewer (241.18034.62), Java IDE Customization (241.18034.62), Jakarta EE: Contexts and Dependency Injection (CDI) (241.18034.62), Jakarta EE: Messaging (JMS) (241.18034.62), JVM Microservices Frameworks (241.18034.62), Spring Initializr (241.18034.62), Spring Boot (241.18034.62), Spring Messaging (241.18034.62), Spring (241.18034.62), Spring Security (241.18034.62), Spring Cloud (241.18034.62), Spring Integration Patterns (241.18034.62), In-Editor Performance Hints (241.18034.62), Jakarta EE: Server Pages (JSP) (241.18034.62), IntelliLang (241.18034.62), JavaFX (241.18034.62), TestNG (241.18034.62), Code Coverage for Java (241.18034.62), Jakarta EE: Web/Servlets (241.18034.62), Groovy (241.18034.62), HTTP Client (241.18034.62), gRPC (241.18034.62), Quarkus (241.18034.62), Jakarta EE: RESTful Web Services (JAX-RS) (241.18034.62), Shared Indexes (241.18034.62), Settings Sync (241.18034.62), GitHub (241.18034.62), Maven (241.18034.62), OpenRewrite (241.18034.62), Gradle-Java (241.18034.62), Gradle-Java-Analysis (241.18034.62), Gradle Extension (241.18034.62), Reactive Streams (241.18034.62), Jakarta EE: Gradle Integration (241.18034.62), Maven Extension (241.18034.62), Gradle-Maven (241.18034.62), Git (241.18034.62), Webpack (241.18034.62), JavaScript Debugger (241.18034.62), JavaScript and TypeScript (241.18034.62), React (241.18034.62), Stylelint (241.18034.62), Thymeleaf (241.18034.62), Vue.js (241.18034.62), Qodana (241.18034.62), Shared Project Indexes (241.18034.62), Tailwind CSS (241.18034.62), Database Tools and SQL (241.18034.62), Jakarta EE: Application Servers (241.18034.62), Tomcat and TomEE (241.18034.62), Jakarta EE: Persistence (JPA) (241.18034.62), Spring Data (241.18034.62), Flyway (241.18034.62), Liquibase (241.18034.62), Jakarta EE: Reverse Engineering (241.18034.62), Micronaut (241.18034.62), Persistence Frameworks (241.18034.62), Hibernate (241.18034.62), Node.js (241.18034.62), Node.js Remote Interpreter (241.18034.62), TSLint (241.18034.62), Styled Components & Styled JSX (241.18034.62), Polymer & Web Components (241.18034.62), Prettier (241.18034.62), Next.js (241.18034.62), Karma (241.18034.62), JavaScript Intention Power Pack (241.18034.62), Shared Project Caches (241.18034.62), Package Checker (241.18034.62), Jakarta EE: Bean Validation (241.18034.62), Gradle Dependency Updater Implementation (241.18034.62), Spring Web (241.18034.62), Endpoints (241.18034.62), Remote Development Gateway (241.18034.62), Terminal for Gateway (241.18034.62), Dev Containers (241.18034.62), Async Profiler for IDE Performance Testing (241.18034.62), Angular (241.18034.62)
2024-07-10 20:16:24,939 [ 971] INFO - c.i.i.p.PluginManager - Loaded custom plugins: Developer Tools (4.3.0), JBehave Support (1.65.0), Jakarta EE: Web Services (JAX-WS) (241.14494.158), Spring WebSocket (241.14494.158), Concise AssertJ Optimizing Nitpicker (Cajon) (1.14), Test Automation (241.18034.82), Gherkin (241.17011.40), Cucumber for Java (241.14494.158), AsciiDoc (0.42.2), GitHub Copilot (1.5.14.6008), Big Data Tools Core (241.18034.62), Big Data File Viewer (241.14494.158), Remote File Systems (241.18034.62), JPA Buddy (241.15989.21), GraphQL (241.14494.150), .ignore (4.5.3)
2024-07-10 20:16:24,939 [ 971] INFO - c.i.i.p.PluginManager - Disabled plugins: SonarLint (10.7.0.78874), NetBeans Keymap (241.18034.62), WildFly (241.18034.62), Visual Studio Keymap (241.18034.62), Ktor (241.18034.62), Kotlin (241.18034.62-IJ), Code With Me (241.18034.62), Space (241.14494.150), Vite (241.18034.62), Eclipse Keymap (241.18034.62)

Hi,

Thanks for your plugin list. What I’m hoping to confirm is that you’re on a current (hopefully latest) version of the IDE.

 
Thx,
Ann

Yes, latest GA version - IntelliJ IDEA 2024.1.4 (Ultimate Edition)
Build #IU-241.18034.62, built on June 20, 2024
Licensed to XXX
Subscription is active until November 19, 2024.
Runtime version: 17.0.11+1-b1207.24 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.8.0-36-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 8192M
Cores: 16
Registry:
ide.browser.jcef.sandbox.enable=false
ide.images.show.chessboard=true
Non-Bundled Plugins:
dev.turingcomplete.intellijdevelopertoolsplugins (4.3.0)
jbehave-support-plugin (1.65.0)
com.jetbrains.jax.ws (241.14494.158)
com.intellij.spring.websocket (241.14494.158)
de.platon42.cajon (1.14)
com.intellij.aqua (241.18034.82)
gherkin (241.17011.40)
cucumber-java (241.14494.158)
org.asciidoctor.intellij.asciidoc (0.42.2)
com.github.copilot (1.5.14.6008)
com.intellij.bigdatatools.core (241.18034.62)
com.intellij.bigdatatools.binary.files (241.14494.158)
com.intellij.bigdatatools.rfs (241.18034.62)
com.haulmont.jpab (241.15989.21)
com.intellij.lang.jsgraphql (241.14494.150)
mobi.hsz.idea.gitignore (4.5.3)
Kotlin: 241.18034.62-IJ
Current Desktop: ubuntu:GNOME

1 Like

Hi,

Thanks for the confirmation.

I’ve moved this to a new thread, since it’s about latest versions, and pinged the team.

 
Ann

Hi @Mykola_Pavluchynskyi

When this issue happens, if possible(if logs can be obtained before the freeze), could you please provide us with logs and thread dumps:

  • one dump from Intellij
  • one dump for the backend of SonarLint service; That can be done by eg. running jps command from console to find id of the JVM process for SonarLintServerCli and then making a dump with jstack jstack <id>

Thanks. I was running with sonar plugin disabled for 5 days, and didn’t have any episode of freezing. Now I will enabled it back and will try to collect dumps described above (for idea and sonar backend service) at the moment of repeating the freeze

1 Like

Hi @Mykola_Pavluchynskyi, are you using connected mode while analyzing the files?