Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-2288

Pinging to the server before it's loaded throws an Exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • None
    • Ubuntu 15.10
      Latest 1.9.4

    • None plugins

      When you try to ping to the server before the server is fully loaded it throws an NullPointerException

      [17:28:35 WARN]: java.lang.NullPointerException
      [17:28:35 WARN]: 	at net.minecraft.server.v1_9_R2.PacketStatusListener.a(PacketStatusListener.java:124)
      [17:28:35 WARN]: 	at net.minecraft.server.v1_9_R2.PacketStatusInStart.a(SourceFile:23)
      [17:28:35 WARN]: 	at net.minecraft.server.v1_9_R2.PacketStatusInStart.a(SourceFile:8)
      [17:28:35 WARN]: 	at net.minecraft.server.v1_9_R2.NetworkManager.a(NetworkManager.java:126)
      [17:28:35 WARN]: 	at net.minecraft.server.v1_9_R2.NetworkManager.channelRead0(NetworkManager.java:327)
      [17:28:35 WARN]: 	at net.minecraft.server.v1_9_R2.NetworkManager.channelRead0(NetworkManager.java:1)
      [17:28:35 WARN]: 	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
      [17:28:35 WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
      [17:28:35 WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
      [17:28:35 WARN]: 	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
      [17:28:35 WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
      [17:28:35 WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
      [17:28:35 WARN]: 	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
      [17:28:35 WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
      [17:28:35 WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
      [17:28:35 WARN]: 	at net.minecraft.server.v1_9_R2.LegacyPingHandler.channelRead(SourceFile:94)
      [17:28:35 WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
      [17:28:35 WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
      [17:28:35 WARN]: 	at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150)
      [17:28:35 WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
      [17:28:35 WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
      [17:28:35 WARN]: 	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
      [17:28:35 WARN]: 	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)
      [17:28:35 WARN]: 	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
      [17:28:35 WARN]: 	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
      [17:28:35 WARN]: 	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
      [17:28:35 WARN]: 	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
      [17:28:35 WARN]: 	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
      [17:28:35 WARN]: 	at java.lang.Thread.run(Thread.java:745)
      
      

            Unassigned Unassigned
            Mats Mats
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: