8000 Refreshing language with packet events causes NPE · Issue #467 · tritonmc/Triton · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Refreshing language with packet events causes NPE #467
Open
@diogotcorreia

Description

@diogotcorreia

Describe the bug

[16:15:43 ERROR]: Exception in task com.rexcantor64.triton.player.TritonLanguagePlayer$$Lambda/0x00007f4f18c9d9e8@42d1be7b by plugin Triton
java.lang.NullPointerException: Cannot invoke "com.rexcantor64.triton.lib.packetevents.api.protocol.player.User.sendPacketSilently(com.rexcantor64.triton.lib.packetevents.api.wrapper.PacketWrapper)" because "user" is null
        at com.rexcantor64.triton.player.PacketEventsRefresh.updateScoreboardTeams(PacketEventsRefresh.java:141) ~[?:?]
        at com.rexcantor64.triton.player.PacketEventsRefresh.refreshAll(PacketEventsRefresh.java:97) ~[?:?]
        at com.rexcantor64.triton.player.TritonLanguagePlayer.lambda$refreshAll$0(TritonLanguagePlayer.java:33) ~[?:?]
        at com.velocitypowered.proxy.scheduler.VelocityScheduler$VelocityTask.lambda$run$0(VelocityScheduler.java:285) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
        at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
[16:15:43 ERROR]: Exception in task com.rexcantor64.triton.player.TritonLanguagePlayer$$Lambda/0x00007f4f18c9d9e8@7b98b6c9 by plugin Triton
java.lang.NullPointerException: Cannot invoke "com.rexcantor64.triton.lib.packetevents.api.protocol.player.User.sendPacketSilently(com.rexcantor64.triton.lib.packetevents.api.wrapper.PacketWrapper)" because "user" is null
        at com.rexcantor64.triton.player.PacketEventsRefresh.updateScoreboardTeams(PacketEventsRefresh.java:141) ~[?:?]
        at com.rexcantor64.triton.player.PacketEventsRefresh.refreshAll(PacketEventsRefresh.java:97) ~[?:?]
        at com.rexcantor64.triton.player.TritonLanguagePlayer.lambda$refreshAll$0(TritonLanguagePlayer.java:33) ~[?:?]
        at com.velocitypowered.proxy.scheduler.VelocityScheduler$VelocityTask.lambda$run$0(VelocityScheduler.java:285) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
        at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

How can the bug be reproduced?

No response

Expected behaviour

No response

Which Spigot fork are you using?

Vanilla Spigot (from BuildTools)

What's your server version?

unrelated

Which proxy are you using?

Velocity

What's your proxy version?

3.3.0-SNAPSHOT-436

What's the MC version of your client?

unrelated

What's the Triton version you're using?

4.0.0-SNAPSHOT-b20241218

Additional Information

Discord reference: https://discord.com/channels/395565283047374850/1325769482970468422/1326332760796696679

Metadata

Metadata

Assignees

Labels

module:coreRelated to the core modulemodule:velocityRelated to Velocitytype:bugSomething isn't working as expected

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0