Git inner files are locked

Please provide

  • Operating system: Windows 11 Entreprise, Version 23H2
  • SonarLint plugin version: 10.13.1.80133
  • IntelliJ version: 2024.3.1 aka “Build #IU-243.22562.145”
  • Programming language you’re coding in: Java
  • Is connected mode used:
    • Connected to SonarQube: Enterprise Edition v10.6 (92116)

When running command git gc --aggressive --prune=now, a message pop in the command line saying that one of the pack files is locked: Unlink of file '.git/objects/pack/pack-[…].pack' failed. Should I try again? (y/n).
Responding y doesn’t work, it’s still locked up.
Then unlocking the file with a tool (File Locksmith of the PowerToys suite in my case) shows a java.exe process locking the file.
And, finally, killing the process shows an eror pop-up in IJ:
{B1C254B3-FDC8-4222-B319-E14F9A0C67EE}

This behaviour is new and occurs only until the last upgrade of the plugin.

Hello @GBlaise, sorry for the late reply on this.

Could you please update to the latest version of SonarQube for IDE and see if you still reproduce the issue?

Hello,
Sorry for the (very) late answer.

The issue is solved on my side, thank you very much :folded_hands:

Thank you for your confirmation, I’m glad that your issue is fixed. If you enjoy SonarQube for IDE, feel free to leave a review on our marketplace page, it’s always appreciated!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.