This is a known issue in progress of being fixed. SONARJAVA-4917
It should be fixed with SonarQube Server 2025.3, coming later this month.
Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is: