sonarqube - Sonar, Gendarme plugin issue -



sonarqube - Sonar, Gendarme plugin issue -

i'm new in sonar. have problems when utilize gendarme rules, without rules, works fine.

this error in debug mode (sonar-runner -x):

14:19:22.637 debug - no assembly specified: 'csproj' files find should analyzed. 14:19:22.638 debug - fallback directory c:\users\soaint002\documents\visual studio 2010\projects\windowsformalan\.\windowsformalan\bin\debug project windowsformalan 14:19:22.638 debug - - gendarme programme : c:\program files (x86)\gendarme-2.10-bin\gendarme.exe 14:19:22.639 debug - - config file : c:\users\soaint002\documents\visual studio 2010\projects\windowsformalan\windowsformalan\.sonar\sonar.gendarme 14:19:22.639 debug - - study file : c:\users\soaint002\documents\visual studio 2010\projects\windowsformalan\windowsformalan\.sonar\gendarme-report.xml 14:19:22.639 debug - - quiet output 14:19:22.639 debug - - confidence : normal+ 14:19:22.639 debug - - severity : 14:19:22.640 debug - - scanned assemblies : 14:19:22.640 debug - o c:\users\soaint002\documents\visual studio 2010\projects\windowsformalan\.\windowsformalan\bin\debug\windowsformalan.exe 14:19:22.640 info - executing command: c:\program files (x86)\gendarme-2.10-bin\gendarme.exe --config c:\users\soaint002\documents\visual studio 2010\projects\windowsformalan\windowsformalan\.sonar\sonar.gendarme - -xml c:\users\soaint002\documents\visual studio 2010\projects\windowsformalan\windowsformalan\.sonar\gendarme-report.xml --quiet --confidence normal+ --severity c:\users\soaint002\documents\visual studio 2010\pr ojects\windowsformalan\.\windowsformalan\bin\debug\windowsformalan.exe 14:19:22.770 info - 14:19:22.771 info - uncaught exception occured. please fill bug study @ https://bugzilla.novell.com/ 14:19:22.772 info - stack trace: system.xml.xmlexception: value 'null' not converted property maximumdepth type rule avoiddeepinheritancetreerule. review configuration file. 14:19:22.772 info - @ gendarme.settings.setcustomparameters(xmlnode nodes) 14:19:22.772 info - @ gendarme.settings.load() 14:19:22.772 info - @ gendarme.consolerunner.execute(string[] args) 14:19:22.779 debug - release semaphore on project : org.sonar.api.resources.project@3da72e31[id=1092,key=sas:windowsformsalan,qualifier=trk], key batch-sas:windowsformsalan 14:19:22.838 debug - prevent memory leak, jdbc driver [com.mysql.jdbc.driver] has been forcibly deregistered info: ------------------------------------------------------------------------ info: execution failure info: ------------------------------------------------------------------------ total time: 6.848s final memory: 15m/341m info: ------------------------------------------------------------------------ error: error during sonar runner execution org.sonar.runner.impl.runnerexception: unable execute sonar @ org.sonar.runner.impl.batchlauncher$1.delegateexecution(batchlauncher.java:91) @ org.sonar.runner.impl.batchlauncher$1.run(batchlauncher.java:75) @ java.security.accesscontroller.doprivileged(native method) @ org.sonar.runner.impl.batchlauncher.doexecute(batchlauncher.java:69) @ org.sonar.runner.impl.batchlauncher.execute(batchlauncher.java:50) @ org.sonar.runner.api.embeddedrunner.doexecute(embeddedrunner.java:102) @ org.sonar.runner.api.runner.execute(runner.java:100) @ org.sonar.runner.main.executetask(main.java:70) @ org.sonar.runner.main.execute(main.java:59) @ org.sonar.runner.main.main(main.java:53) caused by: org.sonar.api.utils.sonarexception: gendarme execution failed. @ org.sonar.plugins.csharp.gendarme.gendarmesensor.analyse(gendarmesensor.java:175) @ org.sonar.batch.phases.sensorsexecutor.executesensor(sensorsexecutor.java:79) @ org.sonar.batch.phases.sensorsexecutor.execute(sensorsexecutor.java:70) @ org.sonar.batch.phases.phaseexecutor.execute(phaseexecutor.java:131) @ org.sonar.batch.scan.modulescancontainer.doafterstart(modulescancontainer.java:178) @ org.sonar.api.platform.componentcontainer.startcomponents(componentcontainer.java:92) @ org.sonar.api.platform.componentcontainer.execute(componentcontainer.java:77) @ org.sonar.batch.scan.projectscancontainer.scan(projectscancontainer.java:199) @ org.sonar.batch.scan.projectscancontainer.scanrecursively(projectscancontainer.java:194) @ org.sonar.batch.scan.projectscancontainer.scanrecursively(projectscancontainer.java:192) @ org.sonar.batch.scan.projectscancontainer.doafterstart(projectscancontainer.java:187) @ org.sonar.api.platform.componentcontainer.startcomponents(componentcontainer.java:92) @ org.sonar.api.platform.componentcontainer.execute(componentcontainer.java:77) @ org.sonar.batch.scan.scantask.scan(scantask.java:56) @ org.sonar.batch.scan.scantask.execute(scantask.java:44) @ org.sonar.batch.bootstrap.taskcontainer.doafterstart(taskcontainer.java:82) @ org.sonar.api.platform.componentcontainer.startcomponents(componentcontainer.java:92) @ org.sonar.api.platform.componentcontainer.execute(componentcontainer.java:77) @ org.sonar.batch.bootstrap.bootstrapcontainer.executetask(bootstrapcontainer.java:175) @ org.sonar.batch.bootstrap.bootstrapcontainer.doafterstart(bootstrapcontainer.java:163) @ org.sonar.api.platform.componentcontainer.startcomponents(componentcontainer.java:92) @ org.sonar.api.platform.componentcontainer.execute(componentcontainer.java:77) @ org.sonar.batch.bootstrapper.batch.startbatch(batch.java:92) @ org.sonar.batch.bootstrapper.batch.execute(batch.java:74) @ org.sonar.runner.batch.isolatedlauncher.execute(isolatedlauncher.java:48) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ org.sonar.runner.impl.batchlauncher$1.delegateexecution(batchlauncher.java:87) ... 9 more caused by: org.sonar.dotnet.tools.gendarme.gendarmeexception: gendarme analysis failed: execution interrupted non-handled exception. bug within gendarme , should reported on novell's b ugzilla (http://bugzilla.novell.com) or on mailing-list. @ org.sonar.dotnet.tools.gendarme.gendarmerunner.execute(gendarmerunner.java:124) @ org.sonar.plugins.csharp.gendarme.gendarmesensor.launchgendarme(gendarmesensor.java:221) @ org.sonar.plugins.csharp.gendarme.gendarmesensor.analyse(gendarmesensor.java:173)

sonar-project.properties:

# required metadata sonar.projectkey=sas:windowsformsalan sonar.projectname=windowsformsalan sonar.projectversion=1.2 # comma-separated paths directories sources (required) sonar.sources=. # language sonar.language=cs sonar.gallio.mode=skip # encoding of source files sonar.sourceencoding=utf-8

i have next list of plugins installed. need install other plugins too?

sonar-csharp-plugin-3.1 sonar-dotnet-gendarme-plugin-2.0 sonar-dotnet-ndeps-plugin-2.0 sonar-dotnet-plugin-2.0

all dotnet plugins version must have same version. if not not compatible.

sonarqube gendarme

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -