History not updating
JoeCow opened this issue ยท 10 comments
I am having problems getting my History signs to update. They only seem to update when I restart the server. I thought maybe it was a plugin conflict so I disabled all my other plugins and had the same issue. I am using 975.1 Snapshot and last updated spigot 4 days ago. Let me know what other details you need.
Every time I make a transaction the following error seems to generate in error.log of the hyperconomy folder
java.lang.NumberFormatException: For input string: "&1&1"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:481)
at java.lang.Integer.parseInt(Integer.java:527)
at regalowl.hyperconomy.display.InfoSign.update(InfoSign.java:263)
at regalowl.hyperconomy.display.InfoSignHandler$SignUpdater$1.run(InfoSignHandler.java:179)
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71)
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694)
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623)
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:744)
Thanks for the report. I missed this in testing. It should be fixed in dev build #470. Let me know if this fixes it for you.
The history signs work with the latest build. It still fills up the error log after transactions though.
The following shows up with both /hs and with click buying on my framesigns. I don't code so I don't really know what's relevant so again let me know if you need more info.
HyperConomy[2014-12-18 23:06:12.885]
java.lang.NumberFormatException: For input string: ":$90.0"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at regalowl.hyperconomy.display.InfoSign.update(InfoSign.java:265)
at regalowl.hyperconomy.display.InfoSignHandler$SignUpdater$1.run(InfoSignHandler.java:179)
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71)
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694)
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623)
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)
This one was a bit harder to track down. Could you try dev build #472? Hopefully this is fixed now.
Yep that Cleared it up. Do you want me to keep posting the errors? Got another one similar to the other 2.
Ok, all of the errors from your log should be fixed in build #483. Thanks for the report. I wasn't actually able to get /hcpay to not work on my test server but it may be fixed in #483 anyway. Let me know if it worked.
/hcpay doesn't seem to be paying it's target but still takes money out of the users account. I am using essentials as my economy plugin and /pay from essentials works fine. The following error shows up after use:
HyperConomy[2014-12-23 18:51:02.559]
java.lang.NullPointerException
Also getting a few more errors that I believe are related to /sell /buy and /value but I haven't noticed if they are affecting anything. http://pastebin.com/XqKh1DcB
This all from build #480
Alright I should have time to fiddle with it tomorrow. If the /hcpay issue persists I'll give it a go on my clean test server to eliminate plugin conflicts and config issues.