Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-129135

Getting an error when trying to run a server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.12.2
    • None
    • Windows 10, Fully portforwarded/static ip'd on pc
    • Unconfirmed

      I get this when the server jar runs. it generates everything respectively and is quick however when i try to connect i cant
      [22:54:56 INFO]: Starting minecraft server version 1.12.2
      [22:54:56 WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
      [22:54:56 INFO]: Loading properties
      [22:54:56 ERROR]: Exception handling console input
      java.io.IOException: The handle is invalid
      at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_171]
      at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_171]
      at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_171]
      at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_171]
      at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_171]
      at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_171]
      at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_171]
      at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_171]
      at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_171]
      at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_171]
      at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_171]
      at nz$2.run(SourceFile:100) [server.jar:?]
      [22:54:56 INFO]: Default game type: SURVIVAL
      [22:54:56 INFO]: Generating keypair
      [22:54:57 INFO]: Starting Minecraft server on *:25565
      [22:54:57 INFO]: Using default channel type
      [22:54:58 INFO]: Preparing level "world"
      [22:54:59 INFO]: Loaded 488 advancements
      [22:54:59 INFO]: Preparing start region for level 0
      [22:55:00 INFO]: Preparing spawn area: 2%
      [22:55:01 INFO]: Preparing spawn area: 29%
      [22:55:02 INFO]: Preparing spawn area: 56%
      [22:55:03 INFO]: Preparing spawn area: 92%
      [22:55:04 INFO]: Done (5.496s)! For help, type "help" or "?"

            Unassigned Unassigned
            Bleu_v28 Cole Stetson Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: