-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analysis fails with InputMismatchException after Sonar and Checkstyle Update #533
Comments
the output ( i don't think this is related to the Checkstyle upgrade. SQ (scanners) usually use the system encoding unless SQ was configured to use a specific encoding (e.g., UTF-8). |
fyi, i have copied your code using SQ 10.7 (containerized) and analysis runs through smoothly. |
Hi, sorry for the late reply. We run our analysis on a Windows system, not containerized, maybe this makes a difference. Thanks! |
The latest checkstyle uses utf 8 by default unless an override is sent to it (by configuration file or by setting directly). I don't know sonar, but the windows charset output looks it comes from sonar inside |
Sonar version: 10.7 (was 10.4)
Checkstyle sonar plugin version: 10.17.0 (was 10.12.5)
Hi,
since we upgraded Sonar and Checkstyle an exception occurs while performing the checkstyle analysis:
Console output:
Error message:
With Checkstyle the analysis on this file can be performed:
This is the affected file:
As you can see, it contains several German umlauts. The highlighted console output as well mentions one of them.
With former versions of SonarQube and Checkstyle-Plugin this file didn't cause any problems and it hasn't been changed since.
Thanks!
Regards,
Carsten
The text was updated successfully, but these errors were encountered: