Sonar-runner error : fail to decorate

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Sonar-runner error : fail to decorate

rakitha.perera
This post was updated on .
hi,

I'm using Jenkins to build a C# project and then invoke stand alone sonar analysis.when I do that the execution was successful.Then I created a manual issue in Sonar to the project and reran the Jenkins build in order to show the issues in dashboard.
Then I used a C# program to create several issues(around 100) in Sonar using the API. After doing that when i ran the Jenkins build and sonar-runner,the build was successful but the sonar analysis failed.this is the console output.


Reply | Threaded
Open this post in threaded view
|

Re: Sonar-runner error : fail to decorate

Julien HENRY
Hi,

As suggested by the error message, could you please run the same with option -e or -X in order to have the full stack trace?

++

Julien

2014-12-19 9:35 GMT+01:00 rakitha.perera <[hidden email]>:
hi,

I'm using Jenkins to build a C# project and then invoke stand alone sonar
analysis.when I do that the execution was successful.Then I created a manual
issue in Sonar to the project and reran the Jenkins build in order to show
the issues in dashboard.
Then I used a C# program to create several issues(around 100) in Sonar using
the API. After doing that when i ran the Jenkins build and sonar-runner,the
build was successful but the sonar analysis failed.this is the console
output.

<http://sonarqube.15.x6.nabble.com/file/n5031183/sonar.png>



11:21:18.061 INFO  - 2 source files to be analyzed
11:21:18.394 INFO  - 2/2 source files analyzed
11:21:18.775 INFO  - Sensor
org.sonar.plugins.csharp.squid.CSharpSquidSensor@568aea48 done: 804 ms
11:21:18.776 INFO  - Sensor CpdSensor...
11:21:18.776 INFO  - SonarBridgeEngine is used for cs
11:21:18.777 INFO  - Cross-project analysis disabled
11:21:18.977 INFO  - Sensor CpdSensor done: 201 ms
11:21:20.185 INFO  - Execute decorators...
INFO:
------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO:
------------------------------------------------------------------------
Total time: 36.807s
Final Memory: 18M/114M
INFO:
------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: Fail to decorate
'org.sonar.api.resources.File@5741bc9[key=Program.cs,deprecatedKey=Program.cs,path=Program.cs,dir=[root],filename=Program.cs,language=C#]'
ERROR: Caused by: 158
ERROR:
ERROR: To see the full stack trace of the errors, re-run SonarQube Runner
with the -e switch.
ERROR: Re-run SonarQube Runner using the -X switch to enable full debug
logging.
Build step 'Invoke Standalone Sonar Analysis' marked build as failure
Finished: FAILURE



--
View this message in context: http://sonarqube.15.x6.nabble.com/Sonar-runner-error-fail-to-decorate-tp5031183.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: Sonar-runner error : fail to decorate

rakitha.perera
Hi Julien,
Thank you for the quick reply.
Full stack tree after running with -e


C:\Users\Administrator\Desktop\HelloWorld2>sonar-runner -e
C:\Program Files\Sonar\sonar-runner-2.4
SonarQube Runner 2.4
Java 1.8.0_05 Oracle Corporation (64-bit)
Windows Server 2008 R2 6.1 amd64
INFO: Error stacktraces are turned on.
INFO: Runner configuration file: C:\Program Files\Sonar\sonar-runner-2.4\conf\sonar-runner.properties
INFO: Project configuration file: C:\Users\Administrator\Desktop\HelloWorld2\sonar-project.properties
INFO: Default locale: "en_US", source code encoding: "UTF-8"
INFO: Work directory: C:\Users\Administrator\Desktop\HelloWorld2\.\.sonar
INFO: SonarQube Server 4.4
14:35:11.614 INFO  - Load global settings
14:35:12.164 INFO  - User cache: C:\Users\Administrator\.sonar\cache
14:35:12.191 INFO  - Install plugins
14:35:12.511 INFO  - Install JDBC driver
14:35:12.523 INFO  - Create JDBC datasource for jdbc:mysql://cmbpde1169:3306/sonar?useUnicode=true&characterEncoding
=utf8
14:35:13.180 INFO  - Initializing Hibernate
14:35:22.643 INFO  - Loading technical debt model...
14:35:22.691 INFO  - Loading technical debt model done: 48 ms
14:35:22.698 INFO  - Load project settings
14:35:22.957 INFO  - Using the following Visual Studio solution: C:\Users\Administrator\Desktop\HelloWorld2\.\HelloWorld
2.sln
14:35:23.047 INFO  - Locating the assembly for the project: HelloWorld2...
14:35:23.048 INFO  - The following candidate assembly was found: C:\Users\Administrator\Desktop\HelloWorld2\.\HelloWorld
2\bin\Debug\HelloWorld2.exe
14:35:23.048 INFO  - The following candidate assembly was not built: C:\Users\Administrator\Desktop\HelloWorld2\.\HelloW
orld2\bin\Release\HelloWorld2.exe
14:35:23.048 INFO  - Apply project exclusions
14:35:23.527 INFO  - -------------  Scan HelloWorld2
14:35:23.533 INFO  - Load module settings
14:35:25.294 INFO  - Loading rules...
14:35:28.427 INFO  - Loading rules done: 3133 ms
14:35:28.578 INFO  - Configure Maven plugins
14:35:28.878 INFO  - Compare to previous analysis (2014-12-18)
14:35:28.911 INFO  - Compare over 30 days (2014-11-19, analysis of 2014-12-18 15:12:40.0)
14:35:28.912 INFO  - No quality gate is configured.
14:35:29.531 INFO  - Base dir: C:\Users\Administrator\Desktop\HelloWorld2\.\HelloWorld2
14:35:29.531 INFO  - Working dir: C:\Users\Administrator\Desktop\HelloWorld2\.\.sonar\HelloWorldTest_HelloWorld2
14:35:29.532 INFO  - Source dirs: C:\Users\Administrator\Desktop\HelloWorld2\.\HelloWorld2
14:35:29.532 INFO  - Source encoding: UTF-8, default locale: en_US
14:35:29.532 INFO  - Index files
14:35:29.647 INFO  - 2 files indexed
14:35:29.839 INFO  - Quality profile for cs: Sonar way
14:35:29.850 INFO  - All ReSharper rules are disabled, skipping its execution.
14:35:29.868 INFO  - All FxCop rules are disabled, skipping its execution.
14:35:29.894 INFO  - Trying to guess scm provider from project layout...
14:35:29.899 INFO  - Didn't find which SCM provider is used. Fallback on configuration
14:35:29.900 WARN  - SCM URL must not be blank. SCM Stats Plugin will not run.Please check the parameter SCM URL or the
<scm> section of Maven pom.
14:35:29.901 INFO  - JIRA issues sensor will not run as some parameters are missing.
14:35:29.904 INFO  - Sensor QProfileSensor...
14:35:29.937 INFO  - Sensor QProfileSensor done: 32 ms
14:35:29.937 INFO  - Sensor InitialOpenIssuesSensor...
14:35:31.107 INFO  - Sensor InitialOpenIssuesSensor done: 1170 ms
14:35:31.118 INFO  - Sensor ProjectLinksSensor...
14:35:31.360 INFO  - Sensor ProjectLinksSensor done: 242 ms
14:35:31.366 INFO  - Sensor VersionEventsSensor...
14:35:31.407 INFO  - Sensor VersionEventsSensor done: 41 ms
14:35:31.408 INFO  - Sensor FileHashSensor...
14:35:31.417 INFO  - Sensor FileHashSensor done: 9 ms
14:35:31.418 INFO  - Sensor org.sonar.plugins.csharp.squid.CSharpSquidSensor@568aea48...
14:35:31.502 INFO  - 2 source files to be analyzed
14:35:31.689 INFO  - 2/2 source files analyzed
14:35:31.840 INFO  - Sensor org.sonar.plugins.csharp.squid.CSharpSquidSensor@568aea48 done: 422 ms
14:35:31.841 INFO  - Sensor CpdSensor...
14:35:31.842 INFO  - SonarBridgeEngine is used for cs
14:35:31.843 INFO  - Cross-project analysis disabled
14:35:32.017 INFO  - Sensor CpdSensor done: 176 ms
14:35:33.498 INFO  - Execute decorators...
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 23.957s
Final Memory: 17M/116M
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: org.sonar.api.utils.SonarException: Fail to decorate 'org.sonar.api.resources.File@1f3b3c33[key=Program.cs,de
precatedKey=Program.cs,path=Program.cs,dir=[root],filename=Program.cs,language=C#]'
        at org.sonar.batch.phases.DecoratorsExecutor.executeDecorator(DecoratorsExecutor.java:99)
        at org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:82)
        at org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:74)
        at org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:74)
        at org.sonar.batch.phases.DecoratorsExecutor.execute(DecoratorsExecutor.java:66)
        at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:123)
        at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:217)
        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:217)
        at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:212)
        at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:210)
        at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:205)
        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:64)
        at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:51)
        at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:110)
        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.BootstrapContainer.executeTask(BootstrapContainer.java:185)
        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(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
        ... 9 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 158
        at org.sonar.plugins.core.issue.tracking.HashedSequence.getHash(HashedSequence.java:64)
        at org.sonar.plugins.core.issue.SourceHashHolder.getNewLinesMatching(SourceHashHolder.java:97)
        at org.sonar.plugins.core.issue.IssueTrackingDecorator.relocateManualIssue(IssueTrackingDecorator.java:234)
        at org.sonar.plugins.core.issue.IssueTrackingDecorator.addUnmatched(IssueTrackingDecorator.java:192)
        at org.sonar.plugins.core.issue.IssueTrackingDecorator.doDecorate(IssueTrackingDecorator.java:121)
        at org.sonar.plugins.core.issue.IssueTrackingDecorator.decorate(IssueTrackingDecorator.java:100)
        at org.sonar.batch.phases.DecoratorsExecutor.executeDecorator(DecoratorsExecutor.java:91)
        ... 37 more
ERROR:
ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.

C:\Users\Administrator\Desktop\HelloWorld2>
Reply | Threaded
Open this post in threaded view
|

Re: Sonar-runner error : fail to decorate

Julien HENRY
I don't know how you managed reach this situation, but it seems that in the SQ server you have a manual issue declared on file Program.cs at line 158 while the file Program.cs doesn't have 158 lines.

To confirm this, could you please:
  - search all issues of file Program.cs in SQ server and confirm there is a manual issue at line 158
  - open the file Program.cs in SQ server and confirm there are less than 158 lines of source code

++

Julien

2014-12-19 10:09 GMT+01:00 rakitha.perera <[hidden email]>:
Hi Julien,
Thank you for the quick reply.
Full stack tree after running with -e


C:\Users\Administrator\Desktop\HelloWorld2>sonar-runner -e
C:\Program Files\Sonar\sonar-runner-2.4
SonarQube Runner 2.4
Java 1.8.0_05 Oracle Corporation (64-bit)
Windows Server 2008 R2 6.1 amd64
INFO: Error stacktraces are turned on.
INFO: Runner configuration file: C:\Program
Files\Sonar\sonar-runner-2.4\conf\sonar-runner.properties
INFO: Project configuration file:
C:\Users\Administrator\Desktop\HelloWorld2\sonar-project.properties
INFO: Default locale: "en_US", source code encoding: "UTF-8"
INFO: Work directory: C:\Users\Administrator\Desktop\HelloWorld2\.\.sonar
INFO: SonarQube Server 4.4
14:35:11.614 INFO  - Load global settings
14:35:12.164 INFO  - User cache: C:\Users\Administrator\.sonar\cache
14:35:12.191 INFO  - Install plugins
14:35:12.511 INFO  - Install JDBC driver
14:35:12.523 INFO  - Create JDBC datasource for
jdbc:mysql://cmbpde1169:3306/sonar?useUnicode=true&amp;characterEncoding
=utf8
14:35:13.180 INFO  - Initializing Hibernate
14:35:22.643 INFO  - Loading technical debt model...
14:35:22.691 INFO  - Loading technical debt model done: 48 ms
14:35:22.698 INFO  - Load project settings
14:35:22.957 INFO  - Using the following Visual Studio solution:
C:\Users\Administrator\Desktop\HelloWorld2\.\HelloWorld
2.sln
14:35:23.047 INFO  - Locating the assembly for the project: HelloWorld2...
14:35:23.048 INFO  - The following candidate assembly was found:
C:\Users\Administrator\Desktop\HelloWorld2\.\HelloWorld
2\bin\Debug\HelloWorld2.exe
14:35:23.048 INFO  - The following candidate assembly was not built:
C:\Users\Administrator\Desktop\HelloWorld2\.\HelloW
orld2\bin\Release\HelloWorld2.exe
14:35:23.048 INFO  - Apply project exclusions
14:35:23.527 INFO  - -------------  Scan HelloWorld2
14:35:23.533 INFO  - Load module settings
14:35:25.294 INFO  - Loading rules...
14:35:28.427 INFO  - Loading rules done: 3133 ms
14:35:28.578 INFO  - Configure Maven plugins
14:35:28.878 INFO  - Compare to previous analysis (2014-12-18)
14:35:28.911 INFO  - Compare over 30 days (2014-11-19, analysis of
2014-12-18 15:12:40.0)
14:35:28.912 INFO  - No quality gate is configured.
14:35:29.531 INFO  - Base dir:
C:\Users\Administrator\Desktop\HelloWorld2\.\HelloWorld2
14:35:29.531 INFO  - Working dir:
C:\Users\Administrator\Desktop\HelloWorld2\.\.sonar\HelloWorldTest_HelloWorld2
14:35:29.532 INFO  - Source dirs:
C:\Users\Administrator\Desktop\HelloWorld2\.\HelloWorld2
14:35:29.532 INFO  - Source encoding: UTF-8, default locale: en_US
14:35:29.532 INFO  - Index files
14:35:29.647 INFO  - 2 files indexed
14:35:29.839 INFO  - Quality profile for cs: Sonar way
14:35:29.850 INFO  - All ReSharper rules are disabled, skipping its
execution.
14:35:29.868 INFO  - All FxCop rules are disabled, skipping its execution.
14:35:29.894 INFO  - Trying to guess scm provider from project layout...
14:35:29.899 INFO  - Didn't find which SCM provider is used. Fallback on
configuration
14:35:29.900 WARN  - SCM URL must not be blank. SCM Stats Plugin will not
run.Please check the parameter SCM URL or the
<scm> section of Maven pom.
14:35:29.901 INFO  - JIRA issues sensor will not run as some parameters are
missing.
14:35:29.904 INFO  - Sensor QProfileSensor...
14:35:29.937 INFO  - Sensor QProfileSensor done: 32 ms
14:35:29.937 INFO  - Sensor InitialOpenIssuesSensor...
14:35:31.107 INFO  - Sensor InitialOpenIssuesSensor done: 1170 ms
14:35:31.118 INFO  - Sensor ProjectLinksSensor...
14:35:31.360 INFO  - Sensor ProjectLinksSensor done: 242 ms
14:35:31.366 INFO  - Sensor VersionEventsSensor...
14:35:31.407 INFO  - Sensor VersionEventsSensor done: 41 ms
14:35:31.408 INFO  - Sensor FileHashSensor...
14:35:31.417 INFO  - Sensor FileHashSensor done: 9 ms
14:35:31.418 INFO  - Sensor
org.sonar.plugins.csharp.squid.CSharpSquidSensor@568aea48...
14:35:31.502 INFO  - 2 source files to be analyzed
14:35:31.689 INFO  - 2/2 source files analyzed
14:35:31.840 INFO  - Sensor
org.sonar.plugins.csharp.squid.CSharpSquidSensor@568aea48 done: 422 ms
14:35:31.841 INFO  - Sensor CpdSensor...
14:35:31.842 INFO  - SonarBridgeEngine is used for cs
14:35:31.843 INFO  - Cross-project analysis disabled
14:35:32.017 INFO  - Sensor CpdSensor done: 176 ms
14:35:33.498 INFO  - Execute decorators...
INFO:
------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO:
------------------------------------------------------------------------
Total time: 23.957s
Final Memory: 17M/116M
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: org.sonar.api.utils.SonarException: Fail to decorate
'org.sonar.api.resources.File@1f3b3c33[key=Program.cs,de
precatedKey=Program.cs,path=Program.cs,dir=[root],filename=Program.cs,language=C#]'
        at
org.sonar.batch.phases.DecoratorsExecutor.executeDecorator(DecoratorsExecutor.java:99)
        at
org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:82)
        at
org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:74)
        at
org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:74)
        at
org.sonar.batch.phases.DecoratorsExecutor.execute(DecoratorsExecutor.java:66)
        at
org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:123)
        at
org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:217)
        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:217)
        at
org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:212)
        at
org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:210)
        at
org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:205)
        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:64)
        at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:51)
        at
org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:110)
        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.BootstrapContainer.executeTask(BootstrapContainer.java:185)
        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(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at
org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
        ... 9 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 158
        at
org.sonar.plugins.core.issue.tracking.HashedSequence.getHash(HashedSequence.java:64)
        at
org.sonar.plugins.core.issue.SourceHashHolder.getNewLinesMatching(SourceHashHolder.java:97)
        at
org.sonar.plugins.core.issue.IssueTrackingDecorator.relocateManualIssue(IssueTrackingDecorator.java:234)
        at
org.sonar.plugins.core.issue.IssueTrackingDecorator.addUnmatched(IssueTrackingDecorator.java:192)
        at
org.sonar.plugins.core.issue.IssueTrackingDecorator.doDecorate(IssueTrackingDecorator.java:121)
        at
org.sonar.plugins.core.issue.IssueTrackingDecorator.decorate(IssueTrackingDecorator.java:100)
        at
org.sonar.batch.phases.DecoratorsExecutor.executeDecorator(DecoratorsExecutor.java:91)
        ... 37 more
ERROR:
ERROR: Re-run SonarQube Runner using the -X switch to enable full debug
logging.

C:\Users\Administrator\Desktop\HelloWorld2>



--
View this message in context: http://sonarqube.15.x6.nabble.com/Sonar-runner-error-fail-to-decorate-tp5031183p5031187.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: Sonar-runner error : fail to decorate

rakitha.perera
Thank you very much. I managed to find the problem after your explanation.when creating manual issues from my program I've put some lines to the issues which are originally not exist in the program I analyze.

regards.
Reply | Threaded
Open this post in threaded view
|

Re: Sonar-runner error : fail to decorate

Julien HENRY
Thanks for the feedback.

Issue created:
http://jira.codehaus.org/browse/SONAR-5965

2014-12-19 10:53 GMT+01:00 rakitha.perera <[hidden email]>:
Thank you very much. I managed to find the problem after your
explanation.when creating manual issues from my program I've put some lines
to the issues which are originally not exist in the program I analyze.

regards.



--
View this message in context: http://sonarqube.15.x6.nabble.com/Sonar-runner-error-fail-to-decorate-tp5031183p5031191.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