When I'm starting the server (with the .jar file from the mojang website) this error appears although everything is working correctly.
[21:25:11 INFO]: Starting minecraft server version 1.7
[21:25:11 INFO]: Loading properties
[21:25:11 ERROR]: Exception handling console input
java.io.IOException: Das Handle ist ungültig
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.7.0_45]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.7.0_45]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.7.0_45]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.7.0_45]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.7.0_45]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.7.0_45]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.7.0_45]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.7.0_45]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.7.0_45]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_45]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_45]
at lk.run(SourceFile:78) [minecraft_server.1.7.jar:?]
[21:25:11 INFO]: Default game type: SURVIVAL
[21:25:11 INFO]: Generating keypair
[21:25:11 INFO]: Starting Minecraft server on *:25565
[21:25:11 INFO]: Preparing level "world"
[21:25:11 INFO]: Preparing start region for level 0
[21:25:12 INFO]: Done (0,631s)! For help, type "help" or "?"
Also getting this on the stand-alone server.