Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teleporting Away from a NPC in the Nether to World Causes a PlayerMoveEvent EventException #168

Closed
mythan opened this issue Apr 10, 2013 · 3 comments
Labels
Bug Denizen is misbehaving.

Comments

@mythan
Copy link

mythan commented Apr 10, 2013

This started spamming the console when a couple of us teleported away to the normal world from the nether. The first time it happened it kept on spamming for a good minute or so, just repeating the message over and over. The second time it only came up once, but it was only myself online at the time.

Denizen (Build 1000)
Citizens (Build 784)
Craftbukkit (Build 2744)

Error:

23:05:29 [INFO] mythanical: /home
23:05:39 [SEVERE] Could not pass event PlayerMoveEvent to Denizen v0.8-prereleas
e
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
ava:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:462)
at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java
:217)
at net.minecraft.server.v1_5_R2.Packet10Flying.handle(SourceFile:136)
at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292
)
at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java
:110)
at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35)
at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:3
0)
at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:5
80)
at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:2
25)
at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:4
76)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java
:409)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:5
73)
Caused by: java.lang.IllegalArgumentException: Cannot measure distance between w
orld_nether and world
at org.bukkit.Location.distanceSquared(Location.java:381)
at org.bukkit.Location.distance(Location.java:364)
at net.aufdemrand.denizen.scripts.triggers.core.ProximityTrigger.proximi
tyTrigger(ProximityTrigger.java:224)
at sun.reflect.GeneratedMethodAccessor41.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.ja
va:425)
... 14 more

@mythan
Copy link
Author

mythan commented Apr 10, 2013

Fixed since build #1001 of Denizen.

Thank you.

@mythan mythan closed this as completed Apr 10, 2013
@mythan
Copy link
Author

mythan commented Apr 10, 2013

00:01:54 [INFO] FOUND! NPC is in EXITING range: 'TheMageGod'
00:01:54 [INFO] +- Parsing PROXIMITY trigger: TheMageGod/mythanical
------+
00:01:54 [INFO] Starting queue 18DE3341-AB2F-4A32-9C59-435FD605D78F.
(Speed=10tpr)
00:01:54 [INFO] +- Executing command: execute/mythanical ------+
00:01:54 [INFO] +> Filled tags: [as_npc, butcher]
00:01:54 [INFO] +> Executing 'EXECUTE': Type='AS_NPC' Command='butcher'
00:01:54 [INFO] ERROR! Woah!! An exception has been called with this
command!
00:01:54 [SEVERE] java.lang.NullPointerException
00:01:54 [SEVERE] at net.aufdemrand.denizen.scripts.commands.core.ExecuteC
ommand.execute(ExecuteCommand.java:95)
00:01:54 [SEVERE] at net.aufdemrand.denizen.scripts.commands.CommandExecut
er.execute(CommandExecuter.java:156)
00:01:54 [SEVERE] at net.aufdemrand.denizen.scripts.ScriptEngine.revolve(S
criptEngine.java:43)
00:01:54 [SEVERE] at net.aufdemrand.denizen.scripts.ScriptQueue.revolve(Sc
riptQueue.java:259)
00:01:54 [SEVERE] at net.aufdemrand.denizen.scripts.ScriptQueue.access$000
(ScriptQueue.java:15)
00:01:54 [SEVERE] at net.aufdemrand.denizen.scripts.ScriptQueue$1.run(Scri
ptQueue.java:222)
00:01:54 [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftTask.ru
n(CraftTask.java:53)
00:01:54 [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftSchedul
er.mainThreadHeartbeat(CraftScheduler.java:345)
00:01:54 [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.r(Minecr
aftServer.java:512)
00:01:54 [SEVERE] at net.minecraft.server.v1_5_R2.DedicatedServer.r(Dedica
tedServer.java:225)
00:01:54 [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.q(Minecr
aftServer.java:476)
00:01:54 [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.run(Mine
craftServer.java:409)
00:01:54 [SEVERE] at net.minecraft.server.v1_5_R2.ThreadServerApplication.
run(SourceFile:573)
00:01:54 [INFO] Completing queue 18DE3341-AB2F-4A32-9C59-435FD605D78F...

@mythan mythan reopened this Apr 10, 2013
@davidcernat
Copy link
Contributor

Does this still happen?

mcmonkey4eva added a commit that referenced this issue Jan 16, 2019
Expand ban command to allow ip-bans, add more ban_info tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Denizen is misbehaving.
Projects
None yet
Development

No branches or pull requests

2 participants