Epic Knights: Shields, Armor and Weapons [Fabric/Forge/NeoForge]

Epic Knights: Shields, Armor and Weapons [Fabric/Forge/NeoForge]

14M Downloads

[1.19.3 - 7.6] Fatal error (ArrayIndexOutOfBoundsException)

ZiotecH opened this issue ยท 0 comments

commented

Environment

  • Minecraft 1.19.3
  • Forge 44.1.16
  • Windows 11
  • Java 17.0.5 (Oracle)

Crash Log

-- MOD magistuarmory --
Details:
	Caused by 0: java.lang.reflect.InvocationTargetException
		at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] {}
		at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] {}
		at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] {}
		at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] {}
		at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] {}
		at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:68) ~[javafmllanguage-1.19.3-44.1.16.jar%23303!/:?] {}
		at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:121) ~[fmlcore-1.19.3-44.1.16.jar%23302!/:?] {}
		at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
		at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
		at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {}
		at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {}

	Caused by 1: java.lang.ExceptionInInitializerError
		at com.magistuarmory.KnightlyArmory.init(KnightlyArmory.java:34) ~[1.19.3-forge-Epic-Knights-7.6.jar%23200!/:?] {re:classloading}
		at com.magistuarmory.forge.KnightlyArmoryForge.<init>(KnightlyArmoryForge.java:23) ~[1.19.3-forge-Epic-Knights-7.6.jar%23200!/:?] {re:classloading}
		at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] {}
		at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] {}
		at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] {}
		at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] {}
		at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] {}
		at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:68) ~[javafmllanguage-1.19.3-44.1.16.jar%23303!/:?] {}
		at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:121) ~[fmlcore-1.19.3-44.1.16.jar%23302!/:?] {}
		at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
		at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
		at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {}
		at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {}

	Mod File: /[redacted]/mods/1.19.3-forge-Epic-Knights-7.6.jar
	Failure message: Epic Knights Mod (magistuarmory) has failed to load correctly
		java.lang.reflect.InvocationTargetException: null
	Mod Version: 7.6
	Mod Issue URL: https://github.com/Magistu/Knightly-Armory/issues
	Exception message: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 0
Stacktrace:
	at java.util.ArrayList.add(ArrayList.java:455) ~[?:?] {re:mixin}
	at java.util.ArrayList.add(ArrayList.java:467) ~[?:?] {re:mixin}
	at dev.architectury.registry.forge.CreativeTabRegistryImpl.create(CreativeTabRegistryImpl.java:104) ~[architectury-7.1.70-forge.jar%23209!/:?] {re:classloading}
	at dev.architectury.registry.CreativeTabRegistry.create(CreativeTabRegistry.java) ~[architectury-7.1.70-forge.jar%23209!/:?] {re:mixin,re:classloading}
	at dev.architectury.registry.CreativeTabRegistry.create(CreativeTabRegistry.java:55) ~[architectury-7.1.70-forge.jar%23209!/:?] {re:mixin,re:classloading}
	at com.magistuarmory.init.ModCreativeTabs.createTab(ModCreativeTabs.java:22) ~[1.19.3-forge-Epic-Knights-7.6.jar%23200!/:?] {re:classloading}
	at com.magistuarmory.init.ModCreativeTabs.<clinit>(ModCreativeTabs.java:14) ~[1.19.3-forge-Epic-Knights-7.6.jar%23200!/:?] {re:classloading}
	at com.magistuarmory.KnightlyArmory.init(KnightlyArmory.java:34) ~[1.19.3-forge-Epic-Knights-7.6.jar%23200!/:?] {re:classloading}
	at com.magistuarmory.forge.KnightlyArmoryForge.<init>(KnightlyArmoryForge.java:23) ~[1.19.3-forge-Epic-Knights-7.6.jar%23200!/:?] {re:classloading}
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] {}
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] {}
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] {}
	at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] {}
	at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] {}
	at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:68) ~[javafmllanguage-1.19.3-44.1.16.jar%23303!/:?] {}
	at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:121) ~[fmlcore-1.19.3-44.1.16.jar%23302!/:?] {}
	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
	at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {}
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {}
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {}