Zarius / Bukkit-OtherBlocks

OtherBlocks (now known as OtherDrops) plugin for Bukkit (dev build: https://www.mediafire.com/?i6ows1g6kus2o0l)
http://dev.bukkit.org/server-mods/otherdrops/
GNU General Public License v3.0
17 stars 17 forks source link

NPE with OtherDrops:2.8b.526 #226

Closed clucky closed 11 years ago

clucky commented 11 years ago
2013-04-16 16:06:52 [INFO] [OtherDrops:2.8b.526] CreatureData: setOn, shouldn't be here (should be in specific mob data) - please let developer know.
2013-04-16 16:06:52 [SEVERE] Could not pass event BlockBreakEvent to OtherDrops v2.8b.526
org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at net.minecraft.server.v1_5_R2.PlayerInteractManager.breakBlock(PlayerInteractManager.java:276)
    at net.minecraft.server.v1_5_R2.PlayerInteractManager.a(PlayerInteractManager.java:203)
    at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:554)
    at net.minecraft.server.v1_5_R2.Packet14BlockDig.handle(SourceFile:46)
    at net.minecraft.server.v1_5_R2.Packet14BlockDig$$EnhancerByCGLIB$$1cacf57b.CGLIB$handle$0(<generated>)
    at net.minecraft.server.v1_5_R2.Packet14BlockDig$$EnhancerByCGLIB$$1cacf57b$$FastClassByCGLIB$$5c17361b.invoke(<generated>)
    at com.comphenix.net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
    at com.comphenix.protocol.injector.packet.ReadPacketModifier.intercept(ReadPacketModifier.java:98)
    at net.minecraft.server.v1_5_R2.Packet14BlockDig$$EnhancerByCGLIB$$1cacf57b.handle(<generated>)
    at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292)
    at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110)
    at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35)
    at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30)
    at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580)
    at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225)
    at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476)
    at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409)
    at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
Caused by: org.bukkit.command.CommandException: Unhandled exception executing command 'money' in plugin iMonies v3.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189)
    at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:523)
    at com.gmail.zariust.otherdrops.event.DropRunner.processCommands(DropRunner.java:336)
    at com.gmail.zariust.otherdrops.event.DropRunner.run(DropRunner.java:215)
    at com.gmail.zariust.otherdrops.OtherDrops.scheduleDrop(OtherDrops.java:558)
    at com.gmail.zariust.otherdrops.OtherDrops.performDrop(OtherDrops.java:290)
    at com.gmail.zariust.otherdrops.listener.OdBlockListener.onBlockBreak(OdBlockListener.java:107)
    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:601)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    ... 22 more
Caused by: java.lang.NullPointerException
    at com.mciseries.iMonies.system.Utils.hasPerms(Unknown Source)
    at com.mciseries.iMonies.handlers.Give.<init>(Unknown Source)
    at com.mciseries.iMonies.system.CommandExecutor.onCommand(Unknown Source)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    ... 34 more
Zarius commented 11 years ago

The creature data message is a separate issue I'm looking into. The npe looks like OtherDrops is trying to drop money and there's a problem with the iMonies plugin.