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

Spammed by Couldn't Pass event PlayerTeleportEvent.. #563

Closed
Joannou1 opened this issue Mar 11, 2012 · 16 comments
Closed

Spammed by Couldn't Pass event PlayerTeleportEvent.. #563

Joannou1 opened this issue Mar 11, 2012 · 16 comments
Labels
Bug: Confirmed Issue/problem with the software.

Comments

@Joannou1
Copy link

No idea what it is caused by...
It doesn't seem to be caused by anything in particular that I can tell, but take a look below.

Very similar to #554

07:51:15 [INFO] Multiverse-Core version 2.4-b521
07:51:15 [INFO] Authors: Rigby, fernferret, lithium3141 and main--
07:51:31 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R6-29-gd6d767e-b2029jnks (MC: 1.2.3) (Implementing API version 1.2.3-R0.1-SNAPSHOT)
2012-03-11 07:49:33 [INFO] [MVCore-Debug] Inferred sender 'null' from name 'null', fetched from name 'essi123'
2012-03-11 07:49:33 [INFO] [MVCore-Debug] Player 'essi123' is teleporting to the same world.
2012-03-11 07:49:33 [SEVERE] Could not pass event PlayerTeleportEvent to Multiverse-Core
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 net.minecraft.server.NetServerHandler.a(NetServerHandler.java:424)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:391)
at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
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 com.onarandombox.MultiverseCore.listeners.MVPlayerListener.playerTeleport(MVPlayerListener.java:198)
at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
... 11 more
2012-03-11 07:49:33 [INFO] [MVCore-Debug] Got teleport event for player 'greenfire9' with cause 'UNKNOWN'
2012-03-11 07:49:33 [INFO] [MVCore-Debug] Inferred sender 'null' from name 'null', fetched from name 'greenfire9'
2012-03-11 07:49:33 [INFO] [MVCore-Debug] Player 'greenfire9' is teleporting to the same world.
2012-03-11 07:49:33 [INFO] [MVCore-Debug] MV-Core is allowing Player 'greenfire9' to go to 'PHXTM'.
2012-03-11 07:49:33 [INFO] [33m[GLDesert] [33mDonate for [31mEpic Ranks! [33mgldesert.com/donate[0m
2012-03-11 07:49:34 [INFO] [MVCore-Debug] Got teleport event for player 'essi123' with cause 'UNKNOWN'
2012-03-11 07:49:34 [INFO] [MVCore-Debug] Inferred sender 'null' from name 'null', fetched from name 'essi123'
2012-03-11 07:49:34 [INFO] [MVCore-Debug] Player 'essi123' is teleporting to the same world.
2012-03-11 07:49:34 [SEVERE] Could not pass event PlayerTeleportEvent to Multiverse-Core
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 net.minecraft.server.NetServerHandler.a(NetServerHandler.java:424)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:391)
at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
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 com.onarandombox.MultiverseCore.listeners.MVPlayerListener.playerTeleport(MVPlayerListener.java:198)
at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
... 11 more
@main--
Copy link
Member

main-- commented Mar 11, 2012

@Multiverse As far as I can see, toWorld seems to be null here.

@Joannou1 I would like to see your worlds.yml

@Joannou1
Copy link
Author

@main--
Copy link
Member

main-- commented Mar 11, 2012

Do you know where "essi123" was when the error occurred?

@Joannou1
Copy link
Author

I'm assuming in the main world "PHXTM" I'm not 100% sure though.

2012-03-11 07:49:33 [INFO] [MVCore-Debug] Got teleport event for player 'essi123' with cause 'UNKNOWN'
2012-03-11 07:49:33 [INFO] [MVCore-Debug] Inferred sender 'null' from name 'null', fetched from name 'essi123'
2012-03-11 07:49:33 [INFO] [MVCore-Debug] Player 'essi123' is teleporting to the same world.

@fernferret
Copy link
Member

@main-- but that would imply they're teleporting to an invalid world and it's stating success?

@main--
Copy link
Member

main-- commented Mar 12, 2012

@fernferret The player seems to be in a world the worldManager doesn't know ==> returns null ==> getAlias() ==> NPE

@fernferret
Copy link
Member

Ah duh. I can fix this tonight or you can today :)

@dumptruckman
Copy link
Member

Was this fixed?

@Joannou1
Copy link
Author

I'm using 2.4-b521
And I still get spammed with;
[SEVERE] Could not pass event PlayerTeleportEvent to Multiverse-Core
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 net.minecraft.server.NetServerHandler.a(NetServerHandler.java:512)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:395)
at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
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 com.onarandombox.MultiverseCore.listeners.MVPlayerListener.playerTeleport(MVPlayerListener.java:198)
at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
... 11 more

And all other worlds are messed up, when I go to them I am in a completely different location than what the warp or portal was set too...

@Sessional
Copy link

Using CraftBukkit server build #2120 for 1.2.4-R0.1 this issue is still occurring on the server I help with.
This problem occurs when using a player.Teleport() line of code from my Waypoints mod.

The NullPointerException occurs when I call "getServer().getWorld("newworld")" or something similar. I do not have my code with me.

When I create my way point object I store the location in a variable inside my waypoint object.
I create the location when an individual decides to "go" to the waypoint I have them move to the world. I have tried creating the location when they "go" and try creating it when the server starts up.
Seeing as I do not have direct access to the server console I can not provide much more of a clearer report, sorry. If I understood the operator correctly, neither of these two ways have worked without a reload when on the other worlds.

If no player was on the world when the server "reloaded all" mods the locations that are on a different world will not work.

It seems to me like it doesn't realize the world exists unless it has been loaded by a player before the mod loads.

@Joannou1
Copy link
Author

I'm still getting it...
Newest Dev with newest bukkit.

http://pastebin.com/rysSGnqS

07:38:10 [INFO] Multiverse-Core version 2.4-b525

07:38:24 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.3-R0.2-93-gac9207d-b2122jnks (MC: 1.2.4) (Implementing API version 1.2.4-R0.1-SNAPSHOT)
07:

Thanks!

PS.
Heres another slice of my log file with mv debug set to 3..

http://pastebin.com/BVRhMKdj

@Joannou1
Copy link
Author

Joannou1 commented Apr 8, 2012

Hey, Still getting it!
I have no idea what the hell us causing it.
I unloaded basically all my worlds but 1.
Main world/Nether/End and 1 More world that no one has access to.

Here's the error.

http://pastebin.com/bqPe2VcK

Running latest CB (2150) and MV (527) /MV Inv (121) Debug

It's getting to the point where it floods my console.

@dumptruckman
Copy link
Member

The last error seems to be caused by BorderGuard

@Joannou1
Copy link
Author

Joannou1 commented Apr 9, 2012

Sorry for not even bothering to read it, I'll let them know about this.

@TheGurw
Copy link

TheGurw commented Apr 9, 2012

BorderGuard and a lot of other plugins don't play nicely together.

@main--
Copy link
Member

main-- commented Oct 21, 2012

Another PlayerListener-198 ticket?

This issue was fixed in a pull request a few months ago.

@main-- main-- closed this as completed Oct 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Confirmed Issue/problem with the software.
Projects
None yet
Development

No branches or pull requests

6 participants