[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli) on project *****: Can not execute Sonar: 'sonar.build-stability.use_jsecuritycheck' doesn't map to a Boolean object: The value Hudson:http://************/ can't be converted to a Boolean object

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli) on project *****: Can not execute Sonar: 'sonar.build-stability.use_jsecuritycheck' doesn't map to a Boolean object: The value Hudson:http://************/ can't be converted to a Boolean object

softwareforums2013
Hi Sonar,

I am getting below error during my sonar analysis. I am not sure why I am getting this error. Any help or suggestion would be great.


 [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli) on project *****: Can not execute Sonar: 'sonar.build-stability.use_jsecuritycheck' doesn't map to a Boolean object: The value Hudson:http://***************/ can't be converted to a Boolean object -> [Help 1]
06:38:57 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli) on project psn9.2.0: Can not execute Sonar
06:38:57 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
06:38:57 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
06:38:57 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
06:38:57 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:86)
06:38:57 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:60)
06:38:57 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
06:38:57 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
06:38:57 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
06:38:57 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
06:38:57 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
06:38:57 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
06:38:57 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
06:38:57 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
06:38:57 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
06:38:57 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
06:38:57 at java.lang.reflect.Method.invoke(Method.java:597)
06:38:57 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
06:38:57 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
06:38:57 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
06:38:57 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:354)
06:38:57 Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute Sonar
06:38:57 at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:118)
06:38:57 at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:66)
06:38:57 at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:90)
06:38:57 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
06:38:57 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
06:38:57 ... 19 more
06:38:57 Caused by: org.apache.commons.configuration.ConversionException: 'sonar.build-stability.use_jsecuritycheck' doesn't map to a Boolean object
06:38:57 at org.apache.commons.configuration.AbstractConfiguration.getBoolean(AbstractConfiguration.java:682)
06:38:57 at org.apache.commons.configuration.AbstractConfiguration.getBoolean(AbstractConfiguration.java:651)
06:38:57 at org.sonar.plugins.buildstability.BuildStabilitySensor.analyse(BuildStabilitySensor.java:73)
06:38:57 at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
06:38:57 at org.sonar.batch.phases.Phases.execute(Phases.java:93)
06:38:57 at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:139)
06:38:57 at org.sonar.batch.bootstrap.Module.start(Module.java:83)
06:38:57 at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:131)
06:38:57 at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:122)
06:38:57 at org.sonar.batch.bootstrap.Module.start(Module.java:83)
06:38:57 at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:122)
06:38:57 at org.sonar.batch.bootstrap.Module.start(Module.java:83)
06:38:57 at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:73)
06:38:57 at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:60)
06:38:57 at org.sonar.maven3.SonarMojo.execute(SonarMojo.java:143)
06:38:57 at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:113)
06:38:57 ... 23 more
06:38:57 Caused by: org.apache.commons.configuration.ConversionException: The value Hudson:http://**********/ can't be converted to a Boolean object
06:38:57 at org.apache.commons.configuration.PropertyConverter.toBoolean(PropertyConverter.java:201)
06:38:57 at org.apache.commons.configuration.AbstractConfiguration.getBoolean(AbstractConfiguration.java:678)
06:38:57 at org.apache.commons.configuration.AbstractConfiguration.getBoolean(AbstractConfiguration.java:651)
06:38:57 at org.sonar.plugins.buildstability.BuildStabilitySensor.analyse(BuildStabilitySensor.java:73)
06:38:57 at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
06:38:57 at org.sonar.batch.phases.Phases.execute(Phases.java:94)
06:38:57 at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:140)
06:38:57 ... 33 more
06:38:57 [ERROR]
06:38:57 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
06:38:57 [ERROR]
06:38:57 [ERROR] For more information about the errors and possible solutions, please read the following articles:
06:38:57 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
06:38:58 Sonar analysis completed: FAILURE