Scriblon/ExpensiveStones — Issue #10: Saving the Lists to database
Author: Scriblon
Created: 2011-11-19 21:50:52+00:00
State: open
Labels: Bug

Now stopping a field is working and place it in the right lists... Saving is a fundamental thing that should work next.

```shell
22:39:10 [SEVERE] Error occurred while disabling ExpensiveStones v0.1 (Is it up
to date?): null
java.lang.NullPointerException
at me.scriblon.plugins.expensivestones.managers.ESStorageManager.insertExpensiveField(ESStorageManager.java:250)
at me.scriblon.plugins.expensivestones.managers.ESStorageManager.saveAll(ESStorageManager.java:341)
at me.scriblon.plugins.expensivestones.ExpensiveStones.onDisable(ExpensiveStones.java:48)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:176)
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:978)
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296)
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289)
at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:166)
at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:325)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:404)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
```