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

DynamicPlayers: true causes exception with no players online #245

Open
Minecrell opened this Issue Mar 28, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@Minecrell
Copy link
Owner

commented Mar 28, 2019

From https://www.spigotmc.org/threads/serverlistplus.7371/page-82#post-3346870

[23:40:12 ERROR]: [ServerListPlus] Unhandled exception occured in onPacketSending(PacketEvent) for ServerListPlus
java.lang.IllegalArgumentException: must be greater than zero: 0
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:168) ~[spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at com.google.common.base.Splitter.limit(Splitter.java:333) ~[spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at net.minecrell.serverlistplus.core.util.Helper.splitLines(Helper.java:61) ~[ServerListPlus-3.5.0-SNAPSHOT-Bukkit.jar:?]
        at net.minecrell.serverlistplus.bukkit.handlers.ProtocolLibHandler$StatusPacketListener.onPacketSending(ProtocolLibHandler.java:132) ~[ServerListPlus-3.5.0-SNAPSHOT-Bukkit.jar:?]
        at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) [ProtocolLib.jar:4.4.0-b425]
        at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) [ProtocolLib.jar:4.4.0-b425]
        at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:588) [ProtocolLib.jar:4.4.0-b425]
        at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:564) [ProtocolLib.jar:4.4.0-b425]
        at com.comphenix.protocol.injector.netty.ProtocolInjector.packetQueued(ProtocolInjector.java:338) [ProtocolLib.jar:4.4.0-b425]
        at com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketSending(ProtocolInjector.java:298) [ProtocolLib.jar:4.4.0-b425]
        at com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:367) [ProtocolLib.jar:4.4.0-b425]
        at com.comphenix.protocol.injector.netty.ChannelInjector.encode(ChannelInjector.java:423) [ProtocolLib.jar:4.4.0-b425]
        at com.comphenix.protocol.injector.netty.ChannelInjector.access$100(ChannelInjector.java:66) [ProtocolLib.jar:4.4.0-b425]
        at com.comphenix.protocol.injector.netty.ChannelInjector$1.encode(ChannelInjector.java:232) [ProtocolLib.jar:4.4.0-b425]
        at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at com.comphenix.protocol.injector.netty.ChannelInjector$1.write(ChannelInjector.java:238) [ProtocolLib.jar:4.4.0-b425]
        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:801) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1071) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:300) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at com.comphenix.protocol.injector.netty.ChannelProxy.writeAndFlush(ChannelProxy.java:327) [ProtocolLib.jar:4.4.0-b425]
        at net.minecraft.server.v1_13_R2.NetworkManager.b(NetworkManager.java:185) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at net.minecraft.server.v1_13_R2.NetworkManager.sendPacket(NetworkManager.java:157) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at net.minecraft.server.v1_13_R2.NetworkManager.sendPacket(NetworkManager.java:151) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at net.minecraft.server.v1_13_R2.PacketStatusListener.a(PacketStatusListener.java:127) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at net.minecraft.server.v1_13_R2.PacketStatusInStart.a(SourceFile:23) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at net.minecraft.server.v1_13_R2.PacketStatusInStart.a(SourceFile:8) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at net.minecraft.server.v1_13_R2.NetworkManager.a(NetworkManager.java:141) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at net.minecraft.server.v1_13_R2.NetworkManager.channelRead0(NetworkManager.java:130) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at net.minecraft.server.v1_13_R2.NetworkManager.channelRead0(NetworkManager.java:1) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:288) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at com.comphenix.protocol.injector.netty.ChannelInjector$2.channelRead(ChannelInjector.java:248) [ProtocolLib.jar:4.4.0-b425]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at net.minecraft.server.v1_13_R2.LegacyPingHandler.channelRead(LegacyPingHandler.java:88) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:647) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:547) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:501) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) [spigot-1.13.2.jar:git-Spigot-e6eb36f-d3ed151]
        at java.lang.Thread.run(Thread.java:834) [?:?]

@Minecrell Minecrell added the bug label Mar 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.