Scriblon/ExpensiveStones — Issue #6: SQL-exception
Author: Scriblon
Created: 2011-11-18 19:31:00+00:00
State: open
Labels: Bug

20:20:56 [SEVERE] [SQLITE_ERROR] SQL error or missing database (unrecognized tok
en: "'))")
20:20:56 [SEVERE] Error at SQL Query: [SQLITE_ERROR] SQL error or missing databa
se (near "world": syntax error)
20:20:56 [SEVERE] Error occurred while enabling ExpensiveStones v0.1 (Is it up t
o date?): null
java.lang.NullPointerException
at java.util.ArrayList.addAll(Unknown Source)
at me.scriblon.plugins.expensivestones.managers.Configurator.getExpensiveFields(Configurator.java:173)
at me.scriblon.plugins.expensivestones.managers.Configurator.configureStones(Configurator.java:83)
at me.scriblon.plugins.expensivestones.ExpensiveStones.onEnable(ExpensiveStones.java:68)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

as far as I can see the second part comes from the fact that the db is not loaded correctly.