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

Received ServerSwitchEvent for non-existent player #740

Open
andreasdc opened this issue Nov 9, 2023 · 1 comment
Open

Received ServerSwitchEvent for non-existent player #740

andreasdc opened this issue Nov 9, 2023 · 1 comment

Comments

@andreasdc
Copy link

andreasdc commented Nov 9, 2023

Happened after client disconnected quickly after logging in.

[19:05:14] [Netty Worker IO Thread #13/INFO]: [player] disconnected with: NativeIoException : recvAddress(..) failed: Connection reset by peer
[19:05:14] [Netty Worker IO Thread #13/WARN]: Error dispatching event ServerConnectedEvent(player=player, server=net.md_5.bungee.ServerConnection@77cbc8c3) to listener codecrafter47.bungeetablistplus.managers.TabViewManager@312afbc7
java.lang.AssertionError: Received ServerSwitchEvent for non-existent player player
	at codecrafter47.bungeetablistplus.managers.TabViewManager.onServerConnected(TabViewManager.java:90) ~[?:?]
	at net.md_5.bungee.event.EventHandlerMethod.invoke(EventHandlerMethod.java:17) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at net.md_5.bungee.event.EventBus.post(EventBus.java:53) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at net.md_5.bungee.api.plugin.PluginManager.callEvent(PluginManager.java:511) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at net.md_5.bungee.ServerConnector.handleLogin(ServerConnector.java:239) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at net.md_5.bungee.ServerConnector.handle(ServerConnector.java:226) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at net.md_5.bungee.protocol.packet.Login.handle(Login.java:283) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:140) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:509) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:407) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[x.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:289f726:unknown]
	at java.lang.Thread.run(Thread.java:833) [?:?]
@andreasdc andreasdc changed the title eceived ServerSwitchEvent for non-existent player Received ServerSwitchEvent for non-existent player Nov 9, 2023
@andrewkm
Copy link

Experiencing the same thing here @CodeCrafter47
https://pastebin.com/raw/qMUPQPjw

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

2 participants