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

Uncaught exception spam when a client tries to connect to a disconnected proxy #47

Open
VADemon opened this issue Jan 9, 2021 · 0 comments

Comments

@VADemon
Copy link
Contributor

VADemon commented Jan 9, 2021

Doesn't crash, but shouldn't happen anyway.

Client reconnect timer: 5s, hence multiple messages between proxy reconnections to the server.

[09/01/2021 09:05:30] [Client] [INFO] Reconnecting in 1
[09/01/2021 09:05:31] [Auth] [INFO] Logging in...
[09/01/2021 09:05:31] [Auth] [SUCCESS] Logged in.
[09/01/2021 09:05:31] [Client] [INFO] Connecting to 2b2t.org:25565 using :::0
[09/01/2021 09:05:32] [Client] [SUCCESS] Connected to connect.2b2t.org./destIP:25565!
[09/01/2021 09:05:32] [Client] [INFO] Connected to 2b2t.org:25565 using SourceIP:55245
[09/01/2021 09:05:32] [INFO] Saving config...
[09/01/2021 09:05:32] [INFO] Config saved.
[09/01/2021 09:05:32] [Client] [INFO] Disconnected.
[09/01/2021 09:05:32] [Client] [INFO] Disconnected. Reason: Connection closed.
[09/01/2021 09:05:32] [Client] [INFO] Reconnecting in 31
[09/01/2021 09:05:33] [Client] [INFO] Reconnecting in 30
[09/01/2021 09:05:34] [Client] [INFO] Reconnecting in 29
[09/01/2021 09:05:35] [ALERT] ****************************************
[09/01/2021 09:05:35] [ALERT] *
[09/01/2021 09:05:35] [ALERT] * Uncaught exception in thread "Thread[Thread-127,10,main]"!
[09/01/2021 09:05:35] [ALERT] *
[09/01/2021 09:05:35] [ALERT] * java.lang.NullPointerException
[09/01/2021 09:05:35] [ALERT] *     at net.daporkchop.toobeetooteebot.Bot.lambda$startServer$6(Bot.java:328)
[09/01/2021 09:05:35] [ALERT] *     at com.github.steveice10.mc.protocol.ServerListener$UserAuthTask.run(ServerListener.java:209)
[09/01/2021 09:05:35] [ALERT] *     at java.lang.Thread.run(Thread.java:748)
[09/01/2021 09:05:35] [ALERT] *
[09/01/2021 09:05:35] [ALERT] ****************************************
[09/01/2021 09:05:35] [Client] [INFO] Reconnecting in 28
[09/01/2021 09:05:36] [Client] [INFO] Reconnecting in 27
[09/01/2021 09:05:37] [Client] [INFO] Reconnecting in 26
[09/01/2021 09:05:38] [Client] [INFO] Reconnecting in 25
[09/01/2021 09:05:39] [Client] [INFO] Reconnecting in 24
[09/01/2021 09:05:40] [Client] [INFO] Reconnecting in 23
[09/01/2021 09:05:40] [ALERT] ****************************************
[09/01/2021 09:05:40] [ALERT] *
[09/01/2021 09:05:40] [ALERT] * Uncaught exception in thread "Thread[Thread-129,10,main]"!
[09/01/2021 09:05:40] [ALERT] *
[09/01/2021 09:05:40] [ALERT] * java.lang.NullPointerException
[09/01/2021 09:05:40] [ALERT] *     at net.daporkchop.toobeetooteebot.Bot.lambda$startServer$6(Bot.java:328)
[09/01/2021 09:05:40] [ALERT] *     at com.github.steveice10.mc.protocol.ServerListener$UserAuthTask.run(ServerListener.java:209)
[09/01/2021 09:05:40] [ALERT] *     at java.lang.Thread.run(Thread.java:748)
[09/01/2021 09:05:40] [ALERT] *
[09/01/2021 09:05:40] [ALERT] ****************************************
[09/01/2021 09:05:41] [Client] [INFO] Reconnecting in 22
[09/01/2021 09:05:42] [Client] [INFO] Reconnecting in 21
[09/01/2021 09:05:43] [Client] [INFO] Reconnecting in 20
[09/01/2021 09:05:44] [Client] [INFO] Reconnecting in 19
[09/01/2021 09:05:45] [Client] [INFO] Reconnecting in 18
[09/01/2021 09:05:46] [Client] [INFO] Reconnecting in 17
[09/01/2021 09:05:46] [ALERT] ****************************************
[09/01/2021 09:05:46] [ALERT] *
[09/01/2021 09:05:46] [ALERT] * Uncaught exception in thread "Thread[Thread-131,10,main]"!
[09/01/2021 09:05:46] [ALERT] *
[09/01/2021 09:05:46] [ALERT] * java.lang.NullPointerException
[09/01/2021 09:05:46] [ALERT] *     at net.daporkchop.toobeetooteebot.Bot.lambda$startServer$6(Bot.java:328)
[09/01/2021 09:05:46] [ALERT] *     at com.github.steveice10.mc.protocol.ServerListener$UserAuthTask.run(ServerListener.java:209)
[09/01/2021 09:05:46] [ALERT] *     at java.lang.Thread.run(Thread.java:748)
[09/01/2021 09:05:46] [ALERT] *
[09/01/2021 09:05:46] [ALERT] ****************************************
[09/01/2021 09:05:47] [Client] [INFO] Reconnecting in 16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant