www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy (*$^¨%`£) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (INFRA-5857) Update Isis SCM URL in sonar
Date Tue, 05 Mar 2013 13:17:12 GMT

    [ https://issues.apache.org/jira/browse/INFRA-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593389#comment-13593389
] 

Olivier Lamy (*$^¨%`£) commented on INFRA-5857:
-----------------------------------------------

Looks to be a Sonar issue:
{code}
[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli)
on project isis-all: Can not execute Sonar: Fail to decorate 'org.sonar.api.resources.Project@2422caf0[id=127645,key=org.apache.isis.core:isis,qualifier=BRC]':
Measure value can not be NaN -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar
(default-cli) on project isis-all: Can not execute Sonar
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute Sonar
	at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:118)
	at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65)
	at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:90)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
Caused by: org.sonar.api.utils.SonarException: Fail to decorate 'org.sonar.api.resources.Project@2422caf0[id=127645,key=org.apache.isis.core:isis,qualifier=BRC]'
	at org.sonar.batch.phases.DecoratorsExecutor.executeDecorator(DecoratorsExecutor.java:84)
	at org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:70)
	at org.sonar.batch.phases.DecoratorsExecutor.execute(DecoratorsExecutor.java:55)
	at org.sonar.batch.phases.Phases.execute(Phases.java:92)
	at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:129)
	at org.sonar.batch.bootstrap.Module.start(Module.java:68)
	at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:147)
	at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:141)
	at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:136)
	at org.sonar.batch.bootstrap.Module.start(Module.java:68)
	at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:83)
	at org.sonar.batch.bootstrap.Module.start(Module.java:68)
	at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:75)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:60)
	at org.sonar.maven3.SonarMojo.execute(SonarMojo.java:142)
	at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:113)
	... 23 more
Caused by: java.lang.IllegalArgumentException: Measure value can not be NaN
	at org.sonar.api.measures.Measure.setValue(Measure.java:278)
	at org.sonar.api.measures.Measure.setValue(Measure.java:250)
	at org.sonar.api.measures.Measure.<init>(Measure.java:83)
	at org.sonar.batch.DefaultDecoratorContext.saveMeasure(DefaultDecoratorContext.java:117)
	at com.hello2morrow.sonarplugin.decorator.SonargraphDerivedMetricsDecorator.saveCyclicityMeasures(SonargraphDerivedMetricsDecorator.java:144)
	at com.hello2morrow.sonarplugin.decorator.SonargraphDerivedMetricsDecorator.decorate(SonargraphDerivedMetricsDecorator.java:87)
	at org.sonar.batch.phases.DecoratorsExecutor.executeDecorator(DecoratorsExecutor.java:79)
	... 38 more
{code}
                
> Update Isis SCM URL in sonar
> ----------------------------
>
>                 Key: INFRA-5857
>                 URL: https://issues.apache.org/jira/browse/INFRA-5857
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Dan Haywood
>            Priority: Minor
>
> Isis was previously added to sonar (INFRA-3495), back when it was in the incubator and
in SVN.
> Isis has since graduated and its source code is now in GIT.
> If git is supported in Sonar, then please update the SCM URL (to git.apache.org/isis.git).
> If git is not supported in Sonar, then please delete the Isis configuration.
> Please advise which was done.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message