a) you are using Java 7 (1.7) and not Java 17 in your settings.json! This is quiet outdated and out of support. You can still build your code with Java 7 and analyze with Java 17 - see the docs. But probably you should try to update the Java version of your application to a current LTS of OpenJDK, as Java 7 had its EOL in July 2022.
b) Only the latest version of SonarQube Community Build is considered active, so you’ll need to upgrade and see if the situation is still replicable before we can help you.