cooldown errors #39


  • New
  • Defect
Open
Assigned to _ForgeUser7448041
  • _ForgeUser8358411 created this issue Jul 15, 2012

    I followed your instructions, and the server loaded up fine.  but after reboot, it went back to the 432 hours again and spit out the same error.
    It seems that i can go to that 1 sign and /sbinteract remove, and then recreate the sbinteract again and its fine, but next reboot it fails again.
    I have never had issues with scriptblock before, and this is my first time adding a cooldown.
    I also depend heavily on Scriptblock to correct the shortcomings of other plugins.

    [INFO] [ScriptBlock] Enabling ScriptBlock v0.8.6
    2012-07-15 09:42:27 [INFO] [ScriptBlock] PermissionsEx found !
    2012-07-15 09:42:27 [INFO] [ScriptBlock] Essentials Economy found !
    2012-07-15 09:42:27 [INFO] [ScriptBlock] interact_Config.yml loaded !
    2012-07-15 09:42:27 [INFO] [ScriptBlock] interact_Scripts.yml loaded !
    2012-07-15 09:42:27 [INFO] [ScriptBlock] interact_Cooldowns.dat File Loaded !!!
    2012-07-15 09:42:27 [SEVERE] Error occurred while enabling ScriptBlock v0.8.6 (Is it up to date?)
    java.lang.NullPointerException
        at scriptblock.managers.FileManager.loadCooldownFile(FileManager.java:133)
        at scriptblock.managers.FileManager.init(FileManager.java:61)
        at scriptblock.managers.ScriptManager.init(ScriptManager.java:49)
        at scriptblock.managers.ScriptManager.<init>(ScriptManager.java:43)
        at scriptblock.listeners.PlayerInteractBlock.<init>(PlayerInteractBlock.java:18)
        at scriptblock.ScriptBlock.onEnable(ScriptBlock.java:45)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:381)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:197)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

  • _ForgeUser8358411 added the tags New Defect Jul 15, 2012
  • _ForgeUser8358411 posted a comment Jul 15, 2012

    i just tried the reset command you posted in comments again except this time i 'removed' the interact sign with the cooldown first..... Now the server reboots without errors, so it has something to do with the yml file having the cooldown command in there. Hope that helps. now that its reset, ill try to add the cooldown interact again and reboot and see if it fails again.

  • _ForgeUser7448041 posted a comment Jul 18, 2012

    When I look at this error and your previous one, it looks like that your server is not or hasn't been shut down properly. When the server is shut down properly, ScriptBlock saves the shut down time to use it when your server is restarted.

    To see if Scriptblock is shut down properly, you should see in the log: "[ScriptBlock] Disabled !" .

    So if your server is not shut down properly, if there is one, it use the previous save of the shut down time ! that explain your 432 hours of cooldown !

    Anyway, I will try to fix this in a futur version !


    Edited Jul 18, 2012
  • _ForgeUser8358411 posted a comment Jul 19, 2012

    @Shereis: Go what do you mean by shutting down the server properly?
    i always do a "save-all" from the console and then close it out.
    is there something im missing?

  • _ForgeUser7448041 posted a comment Jul 20, 2012

    @dropposite: Go

    you do not use the "stop" command ?


To post a comment, please login or register a new account.