mojira.dev
MC-193339

NullPointerException during shutdown when rcon enabled with no password

  1.  enable-rcon=true in server.properties

  2. Leave all other options default

  3. Start server

  4. Type /stop

  5. Observe NPE on shutdown

  6. Note: This is the full NPE, the rest is cut off

[09:16:09] [main/ERROR]: Unknown biome, defaulting to plainsNo key biome in MapLike[{}]
[09:16:09] [main/ERROR]: No key layers in MapLike[{}]; No key structures in MapLike[{}]
[09:16:09] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
[09:16:10] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[09:16:10] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[09:16:10] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[09:16:10] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[09:16:10] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[09:16:10] [main/INFO]: Reloading ResourceManager: Default
[09:16:11] [Worker-Main-14/INFO]: Loaded 7 recipes
[09:16:11] [Worker-Main-14/INFO]: Loaded 927 advancements
[09:16:12] [Server thread/INFO]: Starting minecraft server version 1.16.1
[09:16:12] [Server thread/INFO]: Loading properties
[09:16:12] [Server thread/INFO]: Default game type: SURVIVAL
[09:16:12] [Server thread/INFO]: Generating keypair
[09:16:13] [Server thread/INFO]: Starting Minecraft server on *:25566
[09:16:13] [Server thread/INFO]: Using epoll channel type
[09:16:13] [Server thread/INFO]: Preparing level "world"
[09:16:13] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[09:16:14] [Server thread/INFO]: Preparing spawn area: 0%
[09:16:14] [Server thread/INFO]: Preparing spawn area: 0%
[09:16:14] [Server thread/INFO]: Preparing spawn area: 0%
[09:16:14] [Server thread/INFO]: Preparing spawn area: 0%
[09:16:15] [Worker-Main-11/INFO]: Preparing spawn area: 87%
[09:16:16] [Server thread/INFO]: Preparing spawn area: 87%
[09:16:16] [Server thread/INFO]: Preparing spawn area: 93%
[09:16:16] [Server thread/INFO]: Preparing spawn area: 98%
[09:16:17] [Server thread/INFO]: Time elapsed: 3624 ms
[09:16:17] [Server thread/INFO]: Done (3.774s)! For help, type "help"
[09:16:17] [Server thread/INFO]: Starting remote control listener
[09:16:17] [Server thread/WARN]: No rcon password set in server.properties, rcon disabled!
stop
[09:16:20] [Server thread/INFO]: Stopping the server
[09:16:20] [Server thread/INFO]: Stopping server
[09:16:20] [Server thread/INFO]: Saving players
[09:16:20] [Server thread/INFO]: Saving worlds
[09:16:20] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[09:16:22] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[09:16:22] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[09:16:22] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[09:16:22] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[09:16:22] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[09:16:22] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[09:16:22] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[09:16:22] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[09:16:22] [Server thread/ERROR]: java.lang.NullPointerException

 

Comments 0

No comments.

md_5

boq

Confirmed

Very Important

Crash, Dedicated Server

1.16.1

20w30a

Retrieved