java.lang.IllegalStateException: Fail to instantiate class [org.sonar.plugins.roslynsdk.RoslynSdkGeneratedPlugin] of plugin [stylecopanalyzers]

Stack Overflow | XtianGIS | 2 months ago
  1. 0

    Stylecop Anayzers plugin for Sonarqube does not allow to start the platform

    Stack Overflow | 2 months ago | XtianGIS
    java.lang.IllegalStateException: Fail to instantiate class [org.sonar.plugins.roslynsdk.RoslynSdkGeneratedPlugin] of plugin [stylecopanalyzers]
  2. 0

    SonarQube Jenkins plugin - ClassNotFoundException: org.sonar.api.batch.TimeMachine

    Stack Overflow | 1 year ago | Alejandro Goñi
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar (default-cli) on project parent.pom: Unable to register extension es.excentia.sonar.citymodel.CityDecorator
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    SonarQube 5.2 RC2&RC3 => ClassNotFoundException in custom plugin when use Google Guava

    Google Groups | 1 year ago | Andrey Matsokha
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project sonarqube-test-guava: com/google/common/base/Optional

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      org.sonar.plugins.roslynsdk.RoslynSdkGeneratedPlugin

      at org.sonar.classloader.ParentFirstStrategy.loadClass()
    2. org.sonar.classloader
      ClassRealm.loadClass
      1. org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39)[sonar-classloader-1.0.jar:na]
      2. org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)[sonar-classloader-1.0.jar:na]
      3. org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)[sonar-classloader-1.0.jar:na]
      3 frames
    3. org.sonar.core
      PluginLoader.load
      1. org.sonar.core.platform.PluginLoader.instantiatePluginClasses(PluginLoader.java:141)[sonar-core-5.6.1.jar:na]
      2. org.sonar.core.platform.PluginLoader.load(PluginLoader.java:73)[sonar-core-5.6.1.jar:na]
      2 frames
    4. org.sonar.server
      ServerPluginRepository.start
      1. org.sonar.server.plugins.ServerPluginRepository.loadInstances(ServerPluginRepository.java:288)[sonar-server-5.6.1.jar:na]
      2. org.sonar.server.plugins.ServerPluginRepository.start(ServerPluginRepository.java:117)[sonar-server-5.6.1.jar:na]
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65]
      4 frames
    6. 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
    7. org.sonar.core
      ComponentContainer$1.start
      1. org.sonar.core.platform.ComponentContainer$1.start(ComponentContainer.java:320)[sonar-core-5.6.1.jar:na]
      1 frame
    8. 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
    9. org.sonar.core
      ComponentContainer.startComponents
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:141)[sonar-core-5.6.1.jar:na]
      1 frame
    10. org.sonar.server
      PlatformServletContextListener.contextInitialized
      1. org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:84)[sonar-server-5.6.1.jar:na]
      2. org.sonar.server.platform.Platform.start(Platform.java:216)[sonar-server-5.6.1.jar:na]
      3. org.sonar.server.platform.Platform.startLevel2Container(Platform.java:182)[sonar-server-5.6.1.jar:na]
      4. org.sonar.server.platform.Platform.init(Platform.java:91)[sonar-server-5.6.1.jar:na]
      5. org.sonar.server.platform.PlatformServletContextListener.contextInitialized(PlatformServletContextListener.java:43)[sonar-server-5.6.1.jar:na]
      5 frames
    11. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)[tomcat-embed-core-8.0.32.jar:8.0.32]
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)[tomcat-embed-core-8.0.32.jar:8.0.32]
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)[tomcat-embed-core-8.0.32.jar:8.0.32]
      4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)[tomcat-embed-core-8.0.32.jar:8.0.32]
      5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)[tomcat-embed-core-8.0.32.jar:8.0.32]
      5 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_65]
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_65]
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_65]
      4. java.lang.Thread.run(Thread.java:745)[na:1.8.0_65]
      4 frames