You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* What went wrong:
Execution failed for task ':app-chatncharge:sonarlintMain'.
> A failure occurred while executing name.remal.gradle_plugins.sonarlint.SonarLintAction
> Malformed input or input contains unmappable characters: /home/christian.hujer/git/nelkinda/chatncharge4/app-chatncharge/src/main/resources/static/assets/profile_pics/rīgas.jpg
Note the filename: rīgas.jpg
Workaround: Only use ASCII in filenames. (Which is annoying, why is SonarLint even interested in a JPEG file in the resources path.)
Note
This might be a bug in the upstream SonarLint instead of the plugin.
Further information:
Gradle version: 8.1.1
SonarLint Plugin Version: 3.2.2
Encoding: UTF-8
Java version: 19.0.2.fx-zulu
Project: Kotlin Multi-Module
Build File Language: Kotlin Script
The text was updated successfully, but these errors were encountered:
@christianhujer, unfortunately, I couldn't reproduce the issue. Could you please execute gradlew sonalitMain --stacktrace to get the full stacktrace and post the stacktrace here?
This plugin executes SonarLint checks for all source files, not only for Java/Kotlin.
My main assumption is that you faced this issue: https://stackoverflow.com/q/39770134. If so, I'd recommend renaming the file, as there is a chance that something else can also be broken. You can also try this suggestion.
Note the filename:
rīgas.jpg
Workaround: Only use ASCII in filenames. (Which is annoying, why is SonarLint even interested in a JPEG file in the
resources
path.)Further information:
The text was updated successfully, but these errors were encountered: