Null Pointer Exception #46


  • New
  • Defect
  • Replied
Open
Assigned to _ForgeUser7852203
  • user_6834162 created this issue Jan 15, 2012

    What steps will reproduce the problem?
    1. Using any command.

    What is the expected output? What do you see instead?
    Expected: For it to work...

    What I see(In the console):
    2012-01-16 20:32:47 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'buy' in plugin DynamicShop v1.45
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:385)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
        at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NullPointerException
        at me.zylinder.dynamicshop.PriceHandler.linkItems(PriceHandler.java:66)
        at me.zylinder.dynamicshop.PriceHandler.raisePriceGlobal(PriceHandler.java:113)
        at me.zylinder.dynamicshop.TransactionHandler.buyGlobal(TransactionHandler.java:111)
        at me.zylinder.dynamicshop.DynamicShopPlayerListener.onCommand(DynamicShopPlayerListener.java:118)
        at me.zylinder.dynamicshop.DynamicShop.onCommand(DynamicShop.java:117)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more

    What version of the product are you using?
    Newest Version

    Do you have an error log of what happened?
    ^^

  • user_6834162 added the tags New Defect Jan 15, 2012
  • _ForgeUser7852203 posted a comment Jan 16, 2012

    First of all: Newest version says me nothing if I'm reading this next week or so. Something with your prices isn't correct, try it out with a new generated config. Does this appear on any command or only trade commands?

  • _ForgeUser8650670 posted a comment Jul 4, 2012

    I have erased the config myself and it still does not work. I'll try deleting the whole folder and see what happens.

  • _ForgeUser8650670 removed a tag Waiting Jul 4, 2012
  • _ForgeUser8650670 added a tag Replied Jul 4, 2012
  • _ForgeUser8650670 posted a comment Jul 4, 2012

    @DeadIntermediate: Go

    Nope, still the same thing.

    Hope to see this compatible with 1.2.5 or up to 1.3 hopefully working.

    Also, there is a famous plugin called "Buycraft" and it uses "/buy" as well. Prob change it to something like "/ds buy" or "/ds sell" ?


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