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

Console log output error #2496

Closed
DinoFengz opened this issue Sep 7, 2024 · 1 comment
Closed

Console log output error #2496

DinoFengz opened this issue Sep 7, 2024 · 1 comment
Assignees
Labels
Status: Done This issue has been completed or answered. This pull request has been merged.

Comments

@DinoFengz
Copy link
Contributor

Expected behavior

To fix the null error.

Observed/Actual behavior

Error code occurs when i entered a nether portal / end portal.

Steps/models to reproduce

[04:12:58 ERROR]: Could not pass event PlayerTeleportEvent to BentoBox v2.5.3
java.lang.NullPointerException: Cannot invoke "org.bukkit.Location.getWorld()" because "to" is null
        at BentoBox-2.5.3.jar/world.bentobox.bentobox.listeners.flags.worldsettings.EnterExitListener.handleEnterExit(EnterExitListener.java:41) ~[BentoBox-2.5.3.jar:?]
        at BentoBox-2.5.3.jar/world.bentobox.bentobox.listeners.flags.worldsettings.EnterExitListener.onTeleport(EnterExitListener.java:36) ~[BentoBox-2.5.3.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor87.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:1.21-2276-72ccfbd]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?]
        at net.minecraft.server.level.ServerPlayer.changeDimension(ServerPlayer.java:1413) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.world.entity.Entity.handlePortal(Entity.java:3326) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.world.entity.Entity.baseTick(Entity.java:898) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.world.entity.LivingEntity.baseTick(LivingEntity.java:447) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.world.entity.Entity.tick(Entity.java:871) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:3200) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.world.entity.player.Player.tick(Player.java:317) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.server.level.ServerPlayer.doTick(ServerPlayer.java:854) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.tick(ServerGamePacketListenerImpl.java:360) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.network.Connection.tick(Connection.java:647) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:242) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1859) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:509) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1633) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1333) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:333) ~[purpur-1.21.jar:1.21-2276-72ccfbd]
        at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
bbox version
[04:13:04 INFO]: Running PAPER 1.21.
[04:13:04 INFO]: (1.21-2276-72ccfbd (MC: 1.21))
[04:13:04 INFO]: BentoBox version: 2.5.3
[04:13:04 INFO]: Database: JSON
[04:13:04 INFO]: Loaded Game Worlds:
[04:13:04 INFO]: bskyblock_world (BSkyBlock): Overworld, Nether, The End
[04:13:04 INFO]: Loaded Addons:
[04:13:04 INFO]: BSkyBlock 1.18.0 (ENABLED)
plugins
[04:13:06 INFO]: Paper Plugins: (0):
[04:13:06 INFO]: Bukkit Plugins: (2):
[04:13:06 INFO]:  - BentoBox, BentoBox-BSkyBlock

BentoBox version

[04:13:04 INFO]: Running PAPER 1.21.
[04:13:04 INFO]: (1.21-2276-72ccfbd (MC: 1.21))
[04:13:04 INFO]: BentoBox version: 2.5.3
[04:13:04 INFO]: Database: JSON
[04:13:04 INFO]: Loaded Game Worlds:
[04:13:04 INFO]: bskyblock_world (BSkyBlock): Overworld, Nether, The End
[04:13:04 INFO]: Loaded Addons:
[04:13:04 INFO]: BSkyBlock 1.18.0 (ENABLED)

Plugin list

plugins
[04:13:06 INFO]: Paper Plugins: (0):
[04:13:06 INFO]: Bukkit Plugins: (2):
[04:13:06 INFO]: - BentoBox, BentoBox-BSkyBlock

Other

No response

@tastybento tastybento self-assigned this Sep 8, 2024
@tastybento tastybento added the Status: Under investigation Investigating the interest and the feasability of the issue. label Sep 8, 2024
tastybento added a commit that referenced this issue Sep 8, 2024
@tastybento
Copy link
Member

Fixed.

@tastybento tastybento added Status: Done This issue has been completed or answered. This pull request has been merged. and removed Status: Under investigation Investigating the interest and the feasability of the issue. labels Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Done This issue has been completed or answered. This pull request has been merged.
Projects
None yet
Development

No branches or pull requests

2 participants