java.lang.NullPointerException: This exception has no message.

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 com.minecolonies.entity.ai.citizen.lumberjack.Tree.addAndSearch(Tree.java:340)
at com.minecolonies.entity.ai.citizen.lumberjack.Tree.(Tree.java:125)
at com.minecolonies.entity.ai.citizen.lumberjack.EntityAIWorkLumberjack.setNewTree(EntityAIWorkLumberjack.java:274)
at com.minecolonies.entity.ai.citizen.lumberjack.EntityAIWorkLumberjack.findTree(EntityAIWorkLumberjack.java:260)
at com.minecolonies.entity.ai.citizen.lumberjack.EntityAIWorkLumberjack.findTrees(EntityAIWorkLumberjack.java:241)
at com.minecolonies.entity.ai.util.AITarget.apply(AITarget.java:125)
at com.minecolonies.entity.ai.basic.AbstractAISkeleton.applyTarget(AbstractAISkeleton.java:192)
at com.minecolonies.entity.ai.basic.AbstractAISkeleton.checkOnTarget(AbstractAISkeleton.java:175)
at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351)
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449)
at com.minecolonies.entity.ai.basic.AbstractAISkeleton.func_75246_d(AbstractAISkeleton.java:129)
at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:129)
at net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:773)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2189)
at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:577)
at com.minecolonies.entity.EntityCitizen.func_70636_d(EntityCitizen.java:636)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2019)
at org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:143)
at net.minecraft.world.WorldServer.redirect$onCallEntityUpdate$0(WorldServer.java:1297)
at net.minecraft.world.World.func_72866_a(World.java:1964)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:838)
at net.minecraft.world.World.func_72870_g(World.java:1934)
at net.minecraft.world.World.func_72939_s(World.java:1217)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.