Hidendra/LWC — Issue #225: Errors on LWC plugin, dontwork
Author: testunde
Created: 2012-01-21 22:56:56+00:00
State: open

Hi Hidendra,
i would install LWC at my server, but on even startup, there are this error:
[code]
23:41:43 [INFORMATION] LWC: Loading shared objects
23:41:43 [INFORMATION] LWC: Native library: plugins/LWC/lib/native/Windows/amd64/sqlitejdbc.dll
23:41:43 [INFORMATION] LWC: Protection cache: 0/10000
23:41:43 [INFORMATION] LWC: Loaded 207 locale strings (0 overrides)
23:41:44 [SCHWERWIEGEND] Error occurred while enabling LWC v4.0.7 (b613-git-754ca078) (Is it up to date?): null
java.lang.NullPointerException
at com.iCo6.system.Queried.useMiniDB(Queried.java:92)
at com.iCo6.system.Queried.hasAccount(Queried.java:237)
at com.iCo6.system.Accounts.get(Accounts.java:14)
at com.griefcraft.integration.currency.iConomy6Currency.(iConomy6Currency.java:62)
at com.griefcraft.lwc.LWC.load(LWC.java:1516)
at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:247)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:989)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:132)
at net.minecraft.server.ServerConfigurationManager.(ServerConfigurationManager.java:52)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
[/code]

when i logged on my server and mine blocks with the superpickaxe (plugin worldedit), there are this message ingame:
[LWC] Kritischer Fehler. Bitte benachrichtige sofort einen Admin. ID: PLAYER_INTERACT
nad on the serevr-console this error:
[code]
23:47:57 [SEVERE] java.lang.NullPointerException
23:47:57 [SEVERE] at com.griefcraft.sql.PhysDB.loadProtection(PhysDB.java:887)
23:47:57 [SEVERE] at com.griefcraft.lwc.LWC.findProtection(LWC.java:1262)
23:47:57 [SEVERE] at com.griefcraft.listeners.LWCPlayerListener.onPlayerInteract(LWCPlayerListener.java:137)
23:47:57 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:343)
23:47:57 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
23:47:57 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:341)
23:47:57 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
23:47:57 [SEVERE] at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
23:47:57 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:507)
23:47:57 [SEVERE] at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
23:47:57 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
23:47:57 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
23:47:57 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
23:47:57 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
23:47:57 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
23:47:57 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
[/code]
but when i reload the LWC-Plugin, it works.
my LWC-Version is 4.0.7 (b613-git-754ca078)
i need some help...

testunde
(... sry for my bad english, i have try it to discribe my problem)

PS:
my core.yml-file:
[code]
core:
locale: de
autoUpdate: true
flushInterval: 10
cacheSize: 10000
precache: -1
defaultMenuStyle: basic
showNotices: true
showMyNotices: false
opIsLWCAdmin: true
disableHistory: false
townyBorders: false
groupPrefix: 'group.'

updater:
branch: BLEEDING_EDGE
method: AUTOMATIC

optional:
onlyProtectWhenOwnerIsOnline: false
onlyProtectWhenOwnerIsOffline: false
optOut: false

database:
adapter: sqlite
path: 'plugins/LWC/lwc.db'
host: 'localhost'
database: 'lwc'
username: ''
password: ''
prefix: 'lwc_'

protections:
denyRedstone: false
autoRegister: pivate
ignoreBlockDestruction: true
ignoreLeftClick: true
ignoreRightClick: false
ignoreExplosions: true
quiet: false
blocks:
chest:
enabled: true
autoRegister: private
furnace:
enabled: true
autoRegister: private
dispenser:
enabled: true
autoRegister: private
sign:
enabled: true
autoRegister: private
wooden_door:
enabled: true
autoRegister: private
iron_door:
enabled: true
autoRegister: private
trap_door:
enabled: true
autoRegister: private
'25':
enabled: true
autoRegister: private
'26':
enabled: true
autoRegister: private
'58':
enabled: true
autoRegister: private
'84':
enabled: true
autoRegister: private
'107':
enabled: true
autoRegister: private
'116':
enabled: true
autoRegister: private
'117':
enabled: true
autoRegister: private

modes:
droptransfer:
enabled: false
persist:
enabled: false
[/code]