- Created Tuesday, February 23rd 2016 @ 21:57:08
Hello everyone! I'm writing my bot in Java, and I am using a BufferedReader to read the input from stdin. When I run my bot locally, everything works fine. However, sometimes when I look at the error dump of some games online I see the following error: http://puu.sh/niSJe/c93c398e3c.png
Apparently, something with the input stream goes wrong when terminating the program. It does not influence any of game, but it just does not look very nice when I'm looking at the logs of my games.. Does anyone know what could be going on and what to do?
- Created Wednesday, February 24th 2016 @ 19:09:11
You're not supposed to buffer the input or output, so that fixes it.