Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-252265

--server argument causes java.lang.NullPointerException crash on some servers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.1 Pre-release 6
    • 1.18.2, 1.19
    • None
    • Plausible
    • Crash
    • Very Important

      When using --server to automatically connect to a server when the game starts, it crashes the game with a NullPointerException on most servers. If you connect to a server that crashes with --server through the Multiplayer menu, it does not crash. From looking at crash reports, it seems as if the game is trying to connect to the server before it is finished loading resource packs, which might be what is causing the crash. 

            panda4994 [Mojang] Panda
            owlfalls35 GameParrot
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: