#Crashes when opening the game specifically when the pack has gregtech

11 messages · Page 1 of 1 (latest)

amber dock
#

Hi, this error happens when opening the pack when Gregtech is added:
Mod 'gtceu' encountered an error in a deferred task:
java.lang.ExceptionInInitializerError: null
at com.gregtechceu.gtceu.api.data.chemical.material.MarkerMaterials.register(MarkerMaterials.java:13) ~[gtceu-1.20.1-7.4.1.jar%23568!/:7.4.1]
Heres the full mclog: https://mclo.gs/VUZXk9f
Latest version of Gtceu is being used (7.4.1)

#

If needed i can provide the pack

lean stump
amber dock
#

(better to download the html and open it on your browser)
If needed i can provide the pack curseforge zip too

lean stump
#

Reading it's complaining about value already present: null in


    Caused by: java.lang.IllegalArgumentException: value already present: null

in

        at com.gregtechceu.gtceu.api.data.chemical.material.MarkerMaterials$Color.<clinit>(MarkerMaterials.java:79) ~[gtceu-1.20.1-7.4.1.jar%23568!/:7.4.1] {re:classloading}

in

        public static final HashBiMap<DyeColor, MarkerMaterial> COLORS = HashBiMap.create();

        static {
            for (var color : DyeColor.values()) {
                COLORS.put(color, Color.valueOf(color.getName()));
            }
        }

Which sounds like it means one of your mods is messing with Minecraft's DyeColor in a way that one of its values is null?

amber dock
#

hmmm, DyeColor you say

#

i can think of a few

#

im gonna try removing some of em that im suspecting of and ill update here

lean stump
#

kk lmk hapybapycat

amber dock