Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by theboomer
, 1 year ago
A method was invoked on a dummy class, due to the static field SUFFOCATE not being initialized (most likely in a CatalogType-related class). Method: public abstract java.lang.String org.spongepowered.api.CatalogType.getId()
java.lang.UnsupportedOperationException: A method was invoked on a dummy class, due to the static field SUFFOCATE not being initialized (most likely in a CatalogType-related class).
Method: public abstract java.lang.String org.spongepowered.api.CatalogType.getId()	at org.spongepowered.api.util.dummy.DamageType$DummyClass.getId(Unknown Source)	at net.minecraft.util.DamageSource.toString(SourceFile:127)	at com.prennet.boomod.boosautolock.PlayerBasedListeners.onPlayerSpawnedAnEntity(PlayerBasedListeners.java:230)	at org.spongepowered.common.event.listener.SpawnEntityEventListener_PlayerBasedListeners_onPlayerSpawnedAnEntity9.handle(Unknown Source)	at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)	at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:349)	at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:332)	at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:377)	at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:362)	at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:141)	at org.spongepowered.common.event.tracking.phase.EntityPhase$State$1.lambda$unwind$6(EntityPhase.java:179)	at org.spongepowered.common.event.tracking.CapturedMultiMapSupplier.ifPresentAndNotEmpty(CapturedMultiMapSupplier.java:60)	at org.spongepowered.common.event.tracking.phase.EntityPhase$State$1.unwind(EntityPhase.java:161)	at org.spongepowered.common.event.tracking.phase.EntityPhase.unwind(EntityPhase.java:448)	at org.spongepowered.common.event.tracking.CauseTracker.completePhase(CauseTracker.java:185)	at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:502)	at net.minecraft.entity.passive.EntityAnimal.func_70097_a(SourceFile:64)	at net.minecraft.entity.EntityLivingBase.func_70030_z(EntityLivingBase.java:224)	at net.minecraft.entity.EntityLiving.func_70030_z(EntityLiving.java:208)	at net.minecraft.entity.Entity.func_70071_h_(Entity.java:359)	at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1939)	at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:295)	at org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:147)	at net.minecraft.world.WorldServer.redirect$onCallEntityUpdate$0(WorldServer.java:1144)	at net.minecraft.world.World.func_72866_a(World.java:1964)	at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:838)	at net.minecraft.world.World.func_72870_g(World.java:1934)	at net.minecraft.world.World.func_72939_s(World.java:1260)	at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:619)	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709)	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)	at java.lang.Thread.run(Unknown Source)