java.lang.NullPointerException: null

Google Groups | Unknown author | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SonarQube 5.1 upgrade to 5.3 fails

    Google Groups | 5 months ago | Unknown author
    java.lang.NullPointerException: null

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.sonar.api.profiles.RulesProfile.activateRule()
    2. SonarQube :: Plugin API
      RulesProfile.activateRule
      1. org.sonar.api.profiles.RulesProfile.activateRule(RulesProfile.java:318)[sonar-plugin-api-5.3.jar:na]
      1 frame
    3. org.sonar.plugins
      BaseProfileDefinition.createProfile
      1. org.sonar.plugins.web.rules.BaseProfileDefinition.createProfile(BaseProfileDefinition.java:44)[na:na]
      1 frame
    4. org.sonar.server
      RegisterQualityProfiles.start
      1. org.sonar.server.qualityprofile.RegisterQualityProfiles.profilesByLanguage(RegisterQualityProfiles.java:183)[sonar-server-5.3.jar:na]
      2. org.sonar.server.qualityprofile.RegisterQualityProfiles.start(RegisterQualityProfiles.java:91)[sonar-server-5.3.jar:na]
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
      4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
      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:291)[sonar-core-5.3.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:131)[sonar-core-5.3.jar:na]
      1 frame
    10. org.sonar.server
      PlatformDatabaseMigration$1.run
      1. org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:84)[sonar-server-5.3.jar:na]
      2. org.sonar.server.platform.platformlevel.PlatformLevelStartup.access$001(PlatformLevelStartup.java:45)[sonar-server-5.3.jar:na]
      3. org.sonar.server.platform.platformlevel.PlatformLevelStartup$1.doPrivileged(PlatformLevelStartup.java:82)[sonar-server-5.3.jar:na]
      4. org.sonar.server.user.DoPrivileged.execute(DoPrivileged.java:45)[sonar-server-5.3.jar:na]
      5. org.sonar.server.platform.platformlevel.PlatformLevelStartup.start(PlatformLevelStartup.java:78)[sonar-server-5.3.jar:na]
      6. org.sonar.server.platform.Platform.executeStartupTasks(Platform.java:197)[sonar-server-5.3.jar:na]
      7. org.sonar.server.platform.Platform.doStart(Platform.java:114)[sonar-server-5.3.jar:na]
      8. org.sonar.server.platform.Platform.doStart(Platform.java:99)[sonar-server-5.3.jar:na]
      9. org.sonar.server.db.migrations.PlatformDatabaseMigration.doRestartContainer(PlatformDatabaseMigration.java:137)[sonar-server-5.3.jar:na]
      10. org.sonar.server.db.migrations.PlatformDatabaseMigration.doDatabaseMigration(PlatformDatabaseMigration.java:113)[sonar-server-5.3.jar:na]
      11. org.sonar.server.db.migrations.PlatformDatabaseMigration.access$000(PlatformDatabaseMigration.java:37)[sonar-server-5.3.jar:na]
      12. org.sonar.server.db.migrations.PlatformDatabaseMigration$1.run(PlatformDatabaseMigration.java:100)[sonar-server-5.3.jar:na]
      12 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_77]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_77]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_77]
      3 frames