Error while loading Towny flatfile "java.lang.NullPointerException"

Discussion in 'Spigot Help' started by 50877b7e-9d6b-3, Jun 4, 2017.

  1. I am running the latest available version of Towny and Townychat.

    At some point in time, this error started appearing in the hundreds while towny was loading from flatfile:

    Code (Text):
    java.lang.NullPointerException
        at net.minecraft.server.v1_11_R1.PacketStatusListener.a(PacketStatusListener.java:124)
        at net.minecraft.server.v1_11_R1.PacketStatusInStart.a(SourceFile:23)
        at net.minecraft.server.v1_11_R1.PacketStatusInStart.a(SourceFile:8)
        at net.minecraft.server.v1_11_R1.NetworkManager.a(NetworkManager.java:126)
        at net.minecraft.server.v1_11_R1.NetworkManager.channelRead0(NetworkManager.java:327)
        at net.minecraft.server.v1_11_R1.NetworkManager.channelRead0(NetworkManager.java:1)
        at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:168)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
        at com.comphenix.protocol.injector.netty.ChannelInjector$4.channelRead(ChannelInjector.java:263)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
        at net.minecraft.server.v1_11_R1.LegacyPingHandler.channelRead(SourceFile:94)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
        at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
        at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:722)
        at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:326)
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264)
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
        at java.lang.Thread.run(Thread.java:745)
     

    I didn't change anything prior and am wondering if this could be host-side. I use Shockbyte for server hosting. My Spigot version is "CraftBukkit version git-Spigot-3fb9445-6e3cec8 (MC: 1.11.2) (Implementing API version 1.11.2-R0.1-SNAPSHOT)"

    If anyone would be willing to share their time and knowledge and kindly tell me what this is caused by or how I could go about fixing it, I would be thankful.
     
  2. Towny Chat is probably not made for CraftBukkit
     
  3. I has worked before and I didn't change anything before this started happening. Townychat and Towny also still work, just throw a lot of errors while loading the data. Thanks anyway, though.