Jump to content

Java Error "Exception handling console input java.io.IOException: The handle is invalid"

Hello,

i have the same problem as this topic;

I use 64bit java.

"java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)"

 

I also copyed your server config, but it still not working.

 

The server is running, and i can connect, but if someone else is joining, than he will be kicked after a few seconds, ERROR: connection timed out / or some wired java error message.

 

ERROR:

[19:22:37 ERROR]: Exception handling console input
java.io.IOException: Das Handle ist ungültig
    at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_281]
    at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_281]
    at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_281]
    at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_281]
    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_281]
    at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_281]
    at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_281]
    at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_281]
    at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_281]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_281]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_281]
    at zg$1.run(SourceFile:95) [mcserver.jar:?]
[19:22:38 INFO]: Starting Minecraft server on *:25565

 

Ports are correctly configured, on my Win10 and on my Router.

- 25565 for TCP and UDP

- C:\program files\java\jre1.8.0_281\bin\javaw.exe --> all ports in windows allowed

 

If i deactivate the windows defender, i have the same problem.

 

I have reinstalled the Java and the Server and get the same error message in my server log.

 

Do you have any other ideas?

I would be very greateful for your help.

 

 

Edited by SansVarnic
Link to post
Share on other sites

-= Comment moved to own Topic =-

Please dont necro topics, Thank you.

COMMUNITY STANDARDS   |   TECH NEWS POSTING GUIDELINES   |   FORUM STAFF

LTT Folding Users Tips, Tricks and FAQ   |   F@H & BOINC Badge Request   |   F@H Contribution    My Rig   |   Project Steamroller

I am a Moderator, but I am fallible. Discuss or debate with me as you will but please do not argue with me as that will get us nowhere.

 

Spoiler

Character is like a Tree and Reputation like its Shadow. The Shadow is what we think of it; The Tree is the Real thing.  ~ Abraham Lincoln

You have enemies? Good. That means you've stood up for something, sometime in your life.  ~ Winston Churchill

Reputation is a Lifetime to create but takes only seconds to destroy.

Docendo discimus - "to teach is to learn"

 

  

 CHRISTIAN MEMBER 

 
 
 
 
 
 

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×