Sonar task in getting failed

Hi team,
We have this task which is running quite long with out any issues. But suddenly we are facing below error. there is no recent update from sonar server or from the applicaiton end. We are using openjdk8 to build and push.

Task :sonarqube FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:sonarqube’.

org/sonar/batch/bootstrapper/EnvironmentInformation

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Sonar Server: Community Edition Version 7.9.6
Sonar plugin: id ‘org.sonarqube’ version ‘2.7’
command: ./gradlew -b ./build.gradle sonarqube -Dsonar.projectVersion=1.0.0-41 -Dsonar.branch.name=master
We have sonar property in build file which has key and name.

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9.6 → 8.9.9 → 9.6 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

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