Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Kostronor
, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at net.minecraftforge.fml.common.network.ByteBufUtils.writeUTF8String(ByteBufUtils.java:132)	at com.minecolonies.colony.workorders.AbstractWorkOrder.serializeViewNetworkData(AbstractWorkOrder.java:313)	at com.minecolonies.network.messages.ColonyViewWorkOrderMessage.(ColonyViewWorkOrderMessage.java:42)	at com.minecolonies.colony.Colony.lambda$sendWorkOrderPackets$9(Colony.java:560)	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)	at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1548)	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)	at com.minecolonies.colony.Colony.sendWorkOrderPackets(Colony.java:560)	at com.minecolonies.colony.Colony.updateSubscribers(Colony.java:485)	at com.minecolonies.colony.Colony.onServerTick(Colony.java:359)	at com.minecolonies.colony.ColonyManager.onServerTick(ColonyManager.java:385)	at com.minecolonies.event.FMLEventHandler.onServerTick(FMLEventHandler.java:22)	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_45_FMLEventHandler_onServerTick_ServerTickEvent.invoke(.dynamic)	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)	at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:253)	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:649)	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)	at java.lang.Thread.run(Thread.java:745)