Redis derping..
LadyCailinBot opened this issue ยท 4 comments
CMDHELPER-2912 - Reported by Rob.Thomas
[07:58:57 ERROR]: Uh oh! You've found an error in CommandHelper. This is an error caused by your code, so you may be able to find a workaround, but is ultimately an error in CommandHelper itself. The line of code that caused the error was this:
get_value('balance.stored.termites007')
on or around /data/minecraft/1.7-survival/plugins/CommandHelper/main.ms:118.
Please report this error to the developers, and be sure to include the version numbers: Server version: 1.7.2-R0.3-SNAPSHOT; CommandHelper version: 3.3.1-SNAPSHOT:2606-177b6a9,master. Here's the stacktrace:
java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.Long
at com.laytonsmith.libs.redis.clients.jedis.Connection.getIntegerReply(Connection.java:191)
at com.laytonsmith.libs.redis.clients.jedis.Jedis.exists(Jedis.java:93)
at com.laytonsmith.persistence.RedisDataSource.connect(RedisDataSource.java:80)
at com.laytonsmith.persistence.RedisDataSource.get0(RedisDataSource.java:136)
at com.laytonsmith.persistence.AbstractDataSource.get(AbstractDataSource.java:74)
at com.laytonsmith.persistence.PersistenceNetwork.get(PersistenceNetwork.java:111)
at com.laytonsmith.core.functions.Persistence$get_value.exec(Persistence.java:166)
at com.laytonsmith.core.Script.eval(Script.java:332)
at com.laytonsmith.core.Script.eval(Script.java:301)
at com.laytonsmith.core.Script.eval(Script.java:301)
at com.laytonsmith.core.functions.BasicLogic$ifelse.execs(BasicLogic.java:671)
at com.laytonsmith.core.Script.eval(Script.java:291)
at com.laytonsmith.core.Script.eval(Script.java:301)
at com.laytonsmith.core.functions.BasicLogic$ifelse.execs(BasicLogic.java:671)
at com.laytonsmith.core.Script.eval(Script.java:291)
at com.laytonsmith.core.Script.eval(Script.java:301)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1695)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1655)
at com.laytonsmith.core.events.AbstractEvent.execute(AbstractEvent.java:97)
at com.laytonsmith.core.events.BoundEvent.execute(BoundEvent.java:311)
at com.laytonsmith.core.events.BoundEvent.trigger(BoundEvent.java:269)
at com.laytonsmith.core.events.EventUtils.FireListeners(EventUtils.java:236)
at com.laytonsmith.core.events.drivers.PlayerEvents$player_move$1$2.call(PlayerEvents.java:1755)
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftFuture.run(CraftFuture.java:89)
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:612)
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273)
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:560)
This happens sporadically, and doing a 'reloadaliases' fixes it.
Comment by Rob.Thomas
And I just happened to get a screenshot of it dying..
Comment by EntityReborn
On the surface, this looks like something is modifying the column type. :/ What else are you connecting to this DB?
Comment by Rob.Thomas
Nah, it's a timeout, and it relates to http://youtrack.sk89q.com/issue/CMDHELPER-2829 and http://youtrack.sk89q.com/issue/CMDHELPER-2896 I believe.