NPC - Console Error #23


  • New
  • Defect
Open
Assigned to _ForgeUser7559145
  • _ForgeUser13012862 created this issue Jan 28, 2014

    Hello!

    I get massive error logs in the console if a npc starts moving.

    Please fix this!

  • _ForgeUser13012862 added the tags New Defect Jan 28, 2014
  • Scarecr0w12 posted a comment Apr 21, 2014

    Im getting the same, Moment someone sets the NPC to follow or move, it generates errors and won't stop till you restart. Logs going in the upwards of 15-16GB a day. Here is an example of mine:

    [16:50:53] [Server thread/INFO]: ihypocryt issued server command: /npc follow ihypocryt
    [16:50:54] [Server thread/WARN]: [NPCWarehouse] Task #379966 for NPCWarehouse v1.1.2 generated an exception
    java.lang.ClassCastException: net.npcwarehouse.entity.MCEntityHumanNPC cannot be cast to net.npcwarehouse.entity.MCEntityHorseNPC
    	at net.npcwarehouse.pathing.pathfinder.PathFinder.pathStep(PathFinder.java:242) ~[?:?]
    	at net.npcwarehouse.pathing.pathfinder.PathFinder$2.run(PathFinder.java:66) ~[?:?]
    	at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53) ~[craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    	at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    	at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:587) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    	at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    	at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    	at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    	at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    [16:50:54] [Server thread/WARN]: [NPCWarehouse] Task #379968 for NPCWarehouse v1.1.2 generated an exception
    java.lang.ClassCastException: net.npcwarehouse.entity.MCEntityHumanNPC cannot be cast to net.npcwarehouse.entity.MCEntityHorseNPC
    	at net.npcwarehouse.pathing.pathfinder.PathFinder.pathStep(PathFinder.java:242) ~[?:?]
    	at net.npcwarehouse.pathing.pathfinder.PathFinder$2.run(PathFinder.java:66) ~[?:?]
    	at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53) ~[craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    	at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    	at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:587) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    	at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    	at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    	at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    	at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    

To post a comment, please login or register a new account.