ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: Project home must be an existing directory: E:\Sample-Code\LISTING 1-2 ParallelForEach in use
at org.sonarsource.scanner.api.Dirs.initProjectDirs(Dirs.java:51)
at org.sonarsource.scanner.api.Dirs.init(Dirs.java:41)
at org.sonarsource.scanner.api.EmbeddedScanner.initAnalysisProperties(EmbeddedScanner.java:158)
at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:137)
at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
at org.sonarsource.scanner.cli.Main.main(Main.java:61)
ERROR:
The SonarScanner did not complete successfully
19:06:53.837 Post-processing failed. Exit code: 1
ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: Project home must be an existing directory: C:\Code\LISTING 1-2 ParallelForEach in use
INFO: ------------------------------------------------------------------------
at org.sonarsource.scanner.api.Dirs.initProjectDirs(Dirs.java:51)
at org.sonarsource.scanner.api.Dirs.init(Dirs.java:41)
at org.sonarsource.scanner.api.EmbeddedScanner.initAnalysisProperties(EmbeddedScanner.java:158)
at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:137)
at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
at org.sonarsource.scanner.cli.Main.main(Main.java:61)
ERROR:
The SonarScanner did not complete successfully
14:06:25.56 Post-processing failed. Exit code: 1
Hi,
You’ve dumped approximately the same log twice in two days (over the weekend, no less) with no accompanying detail or explanation in two separate threads. Per the FAQ, Don’t do that. It’s fine to bump a topic after a reasonable wait period (24h, especially on the weekend is not reasonable) but do not create multiple topics for the same issue.
And if you really want help, give some context around you log.
As it is, I really don’t have enough here to begin helping.
Ann