Note that there are some explanatory texts on larger screens.

plurals
  1. POException while running sonar-runner on a Java Project
    primarykey
    data
    text
    <p>I have installed <code>sonar-runner-1.0</code> and <code>sonar-3.1.1</code> on <code>MAC OS X 10.8.2</code>. I configured sonar-runner for my stand alone project and tried running sonar-runner file for analysis of the code. But the script file returned an error which is as follows :</p> <pre><code>Error in socksNonProxyHosts system property: sun.misc.REException: local is a duplicate Sonar version: 3.5.1 Exception in thread "main" org.sonar.batch.bootstrapper.BootstrapException: org.sonar.batch.bootstrapper.BootstrapException: Fail to download the file: localhost:9000/batch at org.sonar.batch.bootstrapper.Bootstrapper.downloadBatchFiles(Bootstrapper.java:164) at org.sonar.batch.bootstrapper.Bootstrapper.createClassLoader(Bootstrapper.java:87) at org.sonar.runner.Main.createClassLoader(Main.java:151) at org.sonar.runner.Main.execute(Main.java:67) at org.sonar.runner.Main.main(Main.java:48) Caused by: org.sonar.batch.bootstrapper.BootstrapException: Fail to download the file: localhost:9000/batch/ at org.sonar.batch.bootstrapper.Bootstrapper.remoteContentToFile(Bootstrapper.java:113) at org.sonar.batch.bootstrapper.Bootstrapper.downloadBatchFiles(Bootstrapper.java:159) ... 4 more Caused by: java.io.FileNotFoundException: /net/10.132.20.192/Users/498546/Desktop/sonar-runner-1.0/bin/./.sonar/batch at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:194) at org.sonar.batch.bootstrapper.Bootstrapper.remoteContentToFile(Bootstrapper.java:107) ... 5 more </code></pre> <p>I have even set the <code>SONAR_RUNNER_HOME</code> path for Java and created a<code>sonar_project.properties</code> file for my project and placed it in bin folder of sonar_runner.</p> <p>Can anyone please suggest as what can be the cause of this error ?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload