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

Velocity reload bug #1321

Closed
Pantera07 opened this issue May 18, 2024 · 0 comments · Fixed by #1322
Closed

Velocity reload bug #1321

Pantera07 opened this issue May 18, 2024 · 0 comments · Fixed by #1322

Comments

@Pantera07
Copy link
Contributor

Pantera07 commented May 18, 2024

If query is disabled(enabled = false), velocity reload bug occurs when I change the query port.

How to reproduce:

  1. Change velocity.toml (query port)
  2. Run 'velocity reload' command

Related?: #915

> velocity reload
[15:57:35 ERROR]: Unable to reload configuration
java.lang.NullPointerException: Cannot invoke "com.velocitypowered.proxy.network.Endpoint.getType()" because "endpoint" is null
        at com.velocitypowered.proxy.network.ConnectionManager.close(ConnectionManager.java:182) ~[velocity-3.3.0-SNAPSHOT-390.jar:3.3.0-SNAPSHOT (git-afd8b55f-b390)]
        at com.velocitypowered.proxy.VelocityServer.reloadConfiguration(VelocityServer.java:473) ~[velocity-3.3.0-SNAPSHOT-390.jar:3.3.0-SNAPSHOT (git-afd8b55f-b390)]
        at com.velocitypowered.proxy.command.builtin.VelocityCommand$Reload.run(VelocityCommand.java:133) ~[velocity-3.3.0-SNAPSHOT-390.jar:3.3.0-SNAPSHOT (git-afd8b55f-b390)]
        at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:262) ~[velocity-3.3.0-SNAPSHOT-390.jar:3.3.0-SNAPSHOT (git-afd8b55f-b390)]
        at com.velocitypowered.proxy.command.VelocityCommandManager.executeImmediately0(VelocityCommandManager.java:230) ~[velocity-3.3.0-SNAPSHOT-390.jar:3.3.0-SNAPSHOT (git-afd8b55f-b390)]
        at com.velocitypowered.proxy.command.VelocityCommandManager.lambda$executeAsync$0(VelocityCommandManager.java:268) ~[velocity-3.3.0-SNAPSHOT-390.jar:3.3.0-SNAPSHOT (git-afd8b55f-b390)]
        at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?]
        at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
        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) [?:?]
[15:57:35 INFO]: Unable to reload your Velocity configuration. Check the console for more details.
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

Successfully merging a pull request may close this issue.

1 participant