mojira.dev

Peter Schlömer

Assigned

No issues.

Reported

No issues.

Comments

I get the same exception, but with a different stack trace - the last entry that matches is "com.mojang.datafixers.schemas.Schema.getType(Schema.java:80)":

Exception in thread "main" java.lang.ExceptionInInitializerError
	at pa.c(SourceFile:466)
	at net.minecraft.server.MinecraftServer.main(SourceFile:744)
Caused by: java.util.ConcurrentModificationException
	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1139)
	at com.mojang.datafixers.DSL.taggedChoiceType(DSL.java:251)
	at com.mojang.datafixers.types.templates.TaggedChoice.lambda$null$1(TaggedChoice.java:72)
	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1138)
	at com.mojang.datafixers.types.templates.TaggedChoice.lambda$apply$2(TaggedChoice.java:71)
	at com.mojang.datafixers.types.templates.Named.lambda$apply$0(Named.java:43)
	at com.mojang.datafixers.types.templates.Check$1.apply(Check.java:45)
	at com.mojang.datafixers.types.templates.Sum$1.apply(Sum.java:50)
	at com.mojang.datafixers.types.templates.Sum$1.apply(Sum.java:50)
	at com.mojang.datafixers.types.templates.Sum$1.apply(Sum.java:50)
	at com.mojang.datafixers.types.templates.Sum$1.apply(Sum.java:50)
	at com.mojang.datafixers.types.families.RecursiveTypeFamily.lambda$null$1(RecursiveTypeFamily.java:107)
	at com.mojang.datafixers.types.templates.RecursivePoint$RecursivePointType.unfold(RecursivePoint.java:132)
	at com.mojang.datafixers.types.templates.RecursivePoint$RecursivePointType.findCheckedType(RecursivePoint.java:183)
	at com.mojang.datafixers.schemas.Schema.getType(Schema.java:80)
	at com.mojang.datafixers.schemas.Schema.findChoiceType(Schema.java:119)
	at com.mojang.datafixers.schemas.Schema.getChoiceType(Schema.java:111)
	at aav.getChoiceType(SourceFile:23)
	at com.mojang.datafixers.schemas.Schema.resolveEntityType(Schema.java:103)
	at aec$a.a(SourceFile:438)
	at aec.a(SourceFile:130)
	at aec.<clinit>(SourceFile:136)
	... 2 more

I tried both Oracle JDK 10.0.1 and OpenJDK 10.0.1 on Gentoo Linux, makes no difference. If I use JDK 8 or go back to 1.13-pre4 the problem is gone.