Buy with left klick doesn't work #49


  • Defect
  • Started
Open
Assigned to _ForgeUser7852203
  • _ForgeUser7588202 created this issue Mar 10, 2012

    What steps will reproduce the problem?
    1. Left klick on a shop Sign to Buy something
    2.
    3.

    What is the expected output? What do you see instead?
    Expect to buy a item. Nothing happens

    What version of the product are you using?
    Bukkit 123B

    Do you have an error log of what happened?
    2012-03-10 21:09:46 [SEVERE] Could not pass event PlayerInteractEvent to DynamicShop
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
        at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
        at me.zylinder.dynamicshop.PlayerHandler.checkInventory(PlayerHandler.java:137)
        at me.zylinder.dynamicshop.TransactionHandler.buyGlobal(TransactionHandler.java:85)
        at me.zylinder.dynamicshop.SignHandler.leftClickGlobal(SignHandler.java:186)
        at me.zylinder.dynamicshop.DynamicShopPlayerListener.onPlayerInteract(DynamicShopPlayerListener.java:59)
        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:301)
        ... 12 more

    Please provide any additional information below.

    2012-03-10 21:16:27 [INFO] Starting minecraft server version 1.2.3
    2012-03-10 21:16:27 [INFO] Loading properties
    2012-03-10 21:16:27 [INFO] Starting Minecraft server on *:25565
    2012-03-10 21:16:27 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R6-33-gb66156b-b2034jnks (MC: 1.2.3) (Implementing API version 1.2.3-R0.1)
    2012-03-10 21:16:28 [INFO] [NoEntityGrief] Loading NoEntityGrief v2.0.2 (1C3)
    2012-03-10 21:16:28 [INFO] [ItemID] Loading ItemID v1.2.1
    2012-03-10 21:16:28 [INFO] [LagMeter] Loading LagMeter v1.7
    2012-03-10 21:16:28 [INFO] [DeadMansChest] Loading DeadMansChest v0.6
    2012-03-10 21:16:28 [INFO] [Vault] Loading Vault v1.2.12-b136
    2012-03-10 21:16:28 [INFO] [WorldEdit] Loading WorldEdit v5.3-SNAPSHOT
    2012-03-10 21:16:28 [INFO] [DynamicShop] Loading DynamicShop v1.46
    2012-03-10 21:16:28 [INFO] [iConomy] Loading iConomy v6.0.9b
    2012-03-10 21:16:28 [INFO] [RepairDispenser] Loading RepairDispenser v0.3.0
    2012-03-10 21:16:28 [INFO] [MoneyDrop] Loading MoneyDrop v1.6.1
    2012-03-10 21:16:28 [INFO] [ItemRepair] Loading ItemRepair v1.1.0
    2012-03-10 21:16:28 [INFO] [ShowCaseStandalone] Loading ShowCaseStandalone v0.67
    2012-03-10 21:16:28 [INFO] [Vault] Enabling Vault v1.2.12-b136
    2012-03-10 21:16:28 [INFO] [Vault][Economy] iConomy 6 found: Waiting
    2012-03-10 21:16:28 [INFO] [Vault][Permission] SuperPermissions loaded as backup permission system.
    2012-03-10 21:16:28 [INFO] ----- Bukkit Auto Updater -----
    2012-03-10 21:16:28 [INFO] It appears that you're running a Beta Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
    2012-03-10 21:16:28 [INFO] If you would like to be kept informed about new Beta Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'beta'.
    2012-03-10 21:16:28 [INFO] With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
    2012-03-10 21:16:28 [INFO] If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
    2012-03-10 21:16:28 [INFO] ----- ------------------- -----
    2012-03-10 21:16:28 [INFO] [Vault] Enabled Version 1.2.12-b136
    2012-03-10 21:16:28 [INFO] Preparing level "world"
    2012-03-10 21:16:28 [INFO] Default game type: 0
    2012-03-10 21:16:28 [INFO] Preparing start region for level 0 (Seed: 2065475206789749498)
    2012-03-10 21:16:29 [INFO] Preparing start region for level 1 (Seed: 2171187445202853231)
    2012-03-10 21:16:29 [INFO] Preparing spawn area: 0%
    2012-03-10 21:16:30 [INFO] Preparing start region for level 2 (Seed: 2171187445202853231)
    2012-03-10 21:16:30 [INFO] [NoEntityGrief] Enabling NoEntityGrief v2.0.2 (1C3)
    2012-03-10 21:16:30 [INFO] [ItemID] Enabling ItemID v1.2.1
    2012-03-10 21:16:30 [INFO] ItemID 1.2.1 enabled.
    2012-03-10 21:16:30 [INFO] ItemID: Updating data...
    2012-03-10 21:16:32 [INFO] ItemID: Update complete!
    2012-03-10 21:16:32 [INFO] [LagMeter] Enabling LagMeter v1.7
    2012-03-10 21:16:32 [INFO] [LagMeter 1.7] Enabled!  Polling every 40 server ticks.  Logging to C:\Users\Administrator\Desktop\Spiele\Minecraft\Server\Test 1.1 - 123\plugins\LagMeter\lag.log
    2012-03-10 21:16:32 [INFO] [DeadMansChest] Enabling DeadMansChest v0.6
    2012-03-10 21:16:32 [INFO] [DeadMansChest] loaded.
    2012-03-10 21:16:32 [INFO] [WorldEdit] Enabling WorldEdit v5.3-SNAPSHOT
    2012-03-10 21:16:32 [INFO] WEPIF: Using the Bukkit Permissions API.
    2012-03-10 21:16:32 [INFO] [DynamicShop] Enabling DynamicShop v1.46
    2012-03-10 21:16:32 [INFO] [DynamicShop] Creating new config.
    2012-03-10 21:16:32 [INFO] [DynamicShop] Config saved to file.
    2012-03-10 21:16:32 [INFO] [DynamicShop] Config saved to file.
    2012-03-10 21:16:32 [INFO] [DynamicShop] version 1.46 by Schwarzer Zylinder is enabled.
    2012-03-10 21:16:32 [INFO] [iConomy] Enabling iConomy v6.0.9b
    2012-03-10 21:16:32 [INFO] [iConomy - Celty] Enabled (26 ms)
    2012-03-10 21:16:32 [INFO] [Vault][Economy] iConomy 6 hooked.
    2012-03-10 21:16:32 [INFO] [RepairDispenser] Enabling RepairDispenser v0.3.0
    2012-03-10 21:16:32 [INFO] [iConomy - Celty] Purged accounts with default balance.
    2012-03-10 21:16:33 [INFO] [RepairDispenser v0.3.0] RepairDispenser is enabled.
    2012-03-10 21:16:33 [INFO] [MoneyDrop] Enabling MoneyDrop v1.6.1
    2012-03-10 21:16:33 [INFO] [MoneyDrop] Startup complete.
    2012-03-10 21:16:33 [INFO] [ItemRepair] Enabling ItemRepair v1.1.0
    2012-03-10 21:16:33 [INFO] [ItemRepair] Version 1.1.0 enabled
    2012-03-10 21:16:33 [INFO] [ShowCaseStandalone] Enabling ShowCaseStandalone v0.67
    2012-03-10 21:16:33 [INFO] [SCS] Starting build 69.0, 2012-03-10 by kellerkindt, contributors: sorklin, bitfreeze
    2012-03-10 21:16:33 [INFO] [SCS] Loading configuration.
    2012-03-10 21:16:33 [INFO] [SCS] Initializing ShopHandler and ShopStorage
    2012-03-10 21:16:33 [INFO] [SCS] Using the MiniDB storage type.
    2012-03-10 21:16:33 [INFO] [SCS] getDatafolder: plugins\ShowCaseStandalone
    2012-03-10 21:16:33 [INFO] [SCS] Loading shops
    2012-03-10 21:16:33 [INFO] [SCS] Loaded 15 shops.
    2012-03-10 21:16:33 [INFO] [SCS] Loaded localization: locale_EN.yml
    2012-03-10 21:16:33 [INFO] [SCS] Searching for other Plugins...
    2012-03-10 21:16:33 [INFO] [SCS] Found Vault
    2012-03-10 21:16:33 [INFO] [SCS] Hooked into iConomy6
    2012-03-10 21:16:33 [INFO] [SCS] Register event listeners.
    2012-03-10 21:16:33 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2012-03-10 21:16:33 [INFO] Done (4.786s)! For help, type "help" or "?"

  • _ForgeUser7588202 added the tags New Defect Mar 10, 2012
  • _ForgeUser7200721 posted a comment Mar 15, 2012

    I am also getting this error. I will contact Schwarzer about it.

  • _ForgeUser6838542 posted a comment Mar 16, 2012

    same here.

  • _ForgeUser7002457 posted a comment Mar 19, 2012

    exactly the same error here too. WorldEdit, ( and iConomy and Vault) is the only plugin I have that matches the ones above if that helps at all.

  • _ForgeUser7588202 edited title Mar 20, 2012
  • theblackmage94 posted a comment Apr 5, 2012

    I will begin work on repairing


    Edited Apr 8, 2012
  • theblackmage94 removed a tag New Apr 5, 2012
  • theblackmage94 added a tag Started Apr 5, 2012

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