{"action":"created","issue":{"url":"https://api.github.com/repos/wenns/sonar-cxx/issues/395","labels_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/395/comments","events_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/395/events","html_url":"https://github.com/wenns/sonar-cxx/issues/395","id":55041755,"number":395,"title":"Execution failure with Sonar 5.0","user":{"login":"iwill80","id":8006253,"avatar_url":"https://avatars.githubusercontent.com/u/8006253?v=3","gravatar_id":"","url":"https://api.github.com/users/iwill80","html_url":"https://github.com/iwill80","followers_url":"https://api.github.com/users/iwill80/followers","following_url":"https://api.github.com/users/iwill80/following{/other_user}","gists_url":"https://api.github.com/users/iwill80/gists{/gist_id}","starred_url":"https://api.github.com/users/iwill80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwill80/subscriptions","organizations_url":"https://api.github.com/users/iwill80/orgs","repos_url":"https://api.github.com/users/iwill80/repos","events_url":"https://api.github.com/users/iwill80/events{/privacy}","received_events_url":"https://api.github.com/users/iwill80/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wenns/sonar-cxx/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-21T16:29:56Z","updated_at":"2015-02-08T09:27:49Z","closed_at":null,"body":"Hello, \r\nI'm having some trouble using sonar-cxx-0.9.2 with sonarqube 5.0. I get the following error running the cpp-sonar-runner inside the sonar-example-masters. The same was working with cxx plugin version 0.90 and sonar 3.7.\r\n\r\nERROR: Error during Sonar runner execution\r\nERROR: Unable to execute Sonar\r\nERROR: Caused by: COMMENT_BLANK_LINES\r\n\r\nThe following is the result running sonar-runner with -e option\r\n...\r\nINFO: ------------------------------------------------------------------------\r\nINFO: EXECUTION FAILURE\r\nINFO: ------------------------------------------------------------------------\r\nTotal time: 7.149s\r\nFinal Memory: 24M/673M\r\nINFO: ------------------------------------------------------------------------\r\nERROR: Error during Sonar runner execution\r\norg.sonar.runner.impl.RunnerException: Unable to execute Sonar\r\n\tat org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)\r\n\tat org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)\r\n\tat org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)\r\n\tat org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)\r\n\tat org.sonar.runner.api.Runner.execute(Runner.java:100)\r\n\tat org.sonar.runner.Main.executeTask(Main.java:70)\r\n\tat org.sonar.runner.Main.execute(Main.java:59)\r\n\tat org.sonar.runner.Main.main(Main.java:53)\r\nCaused by: java.lang.NoSuchFieldError: COMMENT_BLANK_LINES\r\n\tat org.sonar.plugins.cxx.squid.CxxSquidSensor.saveMeasures(CxxSquidSensor.java:136)\r\n\tat org.sonar.plugins.cxx.squid.CxxSquidSensor.save(CxxSquidSensor.java:121)\r\n\tat org.sonar.plugins.cxx.squid.CxxSquidSensor.analyse(CxxSquidSensor.java:99)\r\n\tat org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:79)\r\n\tat org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:70)\r\n\tat org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:122)\r\n\tat org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:222)\r\n\tat org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:93)\r\n\tat org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:78)\r\n\tat org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:235)\r\n\tat org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:230)\r\n\tat org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:223)\r\n\tat org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:93)\r\n\tat org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:78)\r\n\tat org.sonar.batch.scan.ScanTask.scan(ScanTask.java:65)\r\n\tat org.sonar.batch.scan.ScanTask.execute(ScanTask.java:52)\r\n\tat org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:128)\r\n\tat org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:93)\r\n\tat org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:78)\r\n\tat org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:171)\r\n\tat org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:95)\r\n\tat org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)\r\n\tat org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:483)\r\n\tat org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)\r\n\t... 9 more\r\nERROR: \r\nERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging."},"comment":{"url":"https://api.github.com/repos/wenns/sonar-cxx/issues/comments/73403443","html_url":"https://github.com/wenns/sonar-cxx/issues/395#issuecomment-73403443","issue_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/395","id":73403443,"user":{"login":"Bertk","id":2315215,"avatar_url":"https://avatars.githubusercontent.com/u/2315215?v=3","gravatar_id":"","url":"https://api.github.com/users/Bertk","html_url":"https://github.com/Bertk","followers_url":"https://api.github.com/users/Bertk/followers","following_url":"https://api.github.com/users/Bertk/following{/other_user}","gists_url":"https://api.github.com/users/Bertk/gists{/gist_id}","starred_url":"https://api.github.com/users/Bertk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bertk/subscriptions","organizations_url":"https://api.github.com/users/Bertk/orgs","repos_url":"https://api.github.com/users/Bertk/repos","events_url":"https://api.github.com/users/Bertk/events{/privacy}","received_events_url":"https://api.github.com/users/Bertk/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T09:27:49Z","updated_at":"2015-02-08T09:27:49Z","body":"The reported compatibility is related to *Deprecate metric comment_blank_lines* (https://jira.codehaus.org/browse/SONAR-3768).\r\nThe SonarQube API updates are available here: http://docs.sonarqube.org/display/SONAR/API+Changes\r\n\r\n"}}