Vault

Vault

7M Downloads

Could Not Pass PlayerInteractEvent

patrin88 opened this issue ยท 2 comments

commented

What steps will reproduce the problem?

  1. Set up a sign shop
  2. try to buy from shop

What is the expected output? What do you see instead?
Expected to have money taken out and recieve items. Instead nothing happens in game and the server says:

[SEVERE] Could not pass event PlayerInteractEvent to SignShop
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:459)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:175)
at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:94)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:537)
at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
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.NoClassDefFoundError me/mjolnir/mineconomy/Accounting
at net.milkbowl.vault.economy.plugins.Economy_MineConomy.getBalance(Economy_MineConomy.java:114)
at net.milkbowl.vault.economy.plugins.Economy_MineConomy.has(Economy_MineConomy.java:119)
at org.wargamer2010.signshop.player.SignShopPlayer.hasMoney(SignShopPlayer.java:81)
at org.wargamer2010.signshop.listeners.SignShopPlayerListener.onPlayerInteract(SignShopPlayerListener.java:859)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
... 12 more
Caused by: java.lang.ClassNotFoundException me.mjolnir.mineconomy.Accounting
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 21 more

What version of the product are you using?
Sign Shop v1.7.3

Are you using Vault? What version?
Vault v1.2.13-b148

Do you have an error log of what happened?
Yes, see above

Please provide any additional information below.
Using bPermissions v2.9.1, and MineConomy v1.1
I just rebuilt my server last Saturday (3/31) and was trying to add an economy this time around.

I get a similar error when I try to use MCJobs:

19:03:35 [SEVERE] Could not pass event BlockBreakEvent to mcjobs
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:459)
at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:220)
at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:175)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:540)
at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
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.NoClassDefFoundError: me/mjolnir/mineconomy/Accounting
at net.milkbowl.vault.economy.plugins.Economy_MineConomy.getBalance(Economy_MineConomy.java:114)
at net.milkbowl.vault.economy.plugins.Economy_MineConomy.depositPlayer(Economy_MineConomy.java:138)
at com.dmgkz.mcjobs.playerjobs.playerjobs.payPlayer(playerjobs.java:800)
at com.dmgkz.mcjobs.playerjobs.playerjobs.compBlock(playerjobs.java:177)
at com.dmgkz.mcjobs.BlockListener.BlockDestroy(BlockListener.java:52)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
... 12 more

commented

Looks like you're using an incompatible version of MineConomy.

commented

Will have MineConomy fixed in next version, thanks for the report.