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

Server crash while loading Superflat world based on Rails // java.lang.StackOverflowError: Exception while updating neighbours

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w11a
    • 1.17.1 Release Candidate 1, 1.17.1, 1.18, 1.18.1
    • None
    • Java(TM) SE Runtime Environment (build 16.0.1+9-24)
    • Confirmed
    • Crash
    • Very Important

       Steps to reproduce

      1. Create new world
      2. More world options
      3. Worldtype: Superflat
      4. Customize
      5. Presets
      6. Enter preset - minecraft:rail
      7. Server will crash while loading the world

      Same crash occurs when using the minecraft:repeater preset, just after first player interaction with one of the repeaters.

      Stacktrace

      Encountered an unexpected exception
      z: Exception while updating neighbours
      	at net.minecraft.server.MinecraftServer.b(SourceFile:886)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:822)
      	at faq.a(SourceFile:96)
      	at net.minecraft.server.MinecraftServer.x(SourceFile:688)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:270)
      	at java.base/java.lang.Thread.run(Thread.java:831)
      Caused by: java.lang.StackOverflowError
      	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
      	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1010)
      	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
      	at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:855)
      	at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:753)
      	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:676)
      	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:634)
      	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182)
      	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
      	at bwq.a(SourceFile:361)
      [...]

      Server crash log has been included as attachment.

        1. crash.txt
          181 kB
          [Mod] ampolive
        2. crash-2021-07-05_12.42.41-server.txt
          368 kB
          Simek
        3. deobf_crash-2021-07-05_12.42.41-server.txt
          1.75 MB
          [Bot] Arisa
        4. deobf_crash-2021-07-06_17.54.53-server (comparator1).txt
          1.45 MB
          [Bot] Arisa
        5. deobf_crash-2021-07-06_18.05.01-server (comparator2).txt
          1.49 MB
          [Bot] Arisa
        6. deobf_crash-2021-07-08_19.58.02-server (redstone wire).txt
          1.63 MB
          [Bot] Arisa

            Unassigned Unassigned
            SimekOne Simek
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: