PDF plugin in SonarQube 5.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

PDF plugin in SonarQube 5.1

kuki585
Hello everyone,

I am using sonarqube 5.1 and sonar runner 2.4.I have installed PDF plugin
sonar-pdfreport-plugin-1.4 in [sonarqube home]/extensions/plugin folder.
Now when i am running analysis.i am getting an error.
as following:
INFO: EXECUTION FAILURE
INFO:
------------------------------------------------------------------------
Total time: 3:07.698s
Final Memory: 33M/760M
INFO:
------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
org.sonar.runner.impl.RunnerException: Unable to execute Sonar
        at
org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
        at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
        at
org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
        at
org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
        at org.sonar.runner.api.Runner.execute(Runner.java:100)
        at org.sonar.runner.Main.executeTask(Main.java:70)
        at org.sonar.runner.Main.execute(Main.java:59)
        at org.sonar.runner.Main.main(Main.java:53)
Caused by: java.lang.NoSuchMethodError:
org.sonar.api.resources.Project.getConfiguration()Lorg/apache/commons/configuration/Configuration;
        at
org.sonar.report.pdf.batch.PDFPostJob.shouldExecuteOnProject(PDFPostJob.java:57)
        at
org.sonar.batch.bootstrap.BatchExtensionDictionnary.shouldKeep(BatchExtensionDictionnary.java:245)
        at
org.sonar.batch.bootstrap.BatchExtensionDictionnary.getFilteredExtensions(BatchExtensionDictionnary.java:95)
        at
org.sonar.batch.bootstrap.BatchExtensionDictionnary.select(BatchExtensionDictionnary.java:68)
        at
org.sonar.batch.phases.PostJobsExecutor.execute(PostJobsExecutor.java:49)
        at
org.sonar.batch.phases.DatabaseModePhaseExecutor.execute(DatabaseModePhaseExecutor.java:136)
        at
org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:264)
        at
org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
        at
org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
        at
org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:235)
        at
org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:230)
        at
org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:220)
        at
org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
        at
org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
        at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:57)
        at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45)
        at
org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:135)
        at
org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
        at
org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
        at
org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:158)
        at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:95)
        at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
        at
org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
        ... 9 more

D:\splV6\C1\2.2.0\Code\modules\c1\source\java\com\splwg\ccb\domain>




--
View this message in context: http://sonarqube.15.x6.nabble.com/PDF-plugin-in-SonarQube-5-1-tp5035547.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: PDF plugin in SonarQube 5.1

kuki585
Thanks David.
Can you please tell  me is there any alternative  way to generate reports in sonarqube 5.1

Regards,
Ankur Jain

On Wed, May 20, 2015 at 3:39 PM, ankur jain <[hidden email]> wrote:
Thanks David.
Can you please tell  me is there any alternative  way to generate reports in sonarqube 5.1

Regards,
Ankur Jain

On Wed, May 20, 2015 at 2:04 PM, Grierson, David <[hidden email]> wrote:
As per the Plugin Version Matrix - http://docs.sonarqube.org/display/PLUG/Plugin+version+matrix - the PDF Report plugin is not compatible with SonarQube 5.1

David.
--
David Grierson - SDLC Tools Specialist
Sky Broadcasting - Customer Business Systems - SDLC Tools
Email: [hidden email]
Watermark Building, Alba Campus, Livingston, EH54 7HH

> -----Original Message-----
> From: kuki585 [mailto:[hidden email]]
> Sent: 20 May 2015 09:15
> To: [hidden email]
> Subject: [sonar-user] PDF plugin in SonarQube 5.1
>
> Hello everyone,
>
> I am using sonarqube 5.1 and sonar runner 2.4.I have installed PDF plugin
> sonar-pdfreport-plugin-1.4 in [sonarqube home]/extensions/plugin folder.
> Now when i am running analysis.i am getting an error.
> as following:
> INFO: EXECUTION FAILURE
> INFO:
> ------------------------------------------------------------------------
> Total time: 3:07.698s
> Final Memory: 33M/760M
> INFO:
> ------------------------------------------------------------------------
> ERROR: Error during Sonar runner execution
> org.sonar.runner.impl.RunnerException: Unable to execute Sonar
>         at
> org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java
> :91)
>         at
> org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
>         at
> org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
>         at
> org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
>         at org.sonar.runner.api.Runner.execute(Runner.java:100)
>         at org.sonar.runner.Main.executeTask(Main.java:70)
>         at org.sonar.runner.Main.execute(Main.java:59)
>         at org.sonar.runner.Main.main(Main.java:53)
> Caused by: java.lang.NoSuchMethodError:
> org.sonar.api.resources.Project.getConfiguration()Lorg/apache/commons/conf
> iguration/Configuration;
>         at
> org.sonar.report.pdf.batch.PDFPostJob.shouldExecuteOnProject(PDFPostJob.ja
> va:57)
>         at
> org.sonar.batch.bootstrap.BatchExtensionDictionnary.shouldKeep(BatchExtens
> ionDictionnary.java:245)
>         at
> org.sonar.batch.bootstrap.BatchExtensionDictionnary.getFilteredExtensions(
> BatchExtensionDictionnary.java:95)
>         at
> org.sonar.batch.bootstrap.BatchExtensionDictionnary.select(BatchExtensionD
> ictionnary.java:68)
>         at
> org.sonar.batch.phases.PostJobsExecutor.execute(PostJobsExecutor.java:49)
>         at
> org.sonar.batch.phases.DatabaseModePhaseExecutor.execute(DatabaseModePhase
> Executor.java:136)
>         at
> org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.
> java:264)
>         at
> org.sonar.api.platform.ComponentContainer.startComponents(ComponentContain
> er.java:92)
>         at
> org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:
> 77)
>         at
> org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:2
> 35)
>         at
> org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanConta
> iner.java:230)
>         at
> org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContaine
> r.java:220)
>         at
> org.sonar.api.platform.ComponentContainer.startComponents(ComponentContain
> er.java:92)
>         at
> org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:
> 77)
>         at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:57)
>         at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45)
>         at
> org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:13
> 5)
>         at
> org.sonar.api.platform.ComponentContainer.startComponents(ComponentContain
> er.java:92)
>         at
> org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:
> 77)
>         at
> org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java
> :158)
>         at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:95)
>         at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
>         at
> org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java
> :87)
>         ... 9 more
>
> D:\splV6\C1\2.2.0\Code\modules\c1\source\java\com\splwg\ccb\domain>
>
>
>
>
> --
> View this message in context: http://sonarqube.15.x6.nabble.com/PDF-
> plugin-in-SonarQube-5-1-tp5035547.html
> Sent from the SonarQube Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>

Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trademarks of Sky plc and Sky International AG and are used under licence. Sky UK Limited (Registration No. 2906991), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of Sky plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.