Why does the SonarQube analysis fail through eclipse? -


each time launch project analysis in eclipse, following error in eclipse console. although 13:40:35.053 info - analysis successful in eclipse console think there's wrong.

sonar version : 5.1.1 sonar eclipse plugin : 3.4.0

what can fix ? thank you.

exception in thread "main" 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.impl.batchlaunchermain.execute(batchlaunchermain.java:41) @ org.sonar.runner.impl.batchlaunchermain.main(batchlaunchermain.java:59) caused by: org.picocontainer.injectors.abstractinjector$unsatisfiabledependenciesexception: org.sonar.core.notification.defaultnotificationmanager has unsatisfied dependency 'class org.sonar.core.properties.propertiesdao' constructor 'public org.sonar.core.notification.defaultnotificationmanager(org.sonar.core.notification.db.notificationqueuedao,org.sonar.core.properties.propertiesdao)' org.picocontainer.defaultpicocontainer@2b67556e:213<[immutable]:org.picocontainer.defaultpicocontainer@192d5cf3:18<[immutable]:org.picocontainer.defaultpicocontainer@3bca634f:45<| @ org.picocontainer.injectors.constructorinjector.getgreediestsatisfiableconstructor(constructorinjector.java:191) @ org.picocontainer.injectors.constructorinjector.getgreediestsatisfiableconstructor(constructorinjector.java:110) @ org.picocontainer.injectors.constructorinjector.access$100(constructorinjector.java:51) @ org.picocontainer.injectors.constructorinjector$1.run(constructorinjector.java:331) @ org.picocontainer.injectors.abstractinjector$threadlocalcyclicdependencyguard.observe(abstractinjector.java:270) @ org.picocontainer.injectors.constructorinjector.getcomponentinstance(constructorinjector.java:364) @ org.picocontainer.injectors.abstractinjectionfactory$lifecycleadapter.getcomponentinstance(abstractinjectionfactory.java:56) @ org.picocontainer.behaviors.abstractbehavior.getcomponentinstance(abstractbehavior.java:64) @ org.picocontainer.behaviors.stored.getcomponentinstance(stored.java:91) @ org.picocontainer.defaultpicocontainer.getinstance(defaultpicocontainer.java:698) @ org.picocontainer.defaultpicocontainer.getcomponent(defaultpicocontainer.java:646) @ org.picocontainer.defaultpicocontainer.getcomponent(defaultpicocontainer.java:620) @ org.picocontainer.containers.immutablepicocontainer.getcomponent(immutablepicocontainer.java:40) @ org.picocontainer.defaultpicocontainer.getinstance(defaultpicocontainer.java:717) @ org.picocontainer.defaultpicocontainer.getcomponent(defaultpicocontainer.java:646) @ org.picocontainer.defaultpicocontainer.getcomponent(defaultpicocontainer.java:631) @ org.picocontainer.parameters.basiccomponentparameter$1.resolveinstance(basiccomponentparameter.java:118) @ org.picocontainer.parameters.componentparameter$1.resolveinstance(componentparameter.java:136) @ org.picocontainer.injectors.singlememberinjector.getparameter(singlememberinjector.java:78) @ org.picocontainer.injectors.constructorinjector$ctorandadapters.getparameterarguments(constructorinjector.java:309) @ org.picocontainer.injectors.constructorinjector$1.run(constructorinjector.java:335) @ org.picocontainer.injectors.abstractinjector$threadlocalcyclicdependencyguard.observe(abstractinjector.java:270) @ org.picocontainer.injectors.constructorinjector.getcomponentinstance(constructorinjector.java:364) @ org.picocontainer.injectors.abstractinjectionfactory$lifecycleadapter.getcomponentinstance(abstractinjectionfactory.java:56) @ org.picocontainer.behaviors.abstractbehavior.getcomponentinstance(abstractbehavior.java:64) @ org.picocontainer.behaviors.stored.getcomponentinstance(stored.java:91) @ org.picocontainer.defaultpicocontainer.getlocalinstance(defaultpicocontainer.java:605) @ org.picocontainer.defaultpicocontainer.getcomponents(defaultpicocontainer.java:586) @ org.sonar.api.platform.componentcontainer.getcomponentsbytype(componentcontainer.java:217) @ org.sonar.batch.bootstrap.batchextensiondictionnary.completebatchextensions(batchextensiondictionnary.java:119) @ org.sonar.batch.bootstrap.batchextensiondictionnary.getextensions(batchextensiondictionnary.java:113) @ org.sonar.batch.bootstrap.batchextensiondictionnary.getfilteredextensions(batchextensiondictionnary.java:91) @ org.sonar.batch.bootstrap.batchextensiondictionnary.select(batchextensiondictionnary.java:68) @ org.sonar.batch.phases.postjobsexecutor.execute(postjobsexecutor.java:49) @ org.sonar.batch.phases.databaselessphaseexecutor.execute(databaselessphaseexecutor.java:103) @ org.sonar.batch.scan.modulescancontainer.doafterstart(modulescancontainer.java:264) @ 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:235) @ org.sonar.batch.scan.projectscancontainer.scanrecursively(projectscancontainer.java:230) @ org.sonar.batch.scan.projectscancontainer.doafterstart(projectscancontainer.java:220) @ 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:57) @ org.sonar.batch.scan.scantask.execute(scantask.java:45) @ org.sonar.batch.bootstrap.taskcontainer.doafterstart(taskcontainer.java:135) @ org.sonar.api.platform.componentcontainer.startcomponents(componentcontainer.java:92) @ org.sonar.api.platform.componentcontainer.execute(componentcontainer.java:77) @ org.sonar.batch.bootstrap.globalcontainer.executetask(globalcontainer.java:158) @ org.sonar.batch.bootstrapper.batch.executetask(batch.java:95) @ org.sonar.batch.bootstrapper.batch.execute(batch.java:67) @ org.sonar.runner.batch.isolatedlauncher.execute(isolatedlauncher.java:45) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.sonar.runner.impl.batchlauncher$1.delegateexecution(batchlauncher.java:87) ... 6 more 

here list of sonar plugins :

sonar-checkstyle-plugin-2.3.jar sonar-css-plugin-1.2.jar sonar-findbugs-plugin-3.2.jar sonar-groovy-plugin-1.1.1.jar sonar-issue-assign-plugin-1.6.jar sonar-issues-density-plugin-1.0.jar sonar-java-plugin-3.3.jar sonar-javascript-plugin-2.6.jar sonar-ldap-plugin-1.4.jar sonar-motion-chart-plugin-1.7.jar sonar-pmd-plugin-2.4.1.jar sonar-scm-svn-plugin-1.1.jar sonar-timeline-plugin-1.5.jar sonar-useless-code-tracker-plugin-1.0.jar sonar-views-plugin-2.8.jar sonar-web-plugin-2.3.jar sonar-xml-plugin-1.2.jar 

you issue caused sonar-issue-assign plugin not compatible preview mode (database less). can exclude completing default value of property sonar.preview.excludeplugins:

-dsonar.preview.excludeplugins=buildstability,devcockpit,pdfreport,report,views,jira,buildbreaker,issueassign 

also have opened following ticket can follow: http://jira.sonarsource.com/browse/sonar-6673


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -