Open
RightDecision
opened this issue 13 years ago
•
0 comments
I've got a problem with my traders. I can open their Inventorys but I can't sell or buy Items. My Server is running on Craftbukkit 2098.
In the server.log file it looks so:
2012-03-20 15:59:09 [SEVERE] Could not pass event InventoryClickEvent to Citizens
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1156)
at net.minecraft.server.Packet102WindowClick.handle(SourceFile:28)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
Caused by: java.lang.NullPointerException
at net.citizensnpcs.Economy.format(Economy.java:78)
at net.citizensnpcs.traders.TraderMessageUtils.getPriceMessage(TraderMessageUtils.java:13)
at net.citizensnpcs.traders.TraderMessageUtils.getStockableMessage(TraderMessageUtils.java:19)
at net.citizensnpcs.traders.TraderTask.sendStockableMessage(TraderTask.java:183)
at net.citizensnpcs.traders.TraderTask.handleTraderClick(TraderTask.java:81)
at net.citizensnpcs.traders.TraderTask.onInventoryClick(TraderTask.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
... 10 more
2012-03-20 15:59:09 [INFO] [Citizens] An error has occurred, please wait while it is sent to the developers...
2012-03-20 15:59:11 [INFO] [Citizens]
2012-03-20 15:59:11 [INFO] [Citizens]
It’s finally here! Citizens2 is the exciting new rewrite of the Citizens plugin you know and love,
2012-03-20 15:59:11 [INFO] [Citizens] with more features and extendability than ever before!
2012-03-20 15:59:11 [INFO] [Citizens] The new Citizens2 API enables developers to easily utilize all types of NPC traits and abilities to help create more Characters
2012-03-20 15:59:11 [INFO] [Citizens] than ever before.
2012-03-20 15:59:11 [INFO] [Citizens] Users will love the ability to create NPC mobs, all with the same control you would expect from Citizens.
2012-03-20 15:59:11 [INFO] [Citizens] We’re excited to see how you will use Citizens2!
Citizens wouldn’t be here without the work of a dedicated team of individuals. Like what we’re doing? Let us know with your donations!
2012-03-20 15:59:11 [INFO] [Citizens]
2012-03-20 15:59:11 [INFO] [Citizens] Donate to aPunch
2012-03-20 15:59:11 [INFO] [Citizens] Donate to fullwall
2012-03-20 15:59:11 [INFO] [Citizens]
2012-03-20 15:59:11 [INFO] [Citizens]
2012-03-20 15:59:11 [INFO] [Citizens]
2012-03-20 15:59:11 [INFO] [Citizens]
2012-03-20 15:59:11 [INFO] [Citizens]
2012-03-20 15:59:11 [INFO] [Citizens] Below is the stacktrace that has been transmitted to the developers, no other information has been included other than Citizens version information.