question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Describe the bug

velocity_1        | [06:49:47 ERROR] [geyser]: Could not translate packet ClientboundLevelChunkWithLightPacket
velocity_1        | java.lang.NullPointerException: Cannot invoke "com.github.steveice10.opennbt.tag.builtin.CompoundTag.contains(String)" because "tag" is null
velocity_1        |     at org.geysermc.geyser.translator.level.block.entity.BannerBlockEntityTranslator.translateTag(BannerBlockEntityTranslator.java:44) ~[?:?]
velocity_1        |     at org.geysermc.geyser.translator.level.block.entity.BlockEntityTranslator.getBlockEntityTag(BlockEntityTranslator.java:46) ~[?:?]
velocity_1        |     at org.geysermc.geyser.translator.protocol.java.level.JavaLevelChunkWithLightTranslator.translate(JavaLevelChunkWithLightTranslator.java:271) ~[?:?]
velocity_1        |     at org.geysermc.geyser.translator.protocol.java.level.JavaLevelChunkWithLightTranslator.translate(JavaLevelChunkWithLightTranslator.java:78) ~[?:?]
velocity_1        |     at org.geysermc.geyser.registry.PacketTranslatorRegistry.translate0(PacketTranslatorRegistry.java:86) ~[?:?]
velocity_1        |     at org.geysermc.geyser.registry.PacketTranslatorRegistry.lambda$translate$0(PacketTranslatorRegistry.java:67) ~[?:?]      
velocity_1        |     at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54) ~[velocity-3.1.0-95.jar:3.1.0]
velocity_1        |     at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[velocity-3.1.0-95.jar:3.1.0]
velocity_1        |     at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity-3.1.0-95.jar:3.1.0]
velocity_1        |     at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity-3.1.0-95.jar:3.1.0]   
velocity_1        |     at java.lang.Thread.run(Thread.java:833) [?:?]
velocity_1        | [06:49:47 ERROR]: java.lang.NullPointerException: Cannot invoke "com.github.steveice10.opennbt.tag.builtin.CompoundTag.contains(String)" because "tag" is null
velocity_1        | [06:49:47 ERROR]:   at org.geysermc.geyser.translator.level.block.entity.BannerBlockEntityTranslator.translateTag(BannerBlockEntityTranslator.java:44)
velocity_1        | [06:49:47 ERROR]:   at org.geysermc.geyser.translator.level.block.entity.BlockEntityTranslator.getBlockEntityTag(BlockEntityTranslator.java:46)
velocity_1        | [06:49:47 ERROR]:   at org.geysermc.geyser.translator.protocol.java.level.JavaLevelChunkWithLightTranslator.translate(JavaLevelChunkWithLightTranslator.java:271)
velocity_1        | [06:49:47 ERROR]:   at org.geysermc.geyser.translator.protocol.java.level.JavaLevelChunkWithLightTranslator.translate(JavaLevelChunkWithLightTranslator.java:78)
velocity_1        | [06:49:47 ERROR]:   at org.geysermc.geyser.registry.PacketTranslatorRegistry.translate0(PacketTranslatorRegistry.java:86)     
velocity_1        | [06:49:47 ERROR]:   at org.geysermc.geyser.registry.PacketTranslatorRegistry.lambda$translate$0(PacketTranslatorRegistry.java:67)
velocity_1        | [06:49:47 ERROR]:   at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54)
velocity_1        | [06:49:47 ERROR]:   at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
velocity_1        | [06:49:47 ERROR]:   at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
velocity_1        | [06:49:47 ERROR]:   at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
velocity_1        | [06:49:47 ERROR]:   at java.base/java.lang.Thread.run(Thread.java:833)
velocity_1        | [06:49:47 ERROR] [geyser]: Could not translate packet ClientboundLevelChunkWithLightPacket
velocity_1        | java.lang.NullPointerException: Cannot invoke "com.github.steveice10.opennbt.tag.builtin.CompoundTag.contains(String)" because "tag" is null
velocity_1        |     at org.geysermc.geyser.translator.level.block.entity.BannerBlockEntityTranslator.translateTag(BannerBlockEntityTranslator.java:44) ~[?:?]
velocity_1        |     at org.geysermc.geyser.translator.level.block.entity.BlockEntityTranslator.getBlockEntityTag(BlockEntityTranslator.java:46) ~[?:?]
velocity_1        |     at org.geysermc.geyser.translator.protocol.java.level.JavaLevelChunkWithLightTranslator.translate(JavaLevelChunkWithLightTranslator.java:271) ~[?:?]
velocity_1        |     at org.geysermc.geyser.translator.protocol.java.level.JavaLevelChunkWithLightTranslator.translate(JavaLevelChunkWithLightTranslator.java:78) ~[?:?]
velocity_1        |     at org.geysermc.geyser.registry.PacketTranslatorRegistry.translate0(PacketTranslatorRegistry.java:86) ~[?:?]
velocity_1        |     at org.geysermc.geyser.registry.PacketTranslatorRegistry.lambda$translate$0(PacketTranslatorRegistry.java:67) ~[?:?]      
velocity_1        |     at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54) ~[velocity-3.1.0-95.jar:3.1.0]
velocity_1        |     at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[velocity-3.1.0-95.jar:3.1.0]
velocity_1        |     at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity-3.1.0-95.jar:3.1.0]
velocity_1        |     at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity-3.1.0-95.jar:3.1.0]   
velocity_1        |     at java.lang.Thread.run(Thread.java:833) [?:?]
velocity_1        | [06:49:47 ERROR]: java.lang.NullPointerException: Cannot invoke "com.github.steveice10.opennbt.tag.builtin.CompoundTag.contains(String)" because "tag" is null
velocity_1        | [06:49:47 ERROR]:   at org.geysermc.geyser.translator.level.block.entity.BannerBlockEntityTranslator.translateTag(BannerBlockEntityTranslator.java:44)
velocity_1        | [06:49:47 ERROR]:   at org.geysermc.geyser.translator.level.block.entity.BlockEntityTranslator.getBlockEntityTag(BlockEntityTranslator.java:46)
velocity_1        | [06:49:47 ERROR]:   at org.geysermc.geyser.translator.protocol.java.level.JavaLevelChunkWithLightTranslator.translate(JavaLevelChunkWithLightTranslator.java:271)
velocity_1        | [06:49:47 ERROR]:   at org.geysermc.geyser.translator.protocol.java.level.JavaLevelChunkWithLightTranslator.translate(JavaLevelChunkWithLightTranslator.java:78)
velocity_1        | [06:49:47 ERROR]:   at org.geysermc.geyser.registry.PacketTranslatorRegistry.translate0(PacketTranslatorRegistry.java:86)     
velocity_1        | [06:49:47 ERROR]:   at org.geysermc.geyser.registry.PacketTranslatorRegistry.lambda$translate$0(PacketTranslatorRegistry.java:67)
velocity_1        | [06:49:47 ERROR]:   at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54)
velocity_1        | [06:49:47 ERROR]:   at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
velocity_1        | [06:49:47 ERROR]:   at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
velocity_1        | [06:49:47 ERROR]:   at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
velocity_1        | [06:49:47 ERROR]:   at java.base/java.lang.Thread.run(Thread.java:833)

To Reproduce

N/A

Expected behaviour

N/A

Screenshots / Videos

No response

Server Version and Plugins

No response

Geyser Dump

No response

Geyser Version

CI #952, velocity

Minecraft: Bedrock Edition Version

No response

Additional Context

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
weihaocommented, Dec 26, 2021

If it was solved, I’m curious to see if you ran into the same issues I did.

  1. A single chunk was completely missing, but you could right click blocks to “repair” it.

  2. That chunk had a banner in it.

That’s correct

1reaction
Camotoycommented, Dec 7, 2021

Even better would be a world file!

Read more comments on GitHub >

github_iconTop Results From Across the Web

NPE: The Plastics Show
NPE : The Plastics Show provides exclusive access to the people, processes, science, and ideas that are transforming the future of the plastics...
Read more >
NPE | Fitness Business Coaching & Marketing for Personal ...
NPE is the leading fitness business coaching company for personal trainers and gym owners to grow their business, make more money, and achieve...
Read more >
New Product Experimentation at Meta
New Product Experimentation is a team of founders and builders at Meta. We create new products designed to help people improve their lives....
Read more >
Non-paternity event - Wikipedia
In genetics, a non-paternity event is the situation in which someone who is presumed to be an individual's father is not in fact...
Read more >
What Is An NPE? - NPE Friends Fellowship
A Non- Paternity Event (“NPE”) was originally the term used to explain the break in the paternal line for a male. In genetics...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found