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

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by 5igm
, 1 year ago
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()
via GitHub by FabioZumbi12
, 6 months ago
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()
via GitHub by 5igm
, 1 year ago
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()
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(Unknown Source)
at br.net.fabiozumbi12.redprotect.listeners.RPPlayerListener.onEntityDamageEvent(RPPlayerListener.java:520)
at org.spongepowered.common.event.listener.DamageEntityEventListener_RPPlayerListener_onEntityDamageEvent105.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:390)
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:362)
at net.minecraft.entity.EntityLivingBase.damageEntityHook(EntityLivingBase.java:572)
at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:420)
at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1022)
at toughasnails.thirst.ThirstHandler.update(ThirstHandler.java:83)
at toughasnails.handler.ExtendedStatHandler.onPlayerTick(ExtendedStatHandler.java:69)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_87_ExtendedStatHandler_onPlayerTick_PlayerTickEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:72)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:131)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:100)
at net.minecraft.entity.player.EntityPlayer.func_184808_cD(EntityPlayer.java:382)
at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:292)
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:303)
at net.minecraft.network.NetHandlerPlayServer.redirect$onPlayerTick$0(NetHandlerPlayServer.java:230)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:732)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.