Git inner files are locked (again)

Environment:

  • Operating system: Windows 11 Enterprise 24H2
  • SonarQube for IntelliJ plugin version: until (at least) 11.6.0 to (latest when writing): 11.12.0.84088
  • IntelliJ version: 2025.3.2
  • Programming language you’re coding in: Java, TypeScript
  • Is connected mode used:
    • SonarQube Server: Enterprise Edition - 9.9.8

A thorough description of the problem:

The problem is the (almost) exact same as the one explained in my previous post: Git inner files are locked.
The main difference is that is is triggered when amending a commit and chaining the gc command after. i.e. git commit --amend --not-edit && git gc --aggressive --prune=now
(Note: I recommend to make an effective file change in the amend to see the problem)

Then what I’m asking is:

  1. a correction (once again)
  2. an anti-regression test verifying that the files are not locked by the plugin (I understand that you want to read them).

Thanking you in advance for the fix. :folded_hands:

Hi,

Your version is past EOL. You should update to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your update path is:

9.9.8 → 2025.1.4 → 2026.1

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after update, please come back to us.

 
Ann

Hello,

The error is not based on the server, but on the behaviour of the plugin itself.
I provided the server version, because it’s an asked datum, but it’s clearly not directly related, because, as explained in the 1st ticket, the (forced) shutdown on the JVM running the plugin removes the lock on the Git files…

Stop me if I’m wrong :smile:

Hi,

Sorry, you’re right. You still need to upgrade your server :sweat_smile:

But the main issue here is SonarQube for IDE, which is up to date. So I’ve flagged this for the team.

 
Ann

1 Like

Hey @GBlaise, could you please share the full verbose logs of SonarQube for IDE?

We are going to have a look at this issue and will keep you up-to-date, we haven’t received any similar requests since last time.

Thanks!

I identified a potential root cause for this problem, and will provide a fix for our next version. I’ll also ensure it does not happen again - although the issue is not straightforward to reproduce.

We’d still appreciate the logs in case it could help us further investigate, thanks!

1 Like

Thank you Ann for the changes. :folded_hands:

About the server version, unfortunately, in cannot do anything about it, I’m just a “small developer in a big society”, and I do not administrate the applications (our Sonar included). :neutral_face:

Nicolas: Here are the logs. And thank you for the fix :folded_hands::folded_hands::folded_hands:

2026-02-06 SonarLint IDE logs.txt (51.5 KB)

1 Like