I can't change the settings... #45


  • Defect
  • Accepted
Open
Assigned to _ForgeUser6956315
  • _ForgeUser7145108 created this issue Jul 1, 2012

    What steps will reproduce the problem?
    1. Deleting DynEcon folder
    2. Deleting config.yml
    3. Reloading server.

    What is the expected output? What do you see instead?
    I want it to change the config to the right one, but it keeps reverting to the previous one, even if I delete it, place the new one, and reload. The old config comes back. I have no idea why.

    What version of the product are you using?
    v.9

    Do you have an error log of what happened?
    2012-07-02 05:22:09 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'buy' in plugin DynamicEconomy v.9.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
        at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:475)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:612)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:581)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
        at me.ksafin.DynamicEconomy.DynamicEconomyCommandExecutor.onCommand(DynamicEconomyCommandExecutor.java:233)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 7 more
    and this
    2012-07-02 05:22:01 [SEVERE] Could not pass event PlayerInteractEvent to DynamicEconomy
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:147)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:889)
        at net.minecraft.server.Packet18ArmAnimation.handle(SourceFile:38)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
        at me.ksafin.DynamicEconomy.DynamicShop.isShop(DynamicShop.java:104)
        at me.ksafin.DynamicEconomy.DynamicEconomyPlayerListener.onPlayerInteract(DynamicEconomyPlayerListener.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
        ... 12 more
    2012-07-02 05:22:01 [SEVERE] Could not pass event PlayerInteractEvent to DynamicEconomy
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
        at

    Please provide any additional information below.

  • _ForgeUser7145108 added the tags New Defect Jul 1, 2012
  • _ForgeUser6956315 posted a comment Jul 1, 2012
  • _ForgeUser9052312 posted a comment Jul 1, 2012

    Same problem as me.

  • _ForgeUser6956315 removed a tag New Jul 2, 2012
  • _ForgeUser6956315 added a tag Accepted Jul 2, 2012
  • _ForgeUser6956315 posted a comment Jul 2, 2012

    Try v .9.01

  • _ForgeUser7145108 posted a comment Jul 2, 2012

    Still doesn't work. I tried deleting the whole plugin and it's folder, stopping the server, replacing the new .jar and folder with the new config, and restarting the server, but it still reverts back to the old config. It still won't let me use /buy|sell command even though I have it enabled in the config...

  • _ForgeUser6956315 posted a comment Jul 3, 2012

    @dingousa: Go

    Please try v .9.1

  • _ForgeUser7145108 posted a comment Jul 3, 2012

    Thank you, it works now. :D


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