You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SonarQube
Hi All,
The sonar-runner.properties is working good for very sample project but when i try to for my project base, it fails like below.. Can any one help on this.?
$ sonar-runner -X SonarQube Runner 2.4 Java 1.8.0_101 Oracle Corporation (64-bit) Windows 7 6.1 amd64 INFO: Error stacktraces are turned on. INFO: Runner configuration file: C:\soft\sonar-runner-2.4\conf\sonar-runner.properties INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ Total time: 0.011s Final Memory: 1M/123M INFO: ------------------------------------------------------------------------ ERROR: Error during Sonar runner execution java.lang.IllegalStateException: Fail to load file: C:\soft\sonar-runner-2.4\conf\sonar-runner.properties at org.sonar.runner.Conf.toProperties(Conf.java:192) at org.sonar.runner.Conf.loadGlobalProperties(Conf.java:63) at org.sonar.runner.Conf.properties(Conf.java:51) 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.IllegalArgumentException: Malformed \uxxxx encoding. at java.util.Properties.loadConvert(Unknown Source) at java.util.Properties.load0(Unknown Source) at java.util.Properties.load(Unknown Source) at org.sonar.runner.Conf.toProperties(Conf.java:184) ... 5 more $ sonar-runner -X SonarQube Runner 2.4 Java 1.8.0_101 Oracle Corporation (64-bit) Windows 7 6.1 amd64 INFO: Error stacktraces are turned on. INFO: Runner configuration file: C:\soft\sonar-runner-2.4\conf\sonar-runner.properties INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ Total time: 0.011s Final Memory: 1M/123M INFO: ------------------------------------------------------------------------ ERROR: Error during Sonar runner execution java.lang.IllegalStateException: Fail to load file: C:\soft\sonar-runner-2.4\conf\sonar-runner.properties at org.sonar.runner.Conf.toProperties(Conf.java:192) at org.sonar.runner.Conf.loadGlobalProperties(Conf.java:63) at org.sonar.runner.Conf.properties(Conf.java:51) 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.IllegalArgumentException: Malformed \uxxxx encoding. at java.util.Properties.loadConvert(Unknown Source) at java.util.Properties.load0(Unknown Source) at java.util.Properties.load(Unknown Source) at org.sonar.runner.Conf.toProperties(Conf.java:184) ... 5 more
Julien HENRY
unread,
Jan 9, 2017, 4:40:05 AM1/9/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SonarQube, pasumarthi...@gmail.com
Hi,
First of all, SonarQube Scanner 2.4 is getting very old. Please consider upgrading.
Then the error message basically say there is an invalid character in C:\soft\sonar-runner-2.4\conf\sonar-runner.properties. Note that encoding of this file have to be ISO-8859-1.