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()

GitHub | theboomer | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [1.10.2]DropItemEvent.destruct.impl error - unsupportedoperationexception

    GitHub | 6 months ago | theboomer
    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()

    Root Cause Analysis

    1. 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()
    2. org.spongepowered.api
      DamageType$DummyClass.getId
      1. org.spongepowered.api.util.dummy.DamageType$DummyClass.getId(Unknown Source)[?:?]
      1 frame
    3. net.minecraft.util
      DamageSource.toString
      1. net.minecraft.util.DamageSource.toString(SourceFile:127)[rh.class:?]
      1 frame
    4. com.prennet.boomod
      PlayerBasedListeners.onPlayerSpawnedAnEntity
      1. com.prennet.boomod.boosautolock.PlayerBasedListeners.onPlayerSpawnedAnEntity(PlayerBasedListeners.java:230)[PlayerBasedListeners.class:?]
      1 frame
    5. org.spongepowered.common
      RegisteredListener.handle
      1. org.spongepowered.common.event.listener.SpawnEntityEventListener_PlayerBasedListeners_onPlayerSpawnedAnEntity9.handle(Unknown Source)[?:?]
      2. org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)[RegisteredListener.class:1.10.2-2073-5.0.0-BETA-1688]
      2 frames
    6. org.spongepowered.mod
      SpongeModEventManager.post
      1. org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:349)[SpongeModEventManager.class:1.10.2-2073-5.0.0-BETA-1688]
      2. org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:332)[SpongeModEventManager.class:1.10.2-2073-5.0.0-BETA-1688]
      3. org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:377)[SpongeModEventManager.class:1.10.2-2073-5.0.0-BETA-1688]
      4. org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:362)[SpongeModEventManager.class:1.10.2-2073-5.0.0-BETA-1688]
      4 frames
    7. org.spongepowered.common
      CauseTracker.completePhase
      1. org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:141)[SpongeImpl.class:1.10.2-2073-5.0.0-BETA-1688]
      2. org.spongepowered.common.event.tracking.phase.EntityPhase$State$1.lambda$unwind$6(EntityPhase.java:179)[EntityPhase$State$1.class:1.10.2-2073-5.0.0-BETA-1688]
      3. org.spongepowered.common.event.tracking.CapturedMultiMapSupplier.ifPresentAndNotEmpty(CapturedMultiMapSupplier.java:60)[CapturedMultiMapSupplier.class:1.10.2-2073-5.0.0-BETA-1688]
      4. org.spongepowered.common.event.tracking.phase.EntityPhase$State$1.unwind(EntityPhase.java:161)[EntityPhase$State$1.class:1.10.2-2073-5.0.0-BETA-1688]
      5. org.spongepowered.common.event.tracking.phase.EntityPhase.unwind(EntityPhase.java:448)[EntityPhase.class:1.10.2-2073-5.0.0-BETA-1688]
      6. org.spongepowered.common.event.tracking.CauseTracker.completePhase(CauseTracker.java:185)[CauseTracker.class:1.10.2-2073-5.0.0-BETA-1688]
      6 frames
    8. Minecraft
      EntityLivingBase.func_70097_a
      1. net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:502)[sf.class:?]
      1 frame
    9. net.minecraft.entity
      EntityAnimal.func_70097_a
      1. net.minecraft.entity.passive.EntityAnimal.func_70097_a(SourceFile:64)[wc.class:?]
      1 frame
    10. Minecraft
      EntityLiving.func_70071_h_
      1. net.minecraft.entity.EntityLivingBase.func_70030_z(EntityLivingBase.java:224)[sf.class:?]
      2. net.minecraft.entity.EntityLiving.func_70030_z(EntityLiving.java:208)[sg.class:?]
      3. net.minecraft.entity.Entity.func_70071_h_(Entity.java:359)[rw.class:?]
      4. net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1939)[sf.class:?]
      5. net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:295)[sg.class:?]
      5 frames
    11. org.spongepowered.common
      TrackingUtil.tickEntity
      1. org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:147)[TrackingUtil.class:1.10.2-2073-5.0.0-BETA-1688]
      1 frame
    12. Minecraft
      WorldServer.func_72939_s
      1. net.minecraft.world.WorldServer.redirect$onCallEntityUpdate$0(WorldServer.java:1144)[ls.class:?]
      2. net.minecraft.world.World.func_72866_a(World.java:1964)[aid.class:?]
      3. net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:838)[ls.class:?]
      4. net.minecraft.world.World.func_72870_g(World.java:1934)[aid.class:?]
      5. net.minecraft.world.World.func_72939_s(World.java:1260)[aid.class:?]
      6. net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:619)[ls.class:?]
      6 frames
    13. MC Server
      MinecraftServer.run
      1. net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709)[MinecraftServer.class:?]
      2. net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)[ld.class:?]
      3. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)[MinecraftServer.class:?]
      4. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)[MinecraftServer.class:?]
      4 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[?:1.8.0_91]
      1 frame