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

authdata is null #5306

Open
yuuuchn opened this issue Jan 28, 2025 · 1 comment
Open

authdata is null #5306

yuuuchn opened this issue Jan 28, 2025 · 1 comment
Labels
More Info Needed More information is needed from the OP.

Comments

@yuuuchn
Copy link

yuuuchn commented Jan 28, 2025

Describe the bug

[io.netty.channel.AbstractChannelHandlerContext] An exception 'java.lang.NullPointerException: Cannot invoke "org.geysermc.geyser.session.auth.AuthData.name()" because "this.authData" is null' [enable DEBUG level for full stacktrace] was thrown by a user handler's exceptionCaught() method while handling the following exception:
io.netty.handler.codec.DecoderException: java.util.zip.DataFormatException: Inflated data exceeds maximum size
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:101) ~[netty-codec-4.1.115.Final.jar:4.1.115.Final]
at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:120) ~[netty-codec-4.1.115.Final.jar:4.1.115.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[netty-transport-4.1.115.Final.jar:4.1.115.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.115.Final.jar:4.1.115.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.115.Final.jar:4.1.115.Final]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107) ~[netty-codec-4.1.115.Final.jar:4.1.115.Final]
at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:120) ~[netty-codec-4.1.115.Final.jar:4.1.115.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[netty-transport-4.1.115.Final.jar:4.1.115.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.115.Final.jar:4.1.115.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.115.Final.jar:4.1.115.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357) ~[netty-transport-4.1.115.Final.jar:4.1.115.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[netty-transport-4.1.115.Final.jar:4.1.115.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.115.Final.jar:4.1.115.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868) ~[netty-transport-4.1.115.Final.jar:4.1.115.Final]
at Geyser-Spigot.jar/org.cloudburstmc.netty.channel.raknet.RakChannelPipeline.lambda$onUnhandledInboundMessage$0(RakChannelPipeline.java:60) ~[Geyser-Spigot.jar:?]
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) ~[netty-common-4.1.115.Final.jar:4.1.115.Final]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) ~[netty-common-4.1.115.Final.jar:4.1.115.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) ~[netty-common-4.1.115.Final.jar:4.1.115.Final]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:405) ~[netty-transport-classes-epoll-4.1.115.Final.jar:4.1.115.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.115.Final.jar:4.1.115.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.115.Final.jar:4.1.115.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.115.Final.jar:4.1.115.Final]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.util.zip.DataFormatException: Inflated data exceeds maximum size
at Geyser-Spigot.jar/org.cloudburstmc.protocol.common.util.Zlib.inflate(Zlib.java:66) ~[Geyser-Spigot.jar:?]
at Geyser-Spigot.jar/org.cloudburstmc.protocol.bedrock.netty.codec.compression.ZlibCompression.decode(ZlibCompression.java:36) ~[Geyser-Spigot.jar:?]
at Geyser-Spigot.jar/org.cloudburstmc.protocol.bedrock.netty.codec.compression.CompressionCodec.decode(CompressionCodec.java:74) ~[Geyser-Spigot.jar:?]
at Geyser-Spigot.jar/org.cloudburstmc.protocol.bedrock.netty.codec.compression.CompressionCodec.decode(CompressionCodec.java:12) ~[Geyser-Spigot.jar:?]
at io.netty.handler.codec.MessageToMessageCodec$1.decode(MessageToMessageCodec.java:67) ~[netty-codec-4.1.115.Final.jar:4.1.115.Final]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:91) ~[netty-codec-4.1.115.Final.jar:4.1.115.Final]
... 22 more

To Reproduce

issues

Expected behaviour

a

Screenshots / Videos

No response

Server Version and Plugins

No response

Geyser Dump

No response

Geyser Version

latest

Minecraft: Bedrock Edition Device/Version

No response

Additional Context

No response

@onebeastchris
Copy link
Member

Please fill out the rest of the report properly by attaching a full latest.log (logs folder -> paste latest.log file with this error to mclo.gs -> send link to that here), and add a geyser dump (run geyser dump in the console, send the link you get here too). This stacktrace on it's own doesn't really tell much

@onebeastchris onebeastchris added the More Info Needed More information is needed from the OP. label Jan 28, 2025
@onebeastchris onebeastchris changed the title hosw fix this authdata is null Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
More Info Needed More information is needed from the OP.
Projects
None yet
Development

No branches or pull requests

2 participants