gjd6640 / sonar-text-plugin

A free and open-source plugin for SonarSource's Sonarqube product that lets you create rules to flag issues in text files.
Apache License 2.0
23 stars 4 forks source link

Fixed NPE upon attempts to raise issues with null "message" property #20

Closed gjd6640 closed 3 years ago

gjd6640 commented 3 years ago

Main fix: Prevented attempts to raise issues with null messages. The Sonarqube API doesn't allow for that.

Also got rid of some usage of deprecated InputFile methods, added InputStream buffering, and improved clarity of exception handling.