updated java and my .jar file to run 1.17 on my server, but keep running into a nullpoint exception while trying to run it. Any advise would be great, and let me know if you need anymore info. Thank you! edit: I fixed the bind exception so don't worry about that.
logs:
[16:18:01] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[16:18:02] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[16:18:02] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[16:18:02] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[16:18:02] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[16:18:02] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[16:18:02] [main/INFO]: Reloading ResourceManager: Default
[16:18:02] [Worker-Main-11/INFO]: Loaded 7 recipes
[16:18:03] [Worker-Main-11/INFO]: Loaded 1137 advancements
[16:18:03] [Server thread/INFO]: Starting minecraft server version 1.17
[16:18:03] [Server thread/INFO]: Loading properties
[16:18:03] [Server thread/INFO]: Default game type: SURVIVAL
[16:18:03] [Server thread/INFO]: Generating keypair
[16:18:03] [Server thread/INFO]: Starting Minecraft server on 65.103.133.242:25565
[16:18:03] [Server thread/INFO]: Using default channel type
[16:18:04] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[16:18:04] [Server thread/WARN]: The exception was: java.net.BindException: Cannot assign requested address: bind
[16:18:04] [Server thread/WARN]: Perhaps a server is already running on that port?
[16:18:04] [Server thread/INFO]: Stopping server
[16:18:04] [Server thread/INFO]: Saving worlds [16:18:04] [Server thread/ERROR]: Exception stopping the server java.lang.NullPointerException: Cannot invoke "abr.o_()" because "☃" is null at net.minecraft.server.MinecraftServer.a(SourceFile:592) ~[server.jar:?] at net.minecraft.server.MinecraftServer.u(SourceFile:619) ~[server.jar:?] at aas.u(SourceFile:584) ~[server.jar:?] at net.minecraft.server.MinecraftServer.x(SourceFile:729) ~[server.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:274) ~[server.jar:?] at java.lang.Thread.run(Thread.java:831) [?:?]
updated java and my .jar file to run 1.17 on my server, but keep running into a nullpoint exception while trying to run it. Any advise would be great, and let me know if you need anymore info. Thank you! edit: I fixed the bind exception so don't worry about that.
logs:
[16:18:01] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[16:18:02] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[16:18:02] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[16:18:02] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[16:18:02] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[16:18:02] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[16:18:02] [main/INFO]: Reloading ResourceManager: Default
[16:18:02] [Worker-Main-11/INFO]: Loaded 7 recipes
[16:18:03] [Worker-Main-11/INFO]: Loaded 1137 advancements
[16:18:03] [Server thread/INFO]: Starting minecraft server version 1.17
[16:18:03] [Server thread/INFO]: Loading properties
[16:18:03] [Server thread/INFO]: Default game type: SURVIVAL
[16:18:03] [Server thread/INFO]: Generating keypair
[16:18:03] [Server thread/INFO]: Starting Minecraft server on 65.103.133.242:25565
[16:18:03] [Server thread/INFO]: Using default channel type
[16:18:04] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[16:18:04] [Server thread/WARN]: The exception was: java.net.BindException: Cannot assign requested address: bind
[16:18:04] [Server thread/WARN]: Perhaps a server is already running on that port?
[16:18:04] [Server thread/INFO]: Stopping server
[16:18:04] [Server thread/INFO]: Saving worlds
[16:18:04] [Server thread/ERROR]: Exception stopping the server
java.lang.NullPointerException: Cannot invoke "abr.o_()" because "☃" is null
at net.minecraft.server.MinecraftServer.a(SourceFile:592) ~[server.jar:?]
at net.minecraft.server.MinecraftServer.u(SourceFile:619) ~[server.jar:?]
at aas.u(SourceFile:584) ~[server.jar:?]
at net.minecraft.server.MinecraftServer.x(SourceFile:729) ~[server.jar:?]
at net.minecraft.server.MinecraftServer.a(SourceFile:274) ~[server.jar:?]
at java.lang.Thread.run(Thread.java:831) [?:?]
Make sure you are closing all instances of the server (check the task manager)
In your server.properties, make sure "server-ip" is blank
i am having the same issue, i can't see any other instances of the server running in task manager and leaving ip blank doesnt help
(Using AMP Server manager)
Edit: to circumvent the issue I went to a back up of a 1.16.5 version then updated to 1.17 and manually copied back my 1.17 world backup