-
-
Notifications
You must be signed in to change notification settings - Fork 52
java.lang.IllegalArgumentException: Given path src/main does not exist! #163
Comments
Not enough information to debug this. What were you doing? What's your environment?
Is the |
My Jenkin build is failing with this exception which was working till yesterday. No changes done in code, suddenly started breaking with this exception while doing sonar scan. In my build.gradle I have this full stacktrace: |
That's an extremely old version of Detekt so it's hard to support you at this stage |
I changed the version to 1.19.0 |
Oh I have given this in sonar configuration Not sure if its referring to this src/main path. It was working earlier |
Any clue whats going wrong here? |
I have the same issue after upgrading from sonarqube 8.2 to sonarqube 8.9 and upgrading detekt 2.0.0 to 2.5.0 |
ERROR: Error during SonarScanner execution
14:31:50 java.lang.IllegalArgumentException: Given path src/main does not exist!
14:31:50 at io.gitlab.arturbosch.detekt.core.KtTreeCompiler.compile(KtTreeCompiler.kt:22)
14:31:50 at io.gitlab.arturbosch.detekt.core.tooling.ParsingStrategyKt$inputPathsToKtFiles$1.invoke(ParsingStrategy.kt:25)
14:31:50 at io.gitlab.arturbosch.detekt.core.tooling.ParsingStrategyKt$inputPathsToKtFiles$1.invoke(ParsingStrategy.kt:23)
14:31:50 at io.gitlab.arturbosch.detekt.core.tooling.Lifecycle$analyze$filesToAnalyze$1.invoke(Lifecycle.kt:36)
The text was updated successfully, but these errors were encountered: