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.

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

              Created:
              Updated:
              Resolved:
              CHK: