IzzelAliz / Arclight

A Bukkit(1.19/1.20) server implementation in modding environment using Mixin. ⚡
GNU General Public License v3.0
1.43k stars 212 forks source link

[1.20.1]打开jei服务器崩溃 java.lang.NoClassDefFoundError: Could not initialize class org.bukkit.DyeColor(类似#1308) #1317

Open ColdTearsYY opened 2 months ago

ColdTearsYY commented 2 months ago

请确认您已完成以下几件事

Arclight 版本

arclight-1.20.1-1.0.6-SNAPSHOT-94d8220

Java 版本 | 操作系统

系统:win10,java:graalvm-ee-java17-22.1.0

相关 Mod/插件 的名称及版本

https://mclo.gs/cE0imWr

错误描述

Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalArgumentException: Multiple entries with same key: Color:[argb0xFF474F52]=GRAY and Color:[argb0xFF474F52]=GRAY [in thread "Server thread"] 服务器崩溃 1.复现方法之一:r键查看物品jei配方时,鼠标移动到某个成分上崩溃 2.部分人的客户端会导致这个问题,其他人不会,但是单人模式都不会出现类似问题

服务器报错这段之后崩溃https://mclo.gs/ep09g6P

复现步骤

No response

报错信息

https://mclo.gs/cE0imWr DEBUG.LOG

复现用压缩包下载链接(可选)

No response

ColdTearsYY commented 2 months ago

打开jei崩崩崩 https://mclo.gs/3uGhJbj

Chesvin1 commented 2 months ago

This issue was happening to me too. Removing the mod "Redirector" fixes it.

ColdTearsYY commented 2 months ago

This issue was happening to me too. Removing the mod "Redirector" fixes it.

thank you and it fixed but how could that be

Chesvin1 commented 2 months ago

Redirector messes with the DyeColor bukkit class which makes it fail to initialize after:

[com.teampotato.redirector.Redirector/]: Redirecting org/bukkit/DyeColor

Not sure if there is any workaround, but from what I can tell redirector actually has an impact on other plugins too, so better to not have it on an arclight environment.

KingKottlewing commented 2 months ago

Redirector messes with the DyeColor bukkit class which makes it fail to initialize after:

[com.teampotato.redirector.Redirector/]: Redirecting org/bukkit/DyeColor

Not sure if there is any workaround, but from what I can tell redirector actually has an impact on other plugins too, so better to not have it on an arclight environment.

Can you just remove it on the server or do you need to remove it on the client too?

ColdTearsYY commented 2 months ago

Redirector messes with the DyeColor bukkit class which makes it fail to initialize after: [com.teampotato.redirector.Redirector/]: Redirecting org/bukkit/DyeColor Not sure if there is any workaround, but from what I can tell redirector actually has an impact on other plugins too, so better to not have it on an arclight environment.

Can you just remove it on the server or do you need to remove it on the client too?

only remove from server

KingKottlewing commented 2 months ago

Redirector messes with the DyeColor bukkit class which makes it fail to initialize after: [com.teampotato.redirector.Redirector/]: Redirecting org/bukkit/DyeColor Not sure if there is any workaround, but from what I can tell redirector actually has an impact on other plugins too, so better to not have it on an arclight environment.

Can you just remove it on the server or do you need to remove it on the client too?

only remove from server

Yes it works now. Thank you so much!