Исключение: RegionEnterEvent #109


  • New
  • Defect
Open
Assigned to fromgate
  • _ForgeUser16377105 created this issue Aug 13, 2015
    Tester
    2015-08-10 17:43:17 [SEVERE] Could not pass event RegionEnterEvent to ReActions v0.9.9
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
        at me.fromgate.reactions.event.EventManager.raiseRgEnterEvent(EventManager.java:305)
        at me.fromgate.reactions.event.EventManager.access$1(EventManager.java:300)
        at me.fromgate.reactions.event.EventManager$3$1.run(EventManager.java:292)
        at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58)
        at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344)
        at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:509)
        at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:227)
        at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
        at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
        at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    Caused by: java.lang.NullPointerException
        at me.fromgate.reactions.util.item.VirtualItem.putItemMeta(VirtualItem.java:409)
        at me.fromgate.reactions.util.item.VirtualItem.toMap(VirtualItem.java:210)
        at me.fromgate.reactions.util.item.VirtualItem.toString(VirtualItem.java:615)
        at me.fromgate.reactions.placeholders.PlaceholderPlayer.getPlayerInventory(PlaceholderPlayer.java:81)
        at me.fromgate.reactions.placeholders.PlaceholderPlayer.processPlaceholder(PlaceholderPlayer.java:28)
        at me.fromgate.reactions.placeholders.Placeholders.replacePlaceholder(Placeholders.java:70)
        at me.fromgate.reactions.placeholders.Placeholders.replacePlaceholders(Placeholders.java:53)
        at me.fromgate.reactions.actions.Actions.executeActions(Actions.java:176)
        at me.fromgate.reactions.actions.Actions.executeActivator(Actions.java:147)
        at me.fromgate.reactions.activators.RgEnterActivator.activate(RgEnterActivator.java:60)
        at me.fromgate.reactions.activators.Activator.executeActivator(Activator.java:230)
        at me.fromgate.reactions.activators.Activators.activate(Activators.java:288)
        at me.fromgate.reactions.RAListener.onRegionEnter(RAListener.java:399)
        at sun.reflect.GeneratedMethodAccessor592.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:425)
        ... 14 more
    2015-08-10 17:43:18 [INFO] Disconnecting /88.151.182.128:57085: Protocol error
    2015-08-10 17:43:18 [INFO] /88.151.182.128:57085 lost connection
    2015-08-10 17:43:19 [SEVERE] Could not pass event RegionEnterEvent to ReActions v0.9.9
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
        at me.fromgate.reactions.event.EventManager.raiseRgEnterEvent(EventManager.java:305)
        at me.fromgate.reactions.event.EventManager.access$1(EventManager.java:300)
        at me.fromgate.reactions.event.EventManager$3$1.run(EventManager.java:292)
        at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58)
        at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344)
        at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:509)
        at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:227)
        at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
        at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
        at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    Caused by: java.lang.NullPointerException
        at me.fromgate.reactions.util.item.VirtualItem.putItemMeta(VirtualItem.java:409)
        at me.fromgate.reactions.util.item.VirtualItem.toMap(VirtualItem.java:210)
        at me.fromgate.reactions.util.item.VirtualItem.toString(VirtualItem.java:615)
        at me.fromgate.reactions.placeholders.PlaceholderPlayer.getPlayerInventory(PlaceholderPlayer.java:81)
        at me.fromgate.reactions.placeholders.PlaceholderPlayer.processPlaceholder(PlaceholderPlayer.java:28)
        at me.fromgate.reactions.placeholders.Placeholders.replacePlaceholder(Placeholders.java:70)
        at me.fromgate.reactions.placeholders.Placeholders.replacePlaceholders(Placeholders.java:53)
        at me.fromgate.reactions.actions.Actions.executeActions(Actions.java:176)
        at me.fromgate.reactions.actions.Actions.executeActivator(Actions.java:147)
        at me.fromgate.reactions.activators.RgEnterActivator.activate(RgEnterActivator.java:60)
        at me.fromgate.reactions.activators.Activator.executeActivator(Activator.java:230)
        at me.fromgate.reactions.activators.Activators.activate(Activators.java:288)
        at me.fromgate.reactions.RAListener.onRegionEnter(RAListener.java:399)
        at sun.reflect.GeneratedMethodAccessor592.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:425)
        ... 14 more
    2015-08-10 17:43:20 [SEVERE] Could not pass event RegionEnterEvent to ReActions v0.9.9
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
        at me.fromgate.reactions.event.EventManager.raiseRgEnterEvent(EventManager.java:305)
        at me.fromgate.reactions.event.EventManager.access$1(EventManager.java:300)
        at me.fromgate.reactions.event.EventManager$3$1.run(EventManager.java:292)
        at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58)
        at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344)
        at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:509)
        at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:227)
        at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
        at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
        at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    Caused by: java.lang.NullPointerException
        at me.fromgate.reactions.util.item.VirtualItem.putItemMeta(VirtualItem.java:409)
        at me.fromgate.reactions.util.item.VirtualItem.toMap(VirtualItem.java:210)
        at me.fromgate.reactions.util.item.VirtualItem.toString(VirtualItem.java:615)
        at me.fromgate.reactions.placeholders.PlaceholderPlayer.getPlayerInventory(PlaceholderPlayer.java:81)
        at me.fromgate.reactions.placeholders.PlaceholderPlayer.processPlaceholder(PlaceholderPlayer.java:28)
        at me.fromgate.reactions.placeholders.Placeholders.replacePlaceholder(Placeholders.java:70)
        at me.fromgate.reactions.placeholders.Placeholders.replacePlaceholders(Placeholders.java:53)
        at me.fromgate.reactions.actions.Actions.executeActions(Actions.java:176)
        at me.fromgate.reactions.actions.Actions.executeActivator(Actions.java:147)
        at me.fromgate.reactions.activators.RgEnterActivator.activate(RgEnterActivator.java:60)
        at me.fromgate.reactions.activators.Activator.executeActivator(Activator.java:230)
        at me.fromgate.reactions.activators.Activators.activate(Activators.java:288)
        at me.fromgate.reactions.RAListener.onRegionEnter(RAListener.java:399)
        at sun.reflect.GeneratedMethodAccessor592.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:425)
        ... 14 more
    2015-08-10 17:43:20 [INFO] Lyosha12 issued server command: /ci Lyosha12
    2015-08-10 17:43:20 [INFO] Lyosha12 issued server command: /give Lyosha12 271 1
    2015-08-10 17:43:20 [INFO] Lyosha12 issued server command: /give Lyosha12 345 1
    2015-08-10 17:43:21 [INFO] инвентарь игрока Lyosha12 очищен.
    

    Возникает не часто. Проверял точно этим:

    REGION_ENTER:
      RF-UNLIMITED-Fall:
        region: world_the_end.rf-leave-floor
        flags:
        - var_compare=id:RF-Game-Mode value:UNLIMITED
        - var_player_compare=id:RF-UNLIMITED-In-Game value:1
        actions:
        - var_set=id:RF-Items-Inventory-Fall-0 value:{%PLAYER_INV:0%}
        - var_set=id:RF-Items-Inventory-Fall-1 value:{%PLAYER_INV:1%}
        - var_set=id:RF-Items-Inventory-Fall-2 value:{%PLAYER_INV:2%}
        - var_set=id:RF-Items-Inventory-Fall-3 value:{%PLAYER_INV:3%}
        - var_set=id:RF-Items-Inventory-Fall-4 value:{%PLAYER_INV:4%}
        - var_set=id:RF-Items-Inventory-Fall-5 value:{%PLAYER_INV:5%}
        - var_set=id:RF-Items-Inventory-Fall-6 value:{%PLAYER_INV:6%}
        - var_set=id:RF-Items-Inventory-Fall-7 value:{%PLAYER_INV:7%}
        - var_set=id:RF-Items-Inventory-Fall-8 value:{%PLAYER_INV:8%}
        - var_set=id:RF-Items-Inventory-Fall-9 value:{%PLAYER_INV:9%}
        - var_set=id:RF-Items-Inventory-Fall-10 value:{%PLAYER_INV:10%}
        - var_set=id:RF-Items-Inventory-Fall-11 value:{%PLAYER_INV:11%}
        - var_set=id:RF-Items-Inventory-Fall-12 value:{%PLAYER_INV:12%}
        - var_set=id:RF-Items-Inventory-Fall-13 value:{%PLAYER_INV:13%}
        - var_set=id:RF-Items-Inventory-Fall-14 value:{%PLAYER_INV:14%}
        - var_set=id:RF-Items-Inventory-Fall-15 value:{%PLAYER_INV:15%}
        - var_set=id:RF-Items-Inventory-Fall-16 value:{%PLAYER_INV:16%}
        - var_set=id:RF-Items-Inventory-Fall-17 value:{%PLAYER_INV:17%}
        - var_set=id:RF-Items-Inventory-Fall-18 value:{%PLAYER_INV:18%}
        - var_set=id:RF-Items-Inventory-Fall-19 value:{%PLAYER_INV:19%}
        - var_set=id:RF-Items-Inventory-Fall-20 value:{%PLAYER_INV:20%}
        - var_set=id:RF-Items-Inventory-Fall-21 value:{%PLAYER_INV:21%}
        - var_set=id:RF-Items-Inventory-Fall-22 value:{%PLAYER_INV:22%}
        - var_set=id:RF-Items-Inventory-Fall-23 value:{%PLAYER_INV:23%}
        - var_set=id:RF-Items-Inventory-Fall-24 value:{%PLAYER_INV:24%}
        - var_set=id:RF-Items-Inventory-Fall-25 value:{%PLAYER_INV:25%}
        - var_set=id:RF-Items-Inventory-Fall-26 value:{%PLAYER_INV:26%}
        - var_set=id:RF-Items-Inventory-Fall-27 value:{%PLAYER_INV:27%}
        - var_set=id:RF-Items-Inventory-Fall-28 value:{%PLAYER_INV:28%}
        - var_set=id:RF-Items-Inventory-Fall-29 value:{%PLAYER_INV:29%}
        - var_set=id:RF-Items-Inventory-Fall-30 value:{%PLAYER_INV:30%}
        - var_set=id:RF-Items-Inventory-Fall-31 value:{%PLAYER_INV:31%}
        - var_set=id:RF-Items-Inventory-Fall-32 value:{%PLAYER_INV:32%}
        - var_set=id:RF-Items-Inventory-Fall-33 value:{%PLAYER_INV:33%}
        - var_set=id:RF-Items-Inventory-Fall-34 value:{%PLAYER_INV:34%}
        - var_set=id:RF-Items-Inventory-Fall-35 value:{%PLAYER_INV:35%}
        - var_set=id:RF-Items-Inventory-Fall-36 value:{%PLAYER_INV:helmet%}
        - var_set=id:RF-Items-Inventory-Fall-37 value:{%PLAYER_INV:chestplate%}
        - var_set=id:RF-Items-Inventory-Fall-38 value:{%PLAYER_INV:leggings%}
        - var_set=id:RF-Items-Inventory-Fall-39 value:{%PLAYER_INV:boots%}
        - var_set=id:RF-UNLIMITED-Name-Looser value:%player%
        - WAIT=50ms
        - cmd_console=ci %player% **
        - message=&7[&cRF&7] &bПоражение.
        - TP=loc:RF-Spawn-Loc-%random:1-4% radius:2
        - execute=activator:RF-UNLIMITED-Give-Items-Leader-From-Fall-Player region:world_the_end.rf-leader
        reactions: []
    


    Заметил, что это происходит, если я вошёл и тут же вышел из региона. Оставался в нём примерно столько, сколько требуется от входа в регион, высотой в один блок, до прыжка из него.

  • _ForgeUser16377105 added the tags New Defect Aug 13, 2015

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