Unicode Parsing Error
Symptom
A task checked by the sonarqube engine fails, and the log indicates that characters that cannot be parsed exist.
Cause Analysis
Java compiler handles code and Unicode characters, with Unicode being top priority. \u000d is a line break, making the compiler see next code as new line, avoiding format problems.
However, in the check by the sonarqube engine, lines with \u000d are commented out, leading to an extra close curly bracket (}), so a compilation error occurs when compilation rules are used.

Solution
Remove // or manually place the open curly bracket ({) on a new line.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot