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

[geyser] Position is null. Find out why #4683

Closed
adalmo opened this issue May 21, 2024 · 7 comments
Closed

[geyser] Position is null. Find out why #4683

adalmo opened this issue May 21, 2024 · 7 comments

Comments

@adalmo
Copy link

adalmo commented May 21, 2024

Describe the bug

[geyser] Position is null. Find out why.
[16:01:58 ERROR]: java.lang.Exception: Stack trace
[16:01:58 ERROR]: at java.base/java.lang.Thread.dumpStack(Thread.java:2209)
[16:01:58 ERROR]: at org.geysermc.geyser.session.cache.LodestoneCache.store(LodestoneCache.java:91)
[16:01:58 ERROR]: at org.geysermc.geyser.item.type.CompassItem.translateComponentsToBedrock(CompassItem.java:67)
[16:01:58 ERROR]: at org.geysermc.geyser.translator.item.ItemTranslator.translateToBedrock(ItemTranslator.java:148)
[16:01:58 ERROR]: at org.geysermc.geyser.translator.item.ItemTranslator.translateToBedrock(ItemTranslator.java:125)
[16:01:58 ERROR]: at org.geysermc.geyser.inventory.GeyserItemStack.getItemData(GeyserItemStack.java:156)
[16:01:58 ERROR]: at org.geysermc.geyser.translator.inventory.PlayerInventoryTranslator.updateInventory(PlayerInventoryTranslator.java:83)
[16:01:58 ERROR]: at org.geysermc.geyser.translator.protocol.java.inventory.JavaContainerSetContentTranslator.updateInventory(JavaContainerSetContentTranslator.java:86)
[16:01:58 ERROR]: at org.geysermc.geyser.translator.protocol.java.inventory.JavaContainerSetContentTranslator.translate(JavaContainerSetContentTranslator.java:70)
[16:01:58 ERROR]: at org.geysermc.geyser.translator.protocol.java.inventory.JavaContainerSetContentTranslator.translate(JavaContainerSetContentTranslator.java:40)
[16:01:58 ERROR]: at org.geysermc.geyser.registry.PacketTranslatorRegistry.translate0(PacketTranslatorRegistry.java:89)
[16:01:58 ERROR]: at org.geysermc.geyser.registry.PacketTranslatorRegistry.lambda$translate$0(PacketTranslatorRegistry.java:69)
[16:01:58 ERROR]: at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
[16:01:58 ERROR]: at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54)
[16:01:58 ERROR]: at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
[16:01:58 ERROR]: at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
[16:01:58 ERROR]: at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
[16:01:58 ERROR]: at java.base/java.lang.Thread.run(Thread.java:1583)

To Reproduce

launch geyser velocity
and wait for players do something
see error
latest.log

Expected behaviour

am not sure maybe inventory thing goes worng

Screenshots / Videos

image

Server Version and Plugins

git-Purpur-2176 (MC: 1.20.4)
[16:05:26 INFO]: Paper Plugins: (4):
[16:05:26 INFO]: - EconomyShopGUI, Minepacks, MiniPlaceholders, PCGF_PluginLib
[16:05:26 INFO]: Bukkit Plugins: (66):
[16:05:26 INFO]: - AdvancedEnchantments, ajLeaderboards, AnarchyExploitFixes, AntiRedstoneClock-Remastered, BetterRTP, BetterTeams, BetterTridents, BungeeGuard, ChatColor2, ChatFormatter
[16:05:26 INFO]: ChatGames, Citizens, CMILib, CommandWhitelist, DecentHolograms, DeluxeMenus, DiscordSRV, DreamCoinFlip, Essentials, EssentialsSpawn
[16:05:26 INFO]: EvenMoreFish, Exyron-FastCrystals, FancyGlow, FastAsyncWorldEdit, floodgate, GeyserHacks, GrapplingHook, GSit, HeadDrop, InstantRestock
[16:05:26 INFO]: Jobs, JobsReborn-PatchPlaceBreak, LibertyBans, LifeSteal-Smp-Plugin, LightAntiCheat, LogicalChat, Lottery, LuckPerms, MarriageMaster, Multiverse-Core
[16:05:26 INFO]: Multiverse-Inventories, NotBounties, ODailyQuests, packetevents, PlaceholderAPI, PlayerAuctions, PlayerPoints, PlayerReport, PlayerStats, PlayerWarps
[16:05:26 INFO]: ProtocolLib, PvPManager, ResourcePackBroadcast, SimplePortals, spark, TAB, TradeSystem, UltimateRewards, Vault, ViaBackwards
[16:05:26 INFO]: ViaRewind, ViaVersion, VoidAutoTP, VotingPlugin, Vulcan, WorldGuard

Geyser Dump

https://dump.geysermc.org/Ux0j3DJkhqYJ12ZIYhw7zWgZv1Z4M8Xp

Geyser Version

2.3.0-SNAPSHOT (git-DEV-62e7d43

Minecraft: Bedrock Edition Device/Version

No response

Additional Context

No response

@onebeastchris
Copy link
Member

onebeastchris commented May 21, 2024

Please try to replicate this issue with a Geyser build from our official website - we don't provide support for PR/dev builds directly

@Camotoy
Copy link
Member

Camotoy commented May 21, 2024

Hello! Does someone have a lodestone compass in their inventory?

@adalmo
Copy link
Author

adalmo commented May 21, 2024

yes they had some

@Camotoy
Copy link
Member

Camotoy commented May 21, 2024

Is there anyone OP'd who can run /paper dumpitem holding the lodestone?

@adalmo
Copy link
Author

adalmo commented May 21, 2024

no there's no admins on server except me but i wasn't on server and see these of errors

@eclipseisoffline
Copy link
Contributor

eclipseisoffline commented May 21, 2024

Hello! I've seen this error spammed in my server's log quite a couple of times. It doesn't seem to cause any major issues however.

I've found it can be easily reproduced on Bedrock clients by using a compass on a lodestone, then removing the lodestone block.

I don't run Paper on my server, but here's the output of /data get entity @s SelectedItem whilst holding the compass that causes the issue:

{components: {"minecraft:lodestone_tracker": {}}, count: 1, id: "minecraft:compass"}

Hopefully this helps solve the issue!

@Camotoy
Copy link
Member

Camotoy commented May 22, 2024

Yes. Thank you!

XingLingQAQ pushed a commit to XingLingQAQ/Geyser that referenced this issue Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants