java.lang.NoSuchMethodError: org.sonar.api.platform.ServerFileSystem.getExtensions(Ljava/lang/String;[Ljava/lang/String;)Ljava/util/List;

GitHub | ercpe | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Sonar 6.0 update database migration fails with NoSuchMethodError

    GitHub | 5 months ago | ercpe
    java.lang.NoSuchMethodError: org.sonar.api.platform.ServerFileSystem.getExtensions(Ljava/lang/String;[Ljava/lang/String;)Ljava/util/List;
  2. 0

    0.9.6 is not compatible with sonarqube 6.0

    GitHub | 5 months ago | sat4j
    java.lang.NoSuchMethodError: org.sonar.api.platform.ServerFileSystem.getExtensions(Ljava/lang/String;[Ljava/lang/String;)Ljava/util/List;
  3. 0

    Incompatible with sonar 6.0

    GitHub | 7 months ago | guoxiao
    java.lang.NoSuchMethodError: org.sonar.api.platform.ServerFileSystem.getExtensions(Ljava/lang/String;[Ljava/lang/String;)Ljava/util/List;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.sonar.api.platform.ServerFileSystem.getExtensions(Ljava/lang/String;[Ljava/lang/String;)Ljava/util/List;

      at org.sonar.plugins.cxx.utils.CxxAbstractRuleRepository.define()
    2. org.sonar.plugins
      CxxAbstractRuleRepository.define
      1. org.sonar.plugins.cxx.utils.CxxAbstractRuleRepository.define(CxxAbstractRuleRepository.java:68)[na:na]
      1 frame
    3. org.sonar.server
      RegisterRules.start
      1. org.sonar.server.rule.RuleDefinitionsLoader.load(RuleDefinitionsLoader.java:54)[sonar-server-6.0.jar:na]
      2. org.sonar.server.rule.RegisterRules.start(RegisterRules.java:97)[sonar-server-6.0.jar:na]
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_102]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_102]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_102]
      4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_102]
      4 frames
    5. PicoContainer Core
      ReflectionLifecycleStrategy.start
      1. org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)[picocontainer-2.15.jar:na]
      2. org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)[picocontainer-2.15.jar:na]
      2 frames
    6. org.sonar.core
      ComponentContainer$1.start
      1. org.sonar.core.platform.ComponentContainer$1.start(ComponentContainer.java:320)[sonar-core-6.0.jar:na]
      1 frame
    7. PicoContainer Core
      DefaultPicoContainer.start
      1. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)[picocontainer-2.15.jar:na]
      2. org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)[picocontainer-2.15.jar:na]
      3. org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)[picocontainer-2.15.jar:na]
      4. org.picocontainer.behaviors.Stored.start(Stored.java:110)[picocontainer-2.15.jar:na]
      5. org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1016)[picocontainer-2.15.jar:na]
      6. org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1009)[picocontainer-2.15.jar:na]
      7. org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)[picocontainer-2.15.jar:na]
      7 frames
    8. org.sonar.core
      ComponentContainer.startComponents
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:141)[sonar-core-6.0.jar:na]
      1 frame
    9. org.sonar.server
      PlatformDatabaseMigration.doDatabaseMigration
      1. org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:84)[sonar-server-6.0.jar:na]
      2. org.sonar.server.platform.platformlevel.PlatformLevelStartup.access$001(PlatformLevelStartup.java:45)[sonar-server-6.0.jar:na]
      3. org.sonar.server.platform.platformlevel.PlatformLevelStartup$1.doPrivileged(PlatformLevelStartup.java:80)[sonar-server-6.0.jar:na]
      4. org.sonar.server.user.DoPrivileged.execute(DoPrivileged.java:44)[sonar-server-6.0.jar:na]
      5. org.sonar.server.platform.platformlevel.PlatformLevelStartup.start(PlatformLevelStartup.java:77)[sonar-server-6.0.jar:na]
      6. org.sonar.server.platform.Platform.executeStartupTasks(Platform.java:201)[sonar-server-6.0.jar:na]
      7. org.sonar.server.platform.Platform.doStart(Platform.java:114)[sonar-server-6.0.jar:na]
      8. org.sonar.server.platform.Platform.doStart(Platform.java:99)[sonar-server-6.0.jar:na]
      9. org.sonar.server.db.migrations.PlatformDatabaseMigration.doRestartContainer(PlatformDatabaseMigration.java:133)[sonar-server-6.0.jar:na]
      10. org.sonar.server.db.migrations.PlatformDatabaseMigration.doDatabaseMigration(PlatformDatabaseMigration.java:109)[sonar-server-6.0.jar:na]
      10 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_102]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_102]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_102]
      3 frames