I want to print a box into the Java console using Unicode characters, but for some reason it gives me this runtime error:
--------------------Configuration: PacManGame - JDK version 1.7.0_25 <Default> - <Default>--------------------
Exception in thread "main" java.lang.NullPointerException
at Scoreboard.genTopLine(Scoreboard.java:35)
at Scoreboard.<init>(Scoreboard.java:17)
at PacManGame.main(PacManGame.java:36)
Process interrupted by user.
code: http://pastebin.com/nuAsH857
Does anyone know what's wrong?