java.lang.UnsupportedOperationException: A method was invoked on a dummy class, due to the static field HUNGER not being initialized (most likely in a CatalogType-related class). Method: public abstract java.lang.String org.spongepowered.api.CatalogType.getName()

GitHub | 5igm | 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

    Error feedback

    GitHub | 6 months ago | 5igm
    java.lang.UnsupportedOperationException: A method was invoked on a dummy class, due to the static field HUNGER not being initialized (most likely in a CatalogType-related class). Method: public abstract java.lang.String org.spongepowered.api.CatalogType.getName()
  2. 0

    Error feedback

    GitHub | 6 months ago | 5igm
    java.lang.UnsupportedOperationException: A method was invoked on a dummy class, due to the static field HUNGER not being initialized (most likely in a CatalogType-related class). Method: public abstract java.lang.String org.spongepowered.api.CatalogType.getName()

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      A method was invoked on a dummy class, due to the static field HUNGER not being initialized (most likely in a CatalogType-related class). Method: public abstract java.lang.String org.spongepowered.api.CatalogType.getName()

      at org.spongepowered.api.util.dummy.DamageType$DummyClass.getName()
    2. org.spongepowered.api
      DamageType$DummyClass.getName
      1. org.spongepowered.api.util.dummy.DamageType$DummyClass.getName(Unknown Source)[?:?]
      1 frame
    3. br.net.fabiozumbi12
      RPPlayerListener.onEntityDamageEvent
      1. br.net.fabiozumbi12.redprotect.listeners.RPPlayerListener.onEntityDamageEvent(RPPlayerListener.java:520)[RPPlayerListener.class:?]
      1 frame
    4. org.spongepowered.common
      RegisteredListener.handle
      1. org.spongepowered.common.event.listener.DamageEntityEventListener_RPPlayerListener_onEntityDamageEvent105.handle(Unknown Source)[?:?]
      2. org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)[RegisteredListener.class:1.10.2-2073-5.0.0-BETA-1687]
      2 frames
    5. 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-1687]
      2. org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:390)[SpongeModEventManager.class:1.10.2-2073-5.0.0-BETA-1687]
      3. org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:362)[SpongeModEventManager.class:1.10.2-2073-5.0.0-BETA-1687]
      3 frames
    6. Minecraft
      EntityPlayerMP.func_70097_a
      1. net.minecraft.entity.EntityLivingBase.damageEntityHook(EntityLivingBase.java:572)[sf.class:?]
      2. net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:420)[sf.class:?]
      3. net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1022)[zs.class:?]
      4. net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:543)[lu.class:?]
      4 frames
    7. toughasnails.thirst
      ThirstHandler.update
      1. toughasnails.thirst.ThirstHandler.update(ThirstHandler.java:83)[ThirstHandler.class:?]
      1 frame
    8. toughasnails.handler
      ExtendedStatHandler.onPlayerTick
      1. toughasnails.handler.ExtendedStatHandler.onPlayerTick(ExtendedStatHandler.java:69)[ExtendedStatHandler.class:?]
      1 frame
    9. MC Forge
      FMLCommonHandler.onPlayerPostTick
      1. net.minecraftforge.fml.common.eventhandler.ASMEventHandler_87_ExtendedStatHandler_onPlayerTick_PlayerTickEvent.invoke(.dynamic)[?:?]
      2. net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:72)[ASMEventHandler.class:?]
      3. net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:131)[EventBus.class:?]
      4. net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:100)[EventBus.class:?]
      5. net.minecraftforge.fml.common.FMLCommonHandler.onPlayerPostTick(FMLCommonHandler.java:365)[FMLCommonHandler.class:?]
      5 frames
    10. Minecraft
      NetHandlerPlayServer.func_73660_a
      1. net.minecraft.entity.player.EntityPlayer.func_184808_cD(EntityPlayer.java:382)[zs.class:?]
      2. net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:292)[zs.class:?]
      3. net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:303)[lu.class:?]
      4. net.minecraft.network.NetHandlerPlayServer.redirect$onPlayerTick$0(NetHandlerPlayServer.java:230)[me.class:?]
      5. net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:162)[me.class:?]
      5 frames
    11. MC Forge
      NetworkDispatcher$1.func_73660_a
      1. net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:213)[NetworkDispatcher$1.class:?]
      1 frame
    12. Minecraft
      NetworkSystem.func_151269_c
      1. net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287)[eo.class:?]
      2. net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)[md.class:?]
      2 frames
    13. MC Server
      MinecraftServer.run
      1. net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:732)[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_101]
      1 frame