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

Error when joining without accepting downloads #338

Closed
TBlueF opened this issue Sep 13, 2022 · 2 comments
Closed

Error when joining without accepting downloads #338

TBlueF opened this issue Sep 13, 2022 · 2 comments
Labels
bug Something isn't working needs testing Not confirmed bug, needs more testing first

Comments

@TBlueF
Copy link
Member

TBlueF commented Sep 13, 2022

Reproduce:

  • fresh install bluemap
  • don't change any config
  • join the server
[04:51:25] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to BlueMap v3.4
java.lang.NullPointerException: Cannot invoke "de.bluecolored.bluemap.common.BlueMapService.getWorldId(java.nio.file.Path)" because the return value of "de.bluecolored.bluemap.common.plugin.Plugin.getBlueMap()" is null
	at de.bluecolored.bluemap.bukkit.BukkitPlayer.update(BukkitPlayer.java:165) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.bukkit.BukkitPlayer.<init>(BukkitPlayer.java:67) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.bukkit.BukkitPlugin.onPlayerJoin(BukkitPlugin.java:244) ~[BlueMap-3.4-spigot.jar:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor51.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:git-Paper-"276d830"]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.players.PlayerList.postChunkLoadJoin(PlayerList.java:363) ~[paper-1.18.2.jar:git-Paper-"276d830"]
	at net.minecraft.server.players.PlayerList.lambda$placeNewPlayer$1(PlayerList.java:305) ~[paper-1.18.2.jar:git-Paper-"276d830"]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.tick(ServerGamePacketListenerImpl.java:305) ~[?:?]
	at net.minecraft.network.Connection.tick(Connection.java:567) ~[?:?]
	at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:231) ~[?:?]
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1623) ~[paper-1.18.2.jar:git-Paper-"276d830"]
	at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:483) ~[paper-1.18.2.jar:git-Paper-"276d830"]
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1456) ~[paper-1.18.2.jar:git-Paper-"276d830"]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226) ~[paper-1.18.2.jar:git-Paper-"276d830"]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-"276d830"]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
@TNTUP
Copy link

TNTUP commented Sep 13, 2022

Lol, I should have reported it but I didn't want to bother you about this :S

@TBlueF
Copy link
Member Author

TBlueF commented Sep 30, 2022

Possibly related:

[BlueMap] Task #24 for BlueMap v3.4 generated an exception
java.lang.NullPointerException: Cannot invoke "de.bluecolored.bluemap.common.BlueMapService.getWorldId(java.nio.file.Path)" because the return value of "de.bluecolored.bluemap.common.plugin.Plugin.getBlueMap()" is null
        at de.bluecolored.bluemap.bukkit.BukkitPlayer.update(BukkitPlayer.java:165) ~[BlueMap-3.4-spigot.jar:?]
        at de.bluecolored.bluemap.bukkit.BukkitPlugin.updateSomePlayers(BukkitPlugin.java:284) ~[BlueMap-3.4-spigot.jar:?]
        at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-177]
        at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.2.jar:git-Paper-177]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1473) ~[paper-1.19.2.jar:git-Paper-177]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.19.2.jar:git-Paper-177]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.2.jar:git-Paper-177]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.19.2.jar:git-Paper-177]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-177]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

@TBlueF TBlueF closed this as completed in 50c9503 Oct 10, 2022
@TBlueF TBlueF moved this from TODO to Ready for next release in TODO / Idea board Oct 10, 2022
@TBlueF TBlueF moved this from Ready for next release to Done in TODO / Idea board Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs testing Not confirmed bug, needs more testing first
Projects
Status: Done
Development

No branches or pull requests

2 participants