ViaRewind

ViaRewind

7.4k Downloads

Weird server lag and error

Opened this issue ยท 1 comments

commented

I have no idea what happened, but out of nowhere all players left and server started being very laggy, like commands which I type in console only get executed minute later or so, I got this error during it:
[13:05:46 WARN]: java.lang.NullPointerException
[13:05:46 WARN]: at de.gerrygames.viarewind.utils.PacketUtil$1.run(PacketUtil.java:41)
[13:05:46 WARN]: at io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38)
[13:05:46 WARN]: at io.netty.util.concurrent.PromiseTask.run(PromiseTask.java:73)
[13:05:46 WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380)
[13:05:46 WARN]: at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:268)
[13:05:46 WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
[13:05:46 WARN]: at java.lang.Thread.run(Thread.java:748)

commented

This error should only occur if the player connection was unexpectedly closed for some reason. ViaRewind is only acting on a protocol level and not running any heavy tasks in the main thread. It should not cause any server to lag massively.