Hidendra/LWC — Issue #152: java.lang.NullPointerException.... at com.griefcraft.listeners.LWCBlockListener.onBlockPlace(LWCBlockListener.java:255)
Author: pythros
Created: 2011-11-21 18:47:43+00:00
State: open

I have no idea how this is being caused. I only see it being produced in the logs from time to time. Not to mention it took a while to figure out which plugin this belonged to as others only had the griefcraft in and nothing about LWC! >=(

CB 1337
LWC: 3.53

13:35:01 [SEVERE] java.lang.NullPointerException
13:35:01 [SEVERE] at org.sqlite.RS.findColumn(RS.java:110)
13:35:01 [SEVERE] at org.sqlite.RS.getInt(RS.java:293)
13:35:01 [SEVERE] at com.griefcraft.sql.PhysDB.resolveProtections(PhysDB.java:584)
13:35:01 [SEVERE] at com.griefcraft.sql.PhysDB.resolveProtection(PhysDB.java:650)
13:35:01 [SEVERE] at com.griefcraft.sql.PhysDB.loadProtection(PhysDB.java:473)
13:35:01 [SEVERE] at com.griefcraft.model.History.getProtection(History.java:135)
13:35:01 [SEVERE] at com.griefcraft.model.History.save(History.java:292)
13:35:01 [SEVERE] at com.griefcraft.model.History.sync(History.java:323)
13:35:01 [SEVERE] at com.griefcraft.sql.PhysDB.registerProtection(PhysDB.java:928)
13:35:01 [SEVERE] at com.griefcraft.listeners.LWCBlockListener.onBlockPlace(LWCBlockListener.java:255)
13:35:01 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:478)
13:35:01 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
13:35:01 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
13:35:01 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:93)
13:35:01 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:77)
13:35:01 [SEVERE] at net.minecraft.server.ItemBlock.a(ItemBlock.java:94)
13:35:01 [SEVERE] at net.minecraft.server.ItemStack.placeItem(ItemStack.java:62)
13:35:01 [SEVERE] at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:281)
13:35:01 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
13:35:01 [SEVERE] at net.minecraft.server.Packet15Place.a(SourceFile:57)
13:35:01 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
13:35:01 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
13:35:01 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:501)
13:35:01 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
13:35:01 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
13:35:01 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
13:35:01 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)