This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. Create a citizen NPC2. Make him a sentry trait3. Kill him
What is the expected output? What do you see instead?To not think that it is a player - it thinks it is and records its stats
Do you have an error log of what happened? (Portal: check cache/error.txt)There is no error
I'll fix this, but it can take a while because i have lots of other stuff to do at the moment.
Sry but i can't reproduce this. Which version of Citizens are you using?
This definitely still is an issue, I just updated to the latest versions of all involved plugins (Minecraft v 1.7.10) - but it produced the same errors on all previous versions.
Any Citizens Sentry NPC is handled as a player (http://screens.pro.digy.eu/albums/userpics/10001/Screenshot_20140816_165450.png) and therefor Statistics tries to capture their kills. But this produces errors in the server log:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
[14:57:56] [Craft Scheduler Thread - 114/WARN]: Exception in thread "Craft Scheduler Thread - 114" [14:57:56] [Craft Scheduler Thread - 114/WARN]: org.apache.commons.lang.UnhandledException: Plugin Statistics v1.2.2 generated an exception while executing task 9709 at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NullPointerException at com.wolvencraft.yasp.session.OnlineSession.killedCreature(OnlineSession.java:227) at com.wolvencraft.yasp.listeners.handlers.DeathHandler$MonsterDeath.run(DeathHandler.java:170) at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71) at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more [14:50:16] [Craft Scheduler Thread - 48/WARN]: Exception in thread "Craft Scheduler Thread - 48" [14:50:16] [Craft Scheduler Thread - 48/WARN]: org.apache.commons.lang.UnhandledException: Plugin Statistics v1.2.2 generated an exception while executing task 7188 at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NullPointerException at com.wolvencraft.yasp.db.data.players.MiscInfoPlayerEntry.<init>(MiscInfoPlayerEntry.java:65) at com.wolvencraft.yasp.db.data.players.PlayersData.<init>(PlayersData.java:57) at com.wolvencraft.yasp.session.OnlineSession$1.run(OnlineSession.java:104) at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71) at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
To post a comment, please login or register a new account.