java.lang.NullPointerException

GitHub | Kostronor | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at net.minecraftforge.fml.common.network.ByteBufUtils.writeUTF8String()
  2. MC Forge
    ByteBufUtils.writeUTF8String
    1. net.minecraftforge.fml.common.network.ByteBufUtils.writeUTF8String(ByteBufUtils.java:132)[ByteBufUtils.class:?]
    1 frame
  3. com.minecolonies.colony
    AbstractWorkOrder.serializeViewNetworkData
    1. com.minecolonies.colony.workorders.AbstractWorkOrder.serializeViewNetworkData(AbstractWorkOrder.java:313)[AbstractWorkOrder.class:?]
    1 frame
  4. com.minecolonies.network
    ColonyViewWorkOrderMessage.<init>
    1. com.minecolonies.network.messages.ColonyViewWorkOrderMessage.<init>(ColonyViewWorkOrderMessage.java:42)[ColonyViewWorkOrderMessage.class:?]
    1 frame
  5. com.minecolonies.colony
    Colony.lambda$sendWorkOrderPackets$9
    1. com.minecolonies.colony.Colony.lambda$sendWorkOrderPackets$9(Colony.java:560)[Colony.class:?]
    1 frame
  6. Java RT
    ReferencePipeline.forEach
    1. java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)[?:1.8.0_92]
    2. java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)[?:1.8.0_92]
    3. java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1548)[?:1.8.0_92]
    4. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)[?:1.8.0_92]
    5. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)[?:1.8.0_92]
    6. java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)[?:1.8.0_92]
    7. java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)[?:1.8.0_92]
    8. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[?:1.8.0_92]
    9. java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)[?:1.8.0_92]
    9 frames
  7. com.minecolonies.colony
    ColonyManager.onServerTick
    1. com.minecolonies.colony.Colony.sendWorkOrderPackets(Colony.java:560)[Colony.class:?]
    2. com.minecolonies.colony.Colony.updateSubscribers(Colony.java:485)[Colony.class:?]
    3. com.minecolonies.colony.Colony.onServerTick(Colony.java:359)[Colony.class:?]
    4. com.minecolonies.colony.ColonyManager.onServerTick(ColonyManager.java:385)[ColonyManager.class:?]
    4 frames
  8. com.minecolonies.event
    FMLEventHandler.onServerTick
    1. com.minecolonies.event.FMLEventHandler.onServerTick(FMLEventHandler.java:22)[FMLEventHandler.class:?]
    1 frame
  9. MC Forge
    FMLCommonHandler.onPostServerTick
    1. net.minecraftforge.fml.common.eventhandler.ASMEventHandler_45_FMLEventHandler_onServerTick_ServerTickEvent.invoke(.dynamic)[?:?]
    2. net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)[ASMEventHandler.class:?]
    3. net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)[EventBus.class:?]
    4. net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:253)[FMLCommonHandler.class:?]
    4 frames
  10. MC Server
    MinecraftServer.run
    1. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:649)[MinecraftServer.class:?]
    2. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)[MinecraftServer.class:?]
    2 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_92]
    1 frame