LibX

LibX

18M Downloads

1.16.5 forge server crash when @

Sam-Chai opened this issue ยท 0 comments

commented

when i type '@everyone' and sent to chat, the server crashed

Crash Log:

[22:07:35] [Server thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: 'int net.minecraft.util.text.Color.func_240742_a_()'
        Index: 1
        Listeners:
                0: LOWEST
                1: ASM: io.github.noeppi_noeppi.mods.minemention.EventListener@381e6de5 serverChat(Lnet/minecraftforge/event/ServerChatEvent;)V
java.lang.NoSuchMethodError: 'int net.minecraft.util.text.Color.func_240742_a_()'
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.formattingCodes(TextComponentUtil.java:28)
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.lambda$getConsoleString$0(TextComponentUtil.java:19)
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.consumeComponent(TextComponentUtil.java:92)
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.traverseComponent(TextComponentUtil.java:75)
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.traverseComponent(TextComponentUtil.java:78)
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.traverseComponent(TextComponentUtil.java:78)
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.getConsoleString(TextComponentUtil.java:17)
        at io.github.noeppi_noeppi.mods.minemention.EventListener.serverChat(EventListener.java:144)
        at net.minecraftforge.eventbus.ASMEventHandler_170_EventListener_serverChat_ServerChatEvent.invoke(.dynamic)
        at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
        at net.minecraftforge.common.ForgeHooks.onServerChatEvent(ForgeHooks.java:485)
        at net.minecraft.network.play.ServerPlayNetHandler.func_244548_c(ServerPlayNetHandler.java:1105)
        at net.minecraft.network.play.ServerPlayNetHandler.func_244545_b(ServerPlayNetHandler.java:303)
        at net.minecraft.network.play.ServerPlayNetHandler.func_244538_a(ServerPlayNetHandler.java:316)
        at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18)
        at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144)
        at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23)
        at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:734)
        at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:159)
        at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118)
        at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:717)
        at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:711)
        at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127)
        at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:697)
        at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:646)
        at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232)
        at java.base/java.lang.Thread.run(Thread.java:834)

[22:07:35] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
java.lang.NoSuchMethodError: 'int net.minecraft.util.text.Color.func_240742_a_()'
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.formattingCodes(TextComponentUtil.java:28) ~[libx:1.16.3-1.0.63] {re:classloading}
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.lambda$getConsoleString$0(TextComponentUtil.java:19) ~[libx:1.16.3-1.0.63] {re:classloading}
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.consumeComponent(TextComponentUtil.java:92) ~[libx:1.16.3-1.0.63] {re:classloading}
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.traverseComponent(TextComponentUtil.java:75) ~[libx:1.16.3-1.0.63] {re:classloading}
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.traverseComponent(TextComponentUtil.java:78) ~[libx:1.16.3-1.0.63] {re:classloading}
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.traverseComponent(TextComponentUtil.java:78) ~[libx:1.16.3-1.0.63] {re:classloading}
        at io.github.noeppi_noeppi.libx.util.TextComponentUtil.getConsoleString(TextComponentUtil.java:17) ~[libx:1.16.3-1.0.63] {re:classloading}
        at io.github.noeppi_noeppi.mods.minemention.EventListener.serverChat(EventListener.java:144) ~[minemention:1.16.4-0.1.6] {re:classloading,pl:runtimedistcleaner:A}
        at net.minecraftforge.eventbus.ASMEventHandler_170_EventListener_serverChat_ServerChatEvent.invoke(.dynamic) ~[?:?] {}
        at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
        at net.minecraftforge.common.ForgeHooks.onServerChatEvent(ForgeHooks.java:485) ~[forge:?] {re:classloading,re:mixin}
        at net.minecraft.network.play.ServerPlayNetHandler.func_244548_c(ServerPlayNetHandler.java:1105) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
        at net.minecraft.network.play.ServerPlayNetHandler.func_244545_b(ServerPlayNetHandler.java:303) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
        at net.minecraft.network.play.ServerPlayNetHandler.func_244538_a(ServerPlayNetHandler.java:316) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
        at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18) ~[?:?] {re:classloading}
        at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
        at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?] {re:mixin,re:computing_frames,re:classloading}
        at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:734) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:159) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
        at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
        at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:717) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:711) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
        at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
        at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:697) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:646) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
        at java.lang.Thread.run(Thread.java:834) [?:?] {}

Crash Report:

Description: Exception in server tick loop

java.lang.NoSuchMethodError: 'int net.minecraft.util.text.Color.func_240742_a_()'
	at io.github.noeppi_noeppi.libx.util.TextComponentUtil.formattingCodes(TextComponentUtil.java:28) ~[libx:1.16.3-1.0.63] {re:classloading}
	at io.github.noeppi_noeppi.libx.util.TextComponentUtil.lambda$getConsoleString$0(TextComponentUtil.java:19) ~[libx:1.16.3-1.0.63] {re:classloading}
	at io.github.noeppi_noeppi.libx.util.TextComponentUtil.consumeComponent(TextComponentUtil.java:92) ~[libx:1.16.3-1.0.63] {re:classloading}
	at io.github.noeppi_noeppi.libx.util.TextComponentUtil.traverseComponent(TextComponentUtil.java:75) ~[libx:1.16.3-1.0.63] {re:classloading}
	at io.github.noeppi_noeppi.libx.util.TextComponentUtil.traverseComponent(TextComponentUtil.java:78) ~[libx:1.16.3-1.0.63] {re:classloading}
	at io.github.noeppi_noeppi.libx.util.TextComponentUtil.traverseComponent(TextComponentUtil.java:78) ~[libx:1.16.3-1.0.63] {re:classloading}
	at io.github.noeppi_noeppi.libx.util.TextComponentUtil.getConsoleString(TextComponentUtil.java:17) ~[libx:1.16.3-1.0.63] {re:classloading}
	at io.github.noeppi_noeppi.mods.minemention.EventListener.serverChat(EventListener.java:144) ~[minemention:1.16.4-0.1.6] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraftforge.eventbus.ASMEventHandler_170_EventListener_serverChat_ServerChatEvent.invoke(.dynamic) ~[?:?] {}
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
	at net.minecraftforge.common.ForgeHooks.onServerChatEvent(ForgeHooks.java:485) ~[forge:?] {re:classloading,re:mixin}
	at net.minecraft.network.play.ServerPlayNetHandler.func_244548_c(ServerPlayNetHandler.java:1105) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
	at net.minecraft.network.play.ServerPlayNetHandler.func_244545_b(ServerPlayNetHandler.java:303) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
	at net.minecraft.network.play.ServerPlayNetHandler.func_244538_a(ServerPlayNetHandler.java:316) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
	at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18) ~[?:?] {re:classloading}
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?] {re:mixin,re:computing_frames,re:classloading}
	at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:734) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:159) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:717) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:711) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:697) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:646) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:good_nights_sleep.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A,pl:runtimedistcleaner:A}
	at java.lang.Thread.run(Thread.java:834) [?:?] {}

seems like color problem.