Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Minecraft crashing v1.7.3-1 - Encountered an unexpected exception

    Minecraft
    2
    5
    57
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 3246
      3246 last edited by 3246

      Solution/TLDR: Remove all .json files and restart the app

      Welp! 😢

      Not sure why but it keeps crashing hard and refuses to honour the memory setting.

      Feb 01 16:47:40 [16:47:40] [Server thread/ERROR]: Encountered an unexpected exception
      Feb 01 16:47:40 java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonArray.iterator()" because "$$1" is null
      

      Full logs:
      https://wetransfer.bebraver.to/f.php?h=0u66GsHk

      Visit https://www.bebravernow.com for more

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        Is the logfile you sent there the same as /app/data/./crash-reports/crash-2023-02-01_16.48.51-server.txt ?

        Also I am not sure if this is memory related seems more like an actual bug. Have you made any adjustments to the config inside the app?

        3246 1 Reply Last reply Reply Quote 0
        • 3246
          3246 @nebulon last edited by

          @nebulon here's the log: https://wetransfer.bebraver.to/f.php?h=26pVFRxc

          I did not modify anything apart from bumping up the memory. The kids inform me that the server was unreachable for a while and I only now realise something is up 😕

          Visit https://www.bebravernow.com for more

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by

            So I found https://bugs.mojang.com/browse/MC-249702?attachmentOrder=asc and it seems to be an upstream issue, but related to banned-ips.json have you set this?

            3246 1 Reply Last reply Reply Quote 0
            • Topic has been marked as a question  nebulon nebulon 
            • 3246
              3246 @nebulon last edited by

              @nebulon thanks. I have not set it, no.

              I tried removing the file and restarted but it crashed again. So I deleted all the .json files and it now works 😄

              Description: Exception in server tick loop
              
              java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonArray.iterator()" because "$$1" is null
              

              https://hypernia.com/minecraft-exception-in-server-tick-loop/

              Visit https://www.bebravernow.com for more

              1 Reply Last reply Reply Quote 1
              • Topic has been marked as solved  3246 3246 
              • First post
                Last post
              Powered by NodeBB