Hello! When I open the file "server.jar" its window opens for 2 seconds and immediately closes.
And also in the log window there is such an error:
[13:01:45 ERROR]: Exception handling console input[13:01:45 ERROR]: Exception handling console inputjava.io.IOException: Invalid descriptor
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_181]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_181]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_181]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_181]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_181]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_181]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_181]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_181]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_181]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_181]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_181]
at sn$2.run(SourceFile:107) [server.jar:?]
I have a dynamic IP address.
After some manipulations, this file does not close by itself, but there is still this error.
When I change the IP address value in the file "server.properties", often the file "server.jar" closes immediately. After that, I reboot the computer and change the IP address again, and finally this file does not close, but the error remains.
What does this error mean ???
Thanks for help!!!
Comments 4
Please get in touch with the Community Support first before reporting this as a bug as this might just be a technical/configuration issue.
Ktoś Ktosiowski, I'm sorry, but why do I need a local server ???
I have opened port 25565, so why should I create a local server?
Next time, carefully read the question.
I asked: "What does this error mean?"
And you write me some kind of nonsense.
Please help, I have been having the same issue and can't seem to fix the problem, I've tried to remake the server, but it still crashes after 2 seconds of opening. It only does that when I put my Default Gateway in the server-ip= in the Server Properties, but it won't open the server if I don't put my ip. The run.bat doesn't work either, but I never needed it after it added the files. My friend is also experiencing the same problem.
The ip address in the config shouldn't be your ip. it is an interface(eg. 0.0.0.0 OR empty for every interface, 127.0.0.1 for only this computer, and so on)
Remove the value of the ip-address field in the config