Hidendra/LWC — Issue #191: Exception when using /cprivate
Author: sizilium
Created: 2011-12-24 08:33:25+00:00
State: open

After migrating from LWC 3.5.2 to LWC 4.0.1 i get following exception when using /cprivate with a door or chest:

2011-12-24 09:25:46 [SEVERE] com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 4.0.1 (b572)
2011-12-24 09:25:46 [SEVERE]	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:218)
2011-12-24 09:25:46 [SEVERE]	at com.griefcraft.listeners.LWCPlayerListener.onPlayerInteract(LWCPlayerListener.java:191)
2011-12-24 09:25:46 [SEVERE]	at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
2011-12-24 09:25:46 [SEVERE]	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
2011-12-24 09:25:46 [SEVERE]	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
2011-12-24 09:25:46 [SEVERE]	at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
2011-12-24 09:25:46 [SEVERE]	at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266)
2011-12-24 09:25:46 [SEVERE]	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593)
2011-12-24 09:25:46 [SEVERE]	at net.minecraft.server.Packet15Place.a(SourceFile:39)
2011-12-24 09:25:46 [SEVERE]	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
2011-12-24 09:25:46 [SEVERE]	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
2011-12-24 09:25:46 [SEVERE]	at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
2011-12-24 09:25:46 [SEVERE]	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
2011-12-24 09:25:46 [SEVERE]	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
2011-12-24 09:25:46 [SEVERE]	at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
2011-12-24 09:25:46 [SEVERE] Caused by: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 4.0.1 (b572)
2011-12-24 09:25:46 [SEVERE]	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:218)
2011-12-24 09:25:46 [SEVERE]	at com.griefcraft.modules.create.CreateModule.onBlockInteract(CreateModule.java:116)
2011-12-24 09:25:46 [SEVERE]	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:193)
2011-12-24 09:25:46 [SEVERE]	... 14 more
2011-12-24 09:25:46 [SEVERE] Caused by: java.lang.NoSuchMethodError: com.griefcraft.integration.IPermissions.isActive()Z
2011-12-24 09:25:46 [SEVERE]	at com.griefcraft.lwc.EconomyModule.resolveValue(EconomyModule.java:293)
2011-12-24 09:25:46 [SEVERE]	at com.griefcraft.lwc.EconomyModule.onRegisterProtection(EconomyModule.java:205)
2011-12-24 09:25:46 [SEVERE]	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:203)
2011-12-24 09:25:46 [SEVERE]	... 16 more
2011-12-24 09:26:11 [SEVERE] com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 4.0.1 (b572)
2011-12-24 09:26:11 [SEVERE]	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:218)
2011-12-24 09:26:11 [SEVERE]	at com.griefcraft.listeners.LWCPlayerListener.onPlayerInteract(LWCPlayerListener.java:191)
2011-12-24 09:26:11 [SEVERE]	at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
2011-12-24 09:26:11 [SEVERE]	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
2011-12-24 09:26:11 [SEVERE]	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
2011-12-24 09:26:11 [SEVERE]	at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
2011-12-24 09:26:11 [SEVERE]	at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266)
2011-12-24 09:26:11 [SEVERE]	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593)
2011-12-24 09:26:11 [SEVERE]	at net.minecraft.server.Packet15Place.a(SourceFile:39)
2011-12-24 09:26:11 [SEVERE]	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
2011-12-24 09:26:11 [SEVERE]	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
2011-12-24 09:26:11 [SEVERE]	at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
2011-12-24 09:26:11 [SEVERE]	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
2011-12-24 09:26:11 [SEVERE]	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
2011-12-24 09:26:11 [SEVERE]	at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
2011-12-24 09:26:11 [SEVERE] Caused by: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 4.0.1 (b572)
2011-12-24 09:26:11 [SEVERE]	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:218)
2011-12-24 09:26:11 [SEVERE]	at com.griefcraft.modules.create.CreateModule.onBlockInteract(CreateModule.java:116)
2011-12-24 09:26:11 [SEVERE]	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:193)
2011-12-24 09:26:11 [SEVERE]	... 14 more
2011-12-24 09:26:11 [SEVERE] Caused by: java.lang.NoSuchMethodError: com.griefcraft.integration.IPermissions.isActive()Z
2011-12-24 09:26:11 [SEVERE]	at com.griefcraft.lwc.EconomyModule.resolveValue(EconomyModule.java:293)
2011-12-24 09:26:11 [SEVERE]	at com.griefcraft.lwc.EconomyModule.onRegisterProtection(EconomyModule.java:205)
2011-12-24 09:26:11 [SEVERE]	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:203)
2011-12-24 09:26:11 [SEVERE]	... 16 more
2011-12-24 09:26:27 [INFO] sizilium lost connection: disconnect.quitting

The migration from old version to new one seems ok. The already set protections are working correctly:

2011-12-24 09:19:52 [INFO] LWC: Flushing final updates (0)
2011-12-24 09:19:52 [INFO] LWC: Freeing SQLite
2011-12-24 09:19:52 [INFO] [ChestShop] version 3.29 shutting down!
2011-12-24 09:19:52 [INFO] [Citizens] version [devBuild-] disabled.
2011-12-24 09:19:52 [INFO] Saving chunks
2011-12-24 09:20:20 [INFO] Starting minecraft server version 1.0.1
2011-12-24 09:20:20 [INFO] Loading properties
2011-12-24 09:20:20 [INFO] Starting Minecraft server on *:25565
2011-12-24 09:20:21 [INFO] This server is running Craftbukkit version git-Bukkit-1.0.1-R1-b1597jnks (MC: 1.0.1) (Implementing API version 1.0.1-R1)
2011-12-24 09:20:21 [INFO] [SuperpermBridge] Superperm/Permissions bridge initialized
2011-12-24 09:20:21 [INFO] LWC: Loading shared objects
2011-12-24 09:20:21 [INFO] LWC: Native library: plugins/LWC/lib/lib/native/Windows/amd64/sqlitejdbc.dll
2011-12-24 09:20:21 [INFO] LWC: Protection cache: 0/10000
2011-12-24 09:20:21 [INFO] LWC: Loaded 217 locale strings (0 overrides)
2011-12-24 09:20:21 [INFO] LWC: Downloading file limitsv2.yml
2011-12-24 09:20:22 [INFO] LWC: Permissions API: BukkitPermissions
2011-12-24 09:20:22 [INFO] LWC: Currency API: iConomy5Currency
2011-12-24 09:20:22 [INFO] LWC: Connecting to SQLite
2011-12-24 09:20:22 [INFO] LWC: Performing any necessary database updates
2011-12-24 09:20:23 [INFO] LWC: Dropping old indexes (One time, may take a while!)
2011-12-24 09:20:24 [INFO] LWC: Creating new indexes (One time, may take a while!)
2011-12-24 09:20:25 [INFO] LWC: Creating index on internal
2011-12-24 09:20:29 [INFO] LWC: Precached 236 protections.
2011-12-24 09:20:29 [INFO] LWC: Using: Native
2011-12-24 09:20:29 [INFO] LWC: Precached 236 protections.
2011-12-24 09:20:29 [INFO] LWC: Update branch: STABLE
2011-12-24 09:20:29 [INFO] LWC: Update method: AUTOMATIC
2011-12-24 09:20:29 [INFO] LWC: Downloading file sqlitejdbc.dll
2011-12-24 09:20:29 [INFO] LWC: Latest version: 4.0.1
2011-12-24 09:20:30 [INFO] 0%
2011-12-24 09:20:31 [INFO] 35%
2011-12-24 09:20:31 [INFO] 46%
2011-12-24 09:20:32 [INFO] 70%
2011-12-24 09:20:33 [INFO] 91%
2011-12-24 09:20:33 [INFO] |=====================================|
2011-12-24 09:20:33 [INFO] |#####################################|
2011-12-24 09:20:33 [INFO] |# Welcome to LWC 4! #|
2011-12-24 09:20:33 [INFO] |# You are on build #572 #|
2011-12-24 09:20:33 [INFO] |# #|
2011-12-24 09:20:33 [INFO] |# Support / chat lines: #|
2011-12-24 09:20:33 [INFO] |# - IRC: irc.esper.net #LWC #|
2011-12-24 09:20:33 [INFO] |# - Steam: Hidendra #|
2011-12-24 09:20:33 [INFO] |# #|
2011-12-24 09:20:33 [INFO] |# Thank you for supporting LWC! #|
2011-12-24 09:20:33 [INFO] |#####################################|
2011-12-24 09:20:33 [INFO] |=====================================|
2011-12-24 09:20:33 [INFO] LWC: At version: 4.0.1 (b572)

Let me know if you need more informations.
Thanks!