Hidendra/LWC — Issue #212: LWC 4.0+ broken
Author: Jdbye
Created: 2012-01-11 22:18:47+00:00
State: open

It gives this error on load:
2012-01-11 23:08:47 [SEVERE] java.lang.NullPointerException
2012-01-11 23:08:47 [SEVERE] at com.griefcraft.sql.PhysDB.loadProtection(PhysDB.java:872)
2012-01-11 23:08:47 [SEVERE] at com.griefcraft.util.ProtectionFinder.tryLoadProtection(ProtectionFinder.java:188)
2012-01-11 23:08:47 [SEVERE] at com.griefcraft.util.ProtectionFinder.loadProtection(ProtectionFinder.java:153)
2012-01-11 23:08:47 [SEVERE] at com.griefcraft.util.matchers.DoorMatcher.matches(DoorMatcher.java:112)
2012-01-11 23:08:47 [SEVERE] at com.griefcraft.util.ProtectionFinder.matchBlocks(ProtectionFinder.java:116)
2012-01-11 23:08:47 [SEVERE] at com.griefcraft.lwc.LWC.findProtection(LWC.java:1251)
2012-01-11 23:08:47 [SEVERE] at com.griefcraft.listeners.LWCPlayerListener.onPlayerInteract(LWCPlayerListener.java:137)
2012-01-11 23:08:47 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
2012-01-11 23:08:47 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
2012-01-11 23:08:47 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
2012-01-11 23:08:47 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
2012-01-11 23:08:47 [SEVERE] at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266)
2012-01-11 23:08:47 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593)
2012-01-11 23:08:47 [SEVERE] at net.minecraft.server.Packet15Place.a(SourceFile:39)
2012-01-11 23:08:47 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
2012-01-11 23:08:47 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
2012-01-11 23:08:47 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
2012-01-11 23:08:47 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
2012-01-11 23:08:47 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
2012-01-11 23:08:47 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
2012-01-11 23:08:47 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

And spams this error whenever anyone tries to interact with a locked block:
2012-01-11 23:10:17 [SEVERE] Could not pass event REDSTONE_CHANGE to LWC
java.lang.NullPointerException
at com.griefcraft.sql.PhysDB.loadProtection(PhysDB.java:872)
at com.griefcraft.util.ProtectionFinder.tryLoadProtection(ProtectionFinder.java:188)
at com.griefcraft.util.ProtectionFinder.loadProtection(ProtectionFinder.java:153)
at com.griefcraft.util.matchers.DoorMatcher.matches(DoorMatcher.java:112)
at com.griefcraft.util.ProtectionFinder.matchBlocks(ProtectionFinder.java:116)
at com.griefcraft.lwc.LWC.findProtection(LWC.java:1251)
at com.griefcraft.lwc.LWC.findProtection(LWC.java:1218)
at com.griefcraft.listeners.LWCBlockListener.onBlockRedstoneChange(LWCBlockListener.java:81)
at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.java:525)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.BlockSign.doPhysics(BlockSign.java:120)
at org.getspout.spout.block.mcblock.CustomContainer.doPhysics(CustomContainer.java:193)
at net.minecraft.server.World.k(World.java:522)
at net.minecraft.server.World.applyPhysics(World.java:497)
at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:53)
at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:290)
at org.getspout.spout.block.mcblock.CustomBlock.doPhysics(CustomBlock.java:216)
at net.minecraft.server.World.k(World.java:522)
at net.minecraft.server.World.applyPhysics(World.java:497)
at net.minecraft.server.World.update(World.java:463)
at net.minecraft.server.World.setTypeIdAndData(World.java:447)
at org.bukkit.craftbukkit.block.CraftBlock.setTypeIdAndData(CraftBlock.java:90)
at com.bukkit.gemo.FalseBook.IC.Listeners.FalseBookICPlayerListener.ExecuteHiddenSwitch(FalseBookICPlayerListener.java:59)
at com.bukkit.gemo.FalseBook.IC.Listeners.FalseBookICPlayerListener.onPlayerInteract(FalseBookICPlayerListener.java:111)
at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593)
at net.minecraft.server.Packet15Place.a(SourceFile:39)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)