Skip to content

Crash with SuperMartijn642's Core Lib #5377

Description

@heisluft

Checked for existing issues

  • I have checked for existing issues, and have found none.

Tested latest version

  • I have checked that this occurs on the latest version.

GregTech CEu Version

8.0.0-SNAPSHOT-a7e5c45

Minecraft Version

1.21.1 NeoForge

Recipe Viewer Installed

None

Environment

Singleplayer

Cross-Mod Interaction

Yes

Other Installed Mods

	configuration-1.21.1-3.1.1-neoforge.jar           |Configuration
	gtceu-1.21.1-8.0.0-SNAPSHOT+20260831-070059-a7e5c4|GregTech
	ldlib2-neoforge-1.21.1-2.2.37-all.jar             |LowDragLib2
	client-1.21.1-20240808.144430-srg.jar             |Minecraft
	modularui-mc1.21.1-3.3.1-SNAPSHOT.jar             |ModularUI
	neoforge-21.1.248-universal.jar                   |NeoForge
	supermartijn642corelib-1.1.24-neoforge-mc1.21.jar |SuperMartijn642's Core Lib

Expected Behavior

Normal client startup

Actual Behavior

Exception is thrown at startup:

[20:25:38] [modloading-sync-worker/INFO] [GTCEu/]: Firing material register late event
[20:25:38] [modloading-sync-worker/ERROR] [ne.ne.fm.ja.FMLModContainer/]: Exception caught during firing event: Adding duplicate value 'supermartijn642corelib:dummy' to registry
	Index: 0
	Listeners:
		0: com.supermartijn642.core.registry.RegistrationHandler$$Lambda/0x0000000800e3dcd8@273dc1f6
java.lang.IllegalStateException: Adding duplicate value 'supermartijn642corelib:dummy' to registry
	at TRANSFORMER/minecraft@1.21.1/net.minecraft.core.MappedRegistry.register(MappedRegistry.java:141)
	at TRANSFORMER/minecraft@1.21.1/net.minecraft.core.MappedRegistry.register(MappedRegistry.java:123)
	at TRANSFORMER/supermartijn642corelib@1.1.24/com.supermartijn642.core.registry.Registries$VanillaRegistryWrapper.register(Registries.java:166)
	at TRANSFORMER/supermartijn642corelib@1.1.24/com.supermartijn642.core.registry.RegistrationHandler.registerEntries(RegistrationHandler.java:521)
	at TRANSFORMER/supermartijn642corelib@1.1.24/com.supermartijn642.core.registry.RegistrationHandler.handleRegistry(RegistrationHandler.java:509)
	at TRANSFORMER/supermartijn642corelib@1.1.24/com.supermartijn642.core.registry.RegistrationHandler.handleRegisterEvent(RegistrationHandler.java:499)
	at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.ConsumerEventHandler.invoke(ConsumerEventHandler.java:27)
	at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:360)
	at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:342)
	at MC-BOOTSTRAP/fml_loader@4.0.43/net.neoforged.fml.ModContainer.acceptEvent(ModContainer.java:177)
	at MC-BOOTSTRAP/fml_loader@4.0.43/net.neoforged.fml.ModLoader.lambda$postEventWithWrapInModOrder$16(ModLoader.java:379)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at MC-BOOTSTRAP/fml_loader@4.0.43/net.neoforged.fml.ModList.forEachModInOrder(ModList.java:174)
	at MC-BOOTSTRAP/fml_loader@4.0.43/net.neoforged.fml.ModLoader.postEventWithWrapInModOrder(ModLoader.java:377)
	at MC-BOOTSTRAP/fml_loader@4.0.43/net.neoforged.fml.ModLoader.postEventWrapContainerInModOrder(ModLoader.java:368)
	at TRANSFORMER/neoforge@21.1.248/net.neoforged.neoforge.registries.GameData.postRegisterEvents(GameData.java:92)
	at TRANSFORMER/neoforge@21.1.248/net.neoforged.neoforge.internal.CommonModLoader.lambda$begin$0(CommonModLoader.java:54)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Steps to Reproduce

  1. Install the snapshot version of GTCEU and the latest version of SuperMartijn642's Core Lib on the latest 1.21.1 neoforge
  2. Launch the game

Additional Information

This crash does not occur with gtceu-7.0.2. I could isolate it towards GTCEU as a modpack with 100+ mods only started crashing when I updated gtceu to the 8.0.0 SNAPSHOT (as 7.0.2 was incompatible w/ kubejs).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions