Fixed a ClassCastException when reporting with the console.
Changed to version 3.1.2.