Closed dzhus closed 13 years ago
This is fixed in a later commit
What was the issue? Still present with build-284.
remove all single quotes from your configuration files
Without a single ' in npc-profiles.yml, citizens.yml or economy.yml, builds 284, 285 give me this:
21:56:39 [SEVERE] Error occurred while enabling Citizens v1.0.9 (Is it up to date?): null
java.lang.ExceptionInInitializerError
at com.citizens.Citizens.registerTypes(Citizens.java:270)
at com.citizens.Citizens.onEnable(Citizens.java:86)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
at org.bukkit.util.config.ConfigurationNode.recursiveBuilder(ConfigurationNode.java:43)
at org.bukkit.util.config.ConfigurationNode.getAll(ConfigurationNode.java:28)
at com.citizens.properties.CachedYAMLHandler.load(CachedYAMLHandler.java:37)
at com.citizens.properties.CachedYAMLHandler.<init>(CachedYAMLHandler.java:29)
at com.citizens.properties.PropertyManager.<clinit>(PropertyManager.java:14)
... 12 more
Well, I would wait for an official release. Right now there will be some unsorted bugs.
I get this error upon starting 0e2e7fb63b7147322e8c8bf3bfb34a8ab3934a15 (in addition to that reported by me in #128):
Seems like this pops once every tick as set by server scheduler in Citizens.java.
I did git bisection and it says that « afd8afca90c19a4272bf0788b50224ba531f8dae is the first bad commit».