Zuxelus / Energy-Control

GNU General Public License v3.0
22 stars 12 forks source link

1.18.2 crash when loading #56

Open ghost opened 2 years ago

ghost commented 2 years ago

This mod crashes when the game is loading with and without other mods and the Minecraft window says "Error loading mods 1 error has occurred during mod loading Energy Control (energycontrol) has encountered an error during the sided_setup event phase".

The mod had been working just fine before, and I don't remember what I did that made this start happening.

Below I pasted the latest.log and crash report.

Crash report:

---- Minecraft Crash Report ---- // On the bright side, I bought you a teddy bear!

Time: 7/1/22, 7:35 PM Description: Mod loading error has occurred

java.lang.Exception: Mod Loading has failed at net.minecraftforge.logging.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:55) ~[forge-1.18.2-40.1.0-universal.jar%2357!/:?] {re:classloading} at net.minecraftforge.client.loading.ClientModLoader.completeModLoading(ClientModLoader.java:169) ~[forge-1.18.2-40.1.0-universal.jar%2357!/:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.lambda$new$1(Minecraft.java:555) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.Util.m137521(Util.java:397) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] {re:classloading} at net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:549) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screens.LoadingOverlay.m6305(LoadingOverlay.java:135) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.GameRenderer.m109093(GameRenderer.java:877) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m91383(Minecraft.java:1044) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m91374(Minecraft.java:663) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] {re:classloading,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {} at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.1.0.jar%2316!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {}

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Thread: Render thread Stacktrace: at net.minecraft.util.GsonHelper.m13918(GsonHelper.java:398) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] {re:classloading} -- MOD energycontrol -- Details: Mod File: EnergyControl-forge-1.18.2-0.2.6.jar Failure message: Energy Control (energycontrol) encountered an error during the sided_setup event phase com.google.gson.JsonSyntaxException: Expected entry to be a JsonObject, was "EXA...]}" Mod Version: 1.18.2-0.2.6 Mod Issue URL: https://github.com/Zuxelus/Energy-Control/issues Exception message: com.google.gson.JsonSyntaxException: Expected entry to be a JsonObject, was "EXA...]}" Stacktrace: at net.minecraft.util.GsonHelper.m13918(GsonHelper.java:398) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] {re:classloading} at net.minecraft.client.resources.sounds.SoundEventRegistrationSerializer.deserialize(SoundEventRegistrationSerializer.java:19) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] {re:classloading} at net.minecraft.client.resources.sounds.SoundEventRegistrationSerializer.deserialize(SoundEventRegistrationSerializer.java:16) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] {re:classloading} at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) ~[gson-2.8.9.jar%2334!/:?] {} at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) ~[gson-2.8.9.jar%2334!/:?] {} at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:187) ~[gson-2.8.9.jar%2334!/:?] {} at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[gson-2.8.9.jar%2334!/:?] {} at com.google.gson.Gson.fromJson(Gson.java:963) ~[gson-2.8.9.jar%2334!/:?] {} at com.google.gson.Gson.fromJson(Gson.java:928) ~[gson-2.8.9.jar%2334!/:?] {} at com.zuxelus.energycontrol.utils.SoundHelper.importSound(SoundHelper.java:96) ~[EnergyControl-forge-1.18.2-0.2.6.jar%2352!/:1.18.2-0.2.6] {re:classloading} at com.zuxelus.energycontrol.utils.SoundHelper.initSoundPack(SoundHelper.java:54) ~[EnergyControl-forge-1.18.2-0.2.6.jar%2352!/:1.18.2-0.2.6] {re:classloading} at com.zuxelus.energycontrol.ClientProxy.onFMLClientSetupEvent(ClientProxy.java:23) ~[EnergyControl-forge-1.18.2-0.2.6.jar%2352!/:1.18.2-0.2.6] {re:classloading} at net.minecraftforge.eventbus.ASMEventHandler_12_ClientProxy_onFMLClientSetupEvent_FMLClientSetupEvent.invoke(.dynamic) ~[?:?] {} at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:106) ~[javafmllanguage-1.18.2-40.1.0.jar%2355!/:?] {} at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:107) ~[fmlcore-1.18.2-40.1.0.jar%2354!/:?] {} 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) ~[?:?] {}

-- System Details -- Details: Minecraft Version: 1.18.2 Minecraft Version ID: 1.18.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 17.0.1, Microsoft Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft Memory: 1982283752 bytes (1890 MiB) / 2684354560 bytes (2560 MiB) up to 7516192768 bytes (7168 MiB) CPUs: 4 Processor Vendor: AuthenticAMD Processor Name: AMD Ryzen 3 2200G with Radeon Vega Graphics
Identifier: AuthenticAMD Family 23 Model 17 Stepping 0 Microarchitecture: Zen Frequency (GHz): 3.50 Number of physical packages: 1 Number of physical CPUs: 4 Number of logical CPUs: 4 Graphics card #0 name: AMD Radeon(TM) Vega 8 Graphics Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002) Graphics card #0 VRAM (MB): 2048.00 Graphics card #0 deviceId: 0x15dd Graphics card #0 versionInfo: DriverVersion=30.0.13023.4001 Memory slot #0 capacity (MB): 8192.00 Memory slot #0 clockSpeed (GHz): 2.67 Memory slot #0 type: DDR4 Virtual memory max (MB): 23368.51 Virtual memory used (MB): 10008.20 Swap memory total (MB): 17276.24 Swap memory used (MB): 850.14 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx7G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M ModLauncher: 9.1.3+9.1.3+main.9b69c82a ModLauncher launch target: forgeclient ModLauncher naming: srg ModLauncher services: mixin PLUGINSERVICE eventbus PLUGINSERVICE slf4jfixer PLUGINSERVICE object_holder_definalize PLUGINSERVICE runtime_enum_extender PLUGINSERVICE capability_token_subclass PLUGINSERVICE accesstransformer PLUGINSERVICE runtimedistcleaner PLUGINSERVICE mixin TRANSFORMATIONSERVICE fml TRANSFORMATIONSERVICE FML Language Providers: minecraft@1.0 javafml@null Mod List: client-1.18.2-20220404.173914-srg.jar |Minecraft |minecraft |1.18.2 |ENQUEUE_IM|Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f forge-1.18.2-40.1.0-universal.jar |Forge |forge |40.1.0 |ENQUEUE_IM|Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90 EnergyControl-forge-1.18.2-0.2.6.jar |Energy Control |energycontrol |1.18.2-0.2.6 |ERROR |Manifest: NOSIGNATURE Crash Report UUID: 0a1bf649-4fae-4f32-b12c-2815577b7765 FML: 40.1 Forge: net.minecraftforge:40.1.0

. . . . . . . .

Latest.log:

[01Jul2022 19:34:20.914] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, orangered8321, --version, 1.18.2-forge-40.1.0, --gameDir, C:\Users\C\AppData\Roaming.minecraft, --assetsDir, C:\Users\C\AppData\Roaming.minecraft\assets, --assetIndex, 1.18, --uuid, 870ae7b00dfa46fab0e5cb6c7804b395, --accessToken, ????????, --clientId, MjhiNjlhMmYtY2IwOS00ODM5LWJlMzEtNzZhZWY1ZjlkOTQ3, --xuid, 2535409303310176, --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 40.1.0, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914] [01Jul2022 19:34:20.929] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.1 by Microsoft [01Jul2022 19:34:21.179] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/C/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=CLIENT [01Jul2022 19:34:24.364] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeclient' with arguments [--version, 1.18.2-forge-40.1.0, --gameDir, C:\Users\C\AppData\Roaming.minecraft, --assetsDir, C:\Users\C\AppData\Roaming.minecraft\assets, --uuid, 870ae7b00dfa46fab0e5cb6c7804b395, --username, orangered8321, --assetIndex, 1.18, --accessToken, ????????, --clientId, MjhiNjlhMmYtY2IwOS00ODM5LWJlMzEtNzZhZWY1ZjlkOTQ3, --xuid, 2535409303310176, --userType, msa, --versionType, release] [01Jul2022 19:34:37.021] [Render thread/WARN] [net.minecraft.server.packs.VanillaPackResources/]: Assets URL 'union:/C:/Users/C/AppData/Roaming/.minecraft/libraries/net/minecraft/client/1.18.2-20220404.173914/client-1.18.2-20220404.173914-srg.jar%2353!/assets/.mcassetsroot' uses unexpected schema [01Jul2022 19:34:37.022] [Render thread/WARN] [net.minecraft.server.packs.VanillaPackResources/]: Assets URL 'union:/C:/Users/C/AppData/Roaming/.minecraft/libraries/net/minecraft/client/1.18.2-20220404.173914/client-1.18.2-20220404.173914-srg.jar%2353!/data/.mcassetsroot' uses unexpected schema [01Jul2022 19:34:37.054] [Render thread/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [01Jul2022 19:34:37.945] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: orangered8321 [01Jul2022 19:34:38.397] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.2.2 SNAPSHOT [01Jul2022 19:34:42.225] [modloading-worker-0/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 40.1.0, for MC 1.18.2 with MCP 20220404.173914 [01Jul2022 19:34:42.228] [modloading-worker-0/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v40.1.0 Initialized [01Jul2022 19:34:45.258] [Render thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded [01Jul2022 19:34:45.622] [Render thread/INFO] [net.minecraft.server.packs.resources.ReloadableResourceManager/]: Reloading ResourceManager: Energy Control Alarms, Mod Resources, Default [01Jul2022 19:34:46.916] [Worker-Main-7/WARN] [net.minecraft.client.sounds.SoundManager/]: Invalid sounds.json in resourcepack: 'Energy Control Alarms' com.google.gson.JsonSyntaxException: Expected entry to be a JsonObject, was "EXA...]}" at net.minecraft.util.GsonHelper.m13918(GsonHelper.java:398) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] at net.minecraft.client.resources.sounds.SoundEventRegistrationSerializer.deserialize(SoundEventRegistrationSerializer.java:19) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] at net.minecraft.client.resources.sounds.SoundEventRegistrationSerializer.deserialize(SoundEventRegistrationSerializer.java:16) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) ~[gson-2.8.9.jar%2334!/:?] at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) ~[gson-2.8.9.jar%2334!/:?] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:187) ~[gson-2.8.9.jar%2334!/:?] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[gson-2.8.9.jar%2334!/:?] at net.minecraft.util.GsonHelper.m13771(GsonHelper.java:514) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] at net.minecraft.util.GsonHelper.m13767(GsonHelper.java:532) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] at net.minecraft.client.sounds.SoundManager.m5944(SoundManager.java:69) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] at net.minecraft.client.sounds.SoundManager.m5944(SoundManager.java:39) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] at net.minecraft.server.packs.resources.SimplePreparableReloadListener.m10786(SimplePreparableReloadListener.java:11) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) [?:?] at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) [?:?] 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) [?:?] [01Jul2022 19:35:00.013] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json [01Jul2022 19:35:00.195] [Worker-Main-4/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: Expected entry to be a JsonObject, was "EXA...]}" Index: 1 Listeners: 0: NORMAL 1: ASM: class com.zuxelus.energycontrol.ClientProxy onFMLClientSetupEvent(Lnet/minecraftforge/fml/event/lifecycle/FMLClientSetupEvent;)V com.google.gson.JsonSyntaxException: Expected entry to be a JsonObject, was "EXA...]}" at TRANSFORMER/minecraft@1.18.2/net.minecraft.util.GsonHelper.m13918(GsonHelper.java:398) at TRANSFORMER/minecraft@1.18.2/net.minecraft.client.resources.sounds.SoundEventRegistrationSerializer.deserialize(SoundEventRegistrationSerializer.java:19) at TRANSFORMER/minecraft@1.18.2/net.minecraft.client.resources.sounds.SoundEventRegistrationSerializer.deserialize(SoundEventRegistrationSerializer.java:16) at MC-BOOTSTRAP/com.google.gson@2.8.9/com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) at MC-BOOTSTRAP/com.google.gson@2.8.9/com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) at MC-BOOTSTRAP/com.google.gson@2.8.9/com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:187) at MC-BOOTSTRAP/com.google.gson@2.8.9/com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) at MC-BOOTSTRAP/com.google.gson@2.8.9/com.google.gson.Gson.fromJson(Gson.java:963) at MC-BOOTSTRAP/com.google.gson@2.8.9/com.google.gson.Gson.fromJson(Gson.java:928) at TRANSFORMER/energycontrol@1.18.2-0.2.6/com.zuxelus.energycontrol.utils.SoundHelper.importSound(SoundHelper.java:96) at TRANSFORMER/energycontrol@1.18.2-0.2.6/com.zuxelus.energycontrol.utils.SoundHelper.initSoundPack(SoundHelper.java:54) at TRANSFORMER/energycontrol@1.18.2-0.2.6/com.zuxelus.energycontrol.ClientProxy.onFMLClientSetupEvent(ClientProxy.java:23) at net.minecraftforge.eventbus.ASMEventHandler_12_ClientProxy_onFMLClientSetupEvent_FMLClientSetupEvent.invoke(.dynamic) at MC-BOOTSTRAP/eventbus@5.0.3/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) at MC-BOOTSTRAP/eventbus@5.0.3/net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) at MC-BOOTSTRAP/eventbus@5.0.3/net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) at LAYER PLUGIN/javafmllanguage@1.18.2-40.1.0/net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:106) at LAYER PLUGIN/fmlcore@1.18.2-40.1.0/net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:107) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

[01Jul2022 19:35:00.197] [Worker-Main-4/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Caught exception during event FMLClientSetupEvent dispatch for modid energycontrol com.google.gson.JsonSyntaxException: Expected entry to be a JsonObject, was "EXA...]}" at net.minecraft.util.GsonHelper.m13918(GsonHelper.java:398) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] at net.minecraft.client.resources.sounds.SoundEventRegistrationSerializer.deserialize(SoundEventRegistrationSerializer.java:19) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] at net.minecraft.client.resources.sounds.SoundEventRegistrationSerializer.deserialize(SoundEventRegistrationSerializer.java:16) ~[client-1.18.2-20220404.173914-srg.jar%2353!/:?] at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) ~[gson-2.8.9.jar%2334!/:?] at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) ~[gson-2.8.9.jar%2334!/:?] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:187) ~[gson-2.8.9.jar%2334!/:?] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[gson-2.8.9.jar%2334!/:?] at com.google.gson.Gson.fromJson(Gson.java:963) ~[gson-2.8.9.jar%2334!/:?] at com.google.gson.Gson.fromJson(Gson.java:928) ~[gson-2.8.9.jar%2334!/:?] at com.zuxelus.energycontrol.utils.SoundHelper.importSound(SoundHelper.java:96) ~[EnergyControl-forge-1.18.2-0.2.6.jar%2352!/:1.18.2-0.2.6] at com.zuxelus.energycontrol.utils.SoundHelper.initSoundPack(SoundHelper.java:54) ~[EnergyControl-forge-1.18.2-0.2.6.jar%2352!/:1.18.2-0.2.6] at com.zuxelus.energycontrol.ClientProxy.onFMLClientSetupEvent(ClientProxy.java:23) ~[EnergyControl-forge-1.18.2-0.2.6.jar%2352!/:1.18.2-0.2.6] at net.minecraftforge.eventbus.ASMEventHandler_12_ClientProxy_onFMLClientSetupEvent_FMLClientSetupEvent.invoke(.dynamic) ~[?:?] at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:106) ~[javafmllanguage-1.18.2-40.1.0.jar%2355!/:?] at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:107) ~[fmlcore-1.18.2-40.1.0.jar%2354!/:?] 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) [?:?] [01Jul2022 19:35:00.329] [modloading-worker-0/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event SIDED_SETUP, 1 errors found [01Jul2022 19:35:01.955] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: UP_TO_DATE Current: 40.1.0 Target: null [01Jul2022 19:35:02.824] [Worker-Main-5/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [01Jul2022 19:35:02.839] [Worker-Main-5/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [01Jul2022 19:35:02.953] [Worker-Main-5/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [01Jul2022 19:35:03.044] [Worker-Main-5/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [01Jul2022 19:35:03.067] [Worker-Main-5/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [01Jul2022 19:35:03.098] [Worker-Main-5/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [01Jul2022 19:35:03.195] [modloading-worker-0/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to process mod state change request from ModLoadingState[name=ENQUEUE_IMC, previous=, message=net.minecraftforge.fml.ModLoadingState$$Lambda$4167/0x0000000800b47d00@5b7113c9, phase=COMPLETE, inlineRunnable=Optional.empty, transition=Optional[ParallelTransition[stage=ENQUEUE_IMC, event=class net.minecraftforge.fml.event.lifecycle.InterModEnqueueEvent]]] [01Jul2022 19:35:03.195] [modloading-worker-0/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to process mod state change request from ModLoadingState[name=PROCESS_IMC, previous=ENQUEUE_IMC, message=net.minecraftforge.fml.ModLoadingState$$Lambda$4167/0x0000000800b47d00@1b0b7bd5, phase=COMPLETE, inlineRunnable=Optional.empty, transition=Optional[ParallelTransition[stage=PROCESS_IMC, event=class net.minecraftforge.fml.event.lifecycle.InterModProcessEvent]]] [01Jul2022 19:35:03.195] [modloading-worker-0/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to process mod state change request from ModLoadingState[name=COMPLETE, previous=PROCESS_IMC, message=net.minecraftforge.fml.core.ModStateProvider$$Lambda$4171/0x0000000800b492f0@1778cdcb, phase=COMPLETE, inlineRunnable=Optional.empty, transition=Optional[ParallelTransition[stage=COMPLETE, event=class net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent]]] [01Jul2022 19:35:03.196] [modloading-worker-0/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to process mod state change request from ModLoadingState[name=FREEZE_DATA, previous=COMPLETE, message=net.minecraftforge.fml.ModLoadingState$$Lambda$4166/0x0000000800b47ac0@582101ad, phase=COMPLETE, inlineRunnable=Optional[net.minecraftforge.common.ForgeStatesProvider$$Lambda$4183/0x0000000800b4b3c8@18340caf], transition=Optional.empty] [01Jul2022 19:35:03.196] [modloading-worker-0/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to process mod state change request from ModLoadingState[name=NETWORK_LOCK, previous=FREEZE_DATA, message=net.minecraftforge.fml.ModLoadingState$$Lambda$4166/0x0000000800b47ac0@6e142563, phase=COMPLETE, inlineRunnable=Optional[net.minecraftforge.common.ForgeStatesProvider$$Lambda$4184/0x0000000800b4b5f0@3fd3abff], transition=Optional.empty] [01Jul2022 19:35:07.841] [Render thread/INFO] [com.mojang.blaze3d.audio.Library/]: OpenAL initialized on device OpenAL Soft on Headphones (TaoTronics TT-BH060 Stereo) [01Jul2022 19:35:07.843] [Render thread/INFO] [net.minecraft.client.sounds.SoundEngine/SOUNDS]: Sound engine started [01Jul2022 19:35:08.113] [Render thread/INFO] [net.minecraft.client.renderer.texture.TextureAtlas/]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas [01Jul2022 19:35:08.343] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [01Jul2022 19:35:08.344] [Render thread/INFO] [net.minecraft.client.renderer.texture.TextureAtlas/]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas [01Jul2022 19:35:08.346] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [01Jul2022 19:35:08.347] [Render thread/INFO] [net.minecraft.client.renderer.texture.TextureAtlas/]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas [01Jul2022 19:35:08.353] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [01Jul2022 19:35:08.354] [Render thread/INFO] [net.minecraft.client.renderer.texture.TextureAtlas/]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas [01Jul2022 19:35:08.359] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [01Jul2022 19:35:08.359] [Render thread/INFO] [net.minecraft.client.renderer.texture.TextureAtlas/]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas [01Jul2022 19:35:08.361] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [01Jul2022 19:35:08.364] [Render thread/INFO] [net.minecraft.client.renderer.texture.TextureAtlas/]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas [01Jul2022 19:35:08.392] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [01Jul2022 19:35:08.396] [Render thread/INFO] [net.minecraft.client.renderer.texture.TextureAtlas/]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas [01Jul2022 19:35:08.441] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [01Jul2022 19:35:09.319] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.ModelBakeEvent to a broken mod state [01Jul2022 19:35:09.735] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:09.780] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.081] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.088] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.095] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.126] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.126] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.136] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.138] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.139] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.139] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.140] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.140] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.142] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.144] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.145] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.146] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.148] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.149] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.151] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.180] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.181] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [01Jul2022 19:35:10.182] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$AddLayers to a broken mod state [01Jul2022 19:35:11.192] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterShadersEvent to a broken mod state [01Jul2022 19:35:11.495] [Render thread/INFO] [net.minecraft.client.renderer.texture.TextureAtlas/]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas [01Jul2022 19:35:11.499] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [01Jul2022 19:35:11.501] [Render thread/INFO] [net.minecraft.client.renderer.texture.TextureAtlas/]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas [01Jul2022 19:35:11.526] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [01Jul2022 19:35:11.526] [Render thread/INFO] [net.minecraft.client.renderer.texture.TextureAtlas/]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas [01Jul2022 19:35:11.547] [Render thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [01Jul2022 19:35:12.520] [Render thread/FATAL] [net.minecraftforge.common.ForgeMod/]: Preparing crash report with UUID 0a1bf649-4fae-4f32-b12c-2815577b7765 [01Jul2022 19:35:12.522] [Render thread/FATAL] [net.minecraftforge.client.loading.ClientModLoader/]: Crash report saved to C:\Users\C\AppData\Roaming.minecraft\crash-reports\crash-2022-07-01_19.35.12-fml.txt [01Jul2022 19:35:12.524] [Render thread/FATAL] [net.minecraftforge.common.ForgeMod/]: Preparing crash report with UUID 26c0adde-2ec2-48af-ab6c-fe5950d1b8a7

Zuxelus commented 2 years ago

This is not a bug. You need to set correct sounds.json file if you use custom sounds.