java.lang.IllegalArgumentException: Cannot spawn an entity for org.bukkit.entity.FishHook

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 DNx5
, 1 year ago
Cannot spawn an entity for org.bukkit.entity.FishHook
java.lang.IllegalArgumentException: Cannot spawn an entity for org.bukkit.entity.FishHook
at org.bukkit.craftbukkit.v1_9_R2.CraftWorld.createEntity(CraftWorld.java:1180)
at org.bukkit.craftbukkit.v1_9_R2.CraftWorld.spawn(CraftWorld.java:1196)
at org.bukkit.craftbukkit.v1_9_R2.CraftWorld.spawn(CraftWorld.java:900)
at net.aufdemrand.denizen.npc.traits.FishingTrait.cast(FishingTrait.java:180)
at net.aufdemrand.denizen.npc.traits.FishingTrait.run(FishingTrait.java:66)
at net.citizensnpcs.api.npc.AbstractNPC.update(AbstractNPC.java:430)
at net.citizensnpcs.npc.CitizensNPC.update(CitizensNPC.java:271)
at net.citizensnpcs.npc.entity.EntityHumanNPC.m(EntityHumanNPC.java:303)
at net.minecraft.server.v1_9_R2.World.entityJoinedWorld(World.java:1617)
at net.minecraft.server.v1_9_R2.World.g(World.java:1592)
at net.citizensnpcs.util.PlayerUpdateTask.run(PlayerUpdateTask.java:52)
at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftTask.run(CraftTask.java:71)
at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:734)
at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399)
at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665)
at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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