java.lang.NullPointerException: null

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • SonarQube 5.1 upgrade to 5.3 fails
    via by Unknown author,
    • java.lang.NullPointerException: null at org.sonar.api.profiles.RulesProfile.activateRule(RulesProfile.java:318)[sonar-plugin-api-5.3.jar:na] at org.sonar.plugins.web.rules.BaseProfileDefinition.createProfile(BaseProfileDefinition.java:44)[na:na] at org.sonar.server.qualityprofile.RegisterQualityProfiles.profilesByLanguage(RegisterQualityProfiles.java:183)[sonar-server-5.3.jar:na] at org.sonar.server.qualityprofile.RegisterQualityProfiles.start(RegisterQualityProfiles.java:91)[sonar-server-5.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77] at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)[picocontainer-2.15.jar:na] at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)[picocontainer-2.15.jar:na] at org.sonar.core.platform.ComponentContainer$1.start(ComponentContainer.java:291)[sonar-core-5.3.jar:na] at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)[picocontainer-2.15.jar:na] at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)[picocontainer-2.15.jar:na] at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)[picocontainer-2.15.jar:na] at org.picocontainer.behaviors.Stored.start(Stored.java:110)[picocontainer-2.15.jar:na] at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1016)[picocontainer-2.15.jar:na] at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1009)[picocontainer-2.15.jar:na] at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)[picocontainer-2.15.jar:na] at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:131)[sonar-core-5.3.jar:na] at org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:84)[sonar-server-5.3.jar:na] at org.sonar.server.platform.platformlevel.PlatformLevelStartup.access$001(PlatformLevelStartup.java:45)[sonar-server-5.3.jar:na] at org.sonar.server.platform.platformlevel.PlatformLevelStartup$1.doPrivileged(PlatformLevelStartup.java:82)[sonar-server-5.3.jar:na] at org.sonar.server.user.DoPrivileged.execute(DoPrivileged.java:45)[sonar-server-5.3.jar:na] at org.sonar.server.platform.platformlevel.PlatformLevelStartup.start(PlatformLevelStartup.java:78)[sonar-server-5.3.jar:na] at org.sonar.server.platform.Platform.executeStartupTasks(Platform.java:197)[sonar-server-5.3.jar:na] at org.sonar.server.platform.Platform.doStart(Platform.java:114)[sonar-server-5.3.jar:na] at org.sonar.server.platform.Platform.doStart(Platform.java:99)[sonar-server-5.3.jar:na] at org.sonar.server.db.migrations.PlatformDatabaseMigration.doRestartContainer(PlatformDatabaseMigration.java:137)[sonar-server-5.3.jar:na] at org.sonar.server.db.migrations.PlatformDatabaseMigration.doDatabaseMigration(PlatformDatabaseMigration.java:113)[sonar-server-5.3.jar:na] at org.sonar.server.db.migrations.PlatformDatabaseMigration.access$000(PlatformDatabaseMigration.java:37)[sonar-server-5.3.jar:na] at org.sonar.server.db.migrations.PlatformDatabaseMigration$1.run(PlatformDatabaseMigration.java:100)[sonar-server-5.3.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_77] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_77]
    No Bugmate found.