violations-lib
violations-lib copied to clipboard
NumberFormatException thrown by ErrorProne parser
Following error was thrown:
java.lang.NumberFormatException: For input string: "none -target 1.8 -source 1.8 -g"
It seems odd that the regex used by GoogleErrorProneParser doesn't enforce that capture group 5 is a number, since it immediately tries to call Integer.parseInt
on it.
There are also other issues reported on errorprone. Best might be tonremove it.
Sadly they dont seem to understand the importance of https://github.com/google/error-prone/issues/444
Also #95 may be an alternative to replace errorprone parser.
OK, we use error prone a lot. I'd implement the ability to output in a known format....if I knew they were going to accept it/at least engage.