Not able to upgrade Sonarqube from 8.9.10 LTS to 9.9 LTS

Make sure to tell us:

  • What version are you upgrading from? 8.9.10 Community Edition
  • System information (Operating system, Java version, Database provider/version) : centos7.9 - jdk 17.0.5 - Postgresql 12.11
  • What’s the issue you’re facing?
    Trying to upgrade from 8.9.10 to 9.9 LTS. Have a feeling plugins causing issues. I tried to match plugins with the Plugin Version Matrix but still having issues, the plugin versions when upgrading are as below: could you please advise if they are compatible or not?
    aamrules 1.6
    groovy plugin 1.8
    pmd plugin 3.4.0
    fxcop 1.4.2 snapshot2
    findbugs 4.2.3
    Swift 0.4.6 (however some says this is now built in but is that only developer and enterprise versions?)
    Checkstyle-plugin 10.9.3
    Community-branch plugin 1.14.0
    Powershell plugin 0.5.1
    AstUiPath plugin 1.2


ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@2f333739-org.sonar.server.rule.RegisterRules': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: 'org.sonar.api.server.rule.RulesDefinition$NewRule org.sonar.api.server.rule.RulesDefinition$NewRule.setDebtSubCharacteristic(java.lang.String)'










        at org.sonar.core.platform.SpringComponentContainer.startComponents(

        at org.sonar.server.platform.platformlevel.PlatformLevel.start(

        at org.sonar.server.platform.platformlevel.PlatformLevelStartup.access$001(

        at org.sonar.server.platform.platformlevel.PlatformLevelStartup$1.doPrivileged(

       at org.sonar.server.user.DoPrivileged.execute(

        at org.sonar.server.platform.platformlevel.PlatformLevelStartup.start(

        at org.sonar.server.platform.PlatformImpl.executeStartupTasks(

        at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.runIfNotAborted(

        at org.sonar.server.platform.PlatformImpl$1.doRun(

        at org.sonar.server.platform.PlatformImpl$

        at java.base/

Caused by: java.lang.NoSuchMethodError: 'org.sonar.api.server.rule.RulesDefinition$NewRule org.sonar.api.server.rule.RulesDefinition$NewRule.setDebtSubCharacteristic(java.lang.String)'

        at org.sonar.squidbridge.rules.SqaleXmlLoader.processRule(

        at org.sonar.squidbridge.rules.SqaleXmlLoader.processSubChar(

        at org.sonar.squidbridge.rules.SqaleXmlLoader.processRoot(

        at org.sonar.squidbridge.rules.SqaleXmlLoader.loadXmlResource(

        at org.sonar.squidbridge.rules.SqaleXmlLoader.load(

        at org.sonar.plugins.fxcop.CSharpFxCopProvider$CSharpFxCopRulesDefinition.lambda$0(

        at org.sonar.plugins.fxcop.FxCopRulesDefinition.define(

        at org.sonar.server.rule.RuleDefinitionsLoader.load(

        at org.sonar.server.rule.RegisterRules.start(

        at org.sonar.core.platform.StartableBeanPostProcessor.postProcessBeforeInitialization(




        ... 19 common frames omitted


Yup. This is related to plugins:

Since you couldn’t match up all the plugins in the plugin version matrix, I’d start with none of them loaded and add them one by one.


Thank you Ann for your reply. We managed to get the plugin issues sorted and that was helpful. However now that we are on 9.9 reporting issues with:
The last project Anlysis on this project (origin/master) failed and the Error is
Current edition does not support branch feature.
Comparing release notes between Community edition 8.9 (previous build we were on) and 9.9 (community edition) I cant see any diffs except the default main branch name changed form master to main that I set it back to master. But still having trouble. could you please help with this?
Thank you


A new question deserves a new thread. :slight_smile:

And it’s quick enough to tell you that Community Edition doesn’t support branches, just like error says. If you have further questions, please create a new thread.