Steps to reproduce
Create new world
More world options
Worldtype: Superflat
Customize
Presets
Enter preset - minecraft:rail
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.
Attachments
Comments 3
Even if this bug is fixed, the rails will drop as items (assuming the gamerule doTileDrops is set to true) and the resulting item entities will crash the game anyway.
This is a duplicate of MC-93162, but it has an assigned Mojang Priority?
Also happens with redstone dust/wire and comparators (might not be the exact same issue).
But isn't this a duplicate of MC-1510?