Fixed IntelliJ complaining that console is null