Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.io.EOFException & java.util.concurrent.TimeoutException #65

Closed
Chsui opened this issue Feb 20, 2021 · 1 comment
Closed

java.io.EOFException & java.util.concurrent.TimeoutException #65

Chsui opened this issue Feb 20, 2021 · 1 comment
Labels
bug Something isn't working information requested Further information is requested investigating

Comments

@Chsui
Copy link

Chsui commented Feb 20, 2021

 java.util.concurrent.TimeoutException
[13:59:13 WARN]:        at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)
[13:59:13 WARN]:        at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)
[13:59:13 WARN]:        at com.sitrica.japson.shared.Japson.sendPacket(Japson.java:200)
[13:59:13 WARN]:        at com.sitrica.japson.client.JapsonClient.sendPacket(JapsonClient.java:150)
[13:59:13 WARN]:        at com.skungee.spigot.tasks.ServerDataTask.run(ServerDataTask.java:65)
[13:59:13 WARN]:        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99)
[13:59:13 WARN]:        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
[13:59:13 WARN]:        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[13:59:13 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[13:59:13 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[13:59:13 WARN]:        at java.base/java.lang.Thread.run(Thread.java:834)

I uninstalled the existing 1.0.15 version and installed the 2.0.0 ALPHA-14 version. Since I turned on the server, I keep getting the above error.

I just put Skungee into the Bungee server plugins folder and each server's plugins folder. Is my installation method wrong? Or is it Skungee's problem?

14:08:02 [SEVERE] Exception in thread "pool-2-thread-1"
14:08:02 [SEVERE] java.lang.IllegalStateException: java.io.EOFException
14:08:02 [SEVERE]     at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:408)
14:08:02 [SEVERE]     at com.sitrica.japson.server.SocketHandler.run(SocketHandler.java:45)
14:08:02 [SEVERE]     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
14:08:02 [SEVERE]     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
14:08:02 [SEVERE]     at java.base/java.lang.Thread.run(Thread.java:834)
14:08:02 [SEVERE] Caused by: java.io.EOFException
14:08:02 [SEVERE]     at java.base/java.io.DataInputStream.readFully(DataInputStream.java:202)
14:08:02 [SEVERE]     at java.base/java.io.DataInputStream.readUTF(DataInputStream.java:614)
14:08:02 [SEVERE]     at java.base/java.io.DataInputStream.readUTF(DataInputStream.java:569)
14:08:02 [SEVERE]     at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:406)
14:08:02 [SEVERE]     ... 4 more

I'm also getting this error on Bungee's console.

Skungee 2.0.0 ALPHA-14
BungeeCord-Bootstrap:1.16-R0.5-SNAPSHOT
Paper 1.16.4 b416

@Chsui Chsui added the bug Something isn't working label Feb 20, 2021
@TheLimeGlass
Copy link
Member

TheLimeGlass commented Feb 20, 2021

The packet was incorrectly sent or was not a Skungee packet.

Make sure the versions are the same on the Spigot and Proxy side. Skungee 2.0.0 does not work with series 1.X

Needs debug log, enable debug and reproduce the error.

@TheLimeGlass TheLimeGlass added information requested Further information is requested investigating labels Feb 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working information requested Further information is requested investigating
Projects
None yet
Development

No branches or pull requests

2 participants