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

TPS not shown and console spams errors. #108

Open
argon000s opened this issue Apr 24, 2022 · 2 comments
Open

TPS not shown and console spams errors. #108

argon000s opened this issue Apr 24, 2022 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@argon000s
Copy link

I get this error when using WebConsole version 2.4 and Paper 1.18.1

[04:14:53] [WebConsole] User user1 from /[0:0:0:0:0:0:0:1]:59902 as ADMIN successfully logged in.
[04:14:55] java.lang.ClassNotFoundException: net.minecraft.server.v1_18_R1.MinecraftServer
[04:14:55] at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:151)
[04:14:55] at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103)
[04:14:55] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
[04:14:55] at java.base/java.lang.Class.forName0(Native Method)
[04:14:55] at java.base/java.lang.Class.forName(Class.java:375)
[04:14:55] at WebConsole-2.4.jar//es.mesacarlos.webconsole.websocket.command.TpsCommand.getTps(TpsCommand.java:38)
[04:14:55] at WebConsole-2.4.jar//es.mesacarlos.webconsole.websocket.command.TpsCommand.execute(TpsCommand.java:27)
[04:14:55] at WebConsole-2.4.jar//es.mesacarlos.webconsole.websocket.WSServer.onMessage(WSServer.java:70)
[04:14:55] at WebConsole-2.4.jar//org.java_websocket.server.WebSocketServer.onWebsocketMessage(WebSocketServer.java:673)
[04:14:55] at WebConsole-2.4.jar//org.java_websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:885)
[04:14:55] at WebConsole-2.4.jar//org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:819)
[04:14:55] at WebConsole-2.4.jar//org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:379)
[04:14:55] at WebConsole-2.4.jar//org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:216)
[04:14:55] at WebConsole-2.4.jar//org.java_websocket.server.WebSocketServer$WebSocketWorker.doDecode(WebSocketServer.java:1046)
[04:14:55] at WebConsole-2.4.jar//org.java_websocket.server.WebSocketServer$WebSocketWorker.run(WebSocketServer.java:1028)

and the error repeats every second...

@mesacarlos
Copy link
Owner

Hi,
Thank you for pointing this out!

I'll investigate and release a hotfix for this.

@mesacarlos
Copy link
Owner

mesacarlos commented Apr 24, 2022

Hello again,
I've just updated v2.4 release to catch unhandled exceptions and stop console spamming in case an error occurs.

You can download the updated jar file here or using Jenkins.

You will see 0 TPS in the web client for now. I think this problem is related to the MC version being too recent, so the method used to retrieve TPS does not work now. I'll investigate this issue.

@mesacarlos mesacarlos added the bug Something isn't working label May 29, 2022
@mesacarlos mesacarlos added the help wanted Extra attention is needed label Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants