Ok so...
I created a modpack with curseforge and put every mod in aternos but when I start the server it crashes and I dont why.
Crash:
[05Apr2023 14:19:18.258] [Thread-4/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: -1
Index: 1
Listeners:
0: NORMAL
1: net.minecraftforge.eventbus.EventBus$$Lambda$2685/1808794751@75128c5e
java.lang.ArrayIndexOutOfBoundsException: -1
at it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap.insert(Object2ObjectLinkedOpenHashMap.java:333)
at it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap.put(Object2ObjectLinkedOpenHashMap.java:346)
at uniquebase.UEBase.reloadConfig(UEBase.java:196)
at uniquebase.UEBase.onFileChange(UEBase.java:220)
at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247)
at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
at net.minecraftforge.fml.ModContainer.lambda$dispatchConfigEvent$7(ModContainer.java:152)
at java.util.Optional.ifPresent(Optional.java:159)
at net.minecraftforge.fml.ModContainer.dispatchConfigEvent(ModContainer.java:152)
at net.minecraftforge.fml.config.ModConfig.fireEvent(ModConfig.java:90)
at net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigWatcher.run(ConfigFileTypeHandler.java:161)
at com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread.run(FileWatcher.java:181)
[05Apr2023 14:19:18.259] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: java.lang.ArrayIndexOutOfBoundsException: -1
[05Apr2023 14:19:18.259] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap.insert(Object2ObjectLinkedOpenHashMap.java:333)
[05Apr2023 14:19:18.259] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap.put(Object2ObjectLinkedOpenHashMap.java:346)
[05Apr2023 14:19:18.259] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at uniquebase.UEBase.reloadConfig(UEBase.java:196)
[05Apr2023 14:19:18.259] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at uniquebase.UEBase.onFileChange(UEBase.java:220)
[05Apr2023 14:19:18.260] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247)
[05Apr2023 14:19:18.260] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239)
[05Apr2023 14:19:18.260] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
[05Apr2023 14:19:18.260] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
[05Apr2023 14:19:18.260] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at net.minecraftforge.fml.ModContainer.lambda$dispatchConfigEvent$7(ModContainer.java:152)
[05Apr2023 14:19:18.260] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at java.util.Optional.ifPresent(Optional.java:159)
[05Apr2023 14:19:18.260] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at net.minecraftforge.fml.ModContainer.dispatchConfigEvent(ModContainer.java:152)
[05Apr2023 14:19:18.260] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at net.minecraftforge.fml.config.ModConfig.fireEvent(ModConfig.java:90)
[05Apr2023 14:19:18.260] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigWatcher.run(ConfigFileTypeHandler.java:161)
[05Apr2023 14:19:18.260] [Thread-4/INFO] [STDERR/]: [com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread:run:183]: at com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread.run(FileWatcher.java:181)
[05Apr2023 14:19:18.258] [main/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: -1
Index: 1