Fabric API

Fabric API

108M Downloads

Could not execute entrypoint stage 'main' due to errors, provided by 'mod_name'

partisani opened this issue ยท 1 comments

commented

Discussed in https://github.com/orgs/FabricMC/discussions/2370

Originally posted by IsaacPar July 1, 2022
I'm developing a miscellaneous things mod, but it always give an error.

Crash Log:

Description: Initializing game

java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'fabrically_adds'!
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51)
	at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49)
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35)
	at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52)
	at net.minecraft.client.MinecraftClient.<init>(MinecraftClient.java:443)
	at net.minecraft.client.main.Main.main(Main.java:198)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
Caused by: java.lang.ExceptionInInitializerError
	at net.isaacpar.fabrically_adds.item.ModItems.<clinit>(ModItems.java:13)
	at net.isaacpar.fabrically_adds.Fabrically_adds.onInitialize(Fabrically_adds.java:21)
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47)
	... 8 more
Caused by: net.minecraft.util.InvalidIdentifierException: Non [a-z0-9_.-] character in namespace of location: assets/fabrically_adds:Fabrically Additions
	at net.minecraft.util.Identifier.<init>(Identifier.java:38)
	at net.minecraft.util.Identifier.<init>(Identifier.java:50)
	at net.isaacpar.fabrically_adds.item.ModItemGroups.<clinit>(ModItemGroups.java:11)
	... 11 more
Detailed Error Walkthrough:

I put the full error log into Pastebin

commented

๐Ÿ‘‹ We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for either a discussion thread, or a message on our discord server. Please post your request on one of these, and the conversation can continue there.