java.lang.UnsupportedOperationException

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

Solutions on the web3394

  • A method was invoked on a dummy class, due to the static field VOID not being initialized (most likely in a CatalogType-related class). Method: public abstract java.lang.String org.spongepowered.api.CatalogType.getId()
  • via GitHub by FabioZumbi12
    , 2 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
    , 11 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()
  • Stack trace

    • java.lang.UnsupportedOperationException: A method was invoked on a dummy class, due to the static field VOID 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)[rh.class:?] at org.spongepowered.api.event.cause.Cause.toString(Cause.java:470)[spongeforge-1.10.2-2073-5.0.0-BETA-1688.jar:1.10.2-2073-5.0.0-BETA-1688]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    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.