Arclight icon indicating copy to clipboard operation
Arclight copied to clipboard

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

Open ColdTearsYY opened this issue 10 months ago • 7 comments

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

  • [X] 正在使用最新的 Arclight
  • [X] 已为所有插件及模组安装依赖
  • [X] 已为所有插件及模组更新至最新版
  • [X] 不可在 Spigot 复现
  • [X] 不可在 Forge 复现

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 avatar Apr 14 '24 03:04 ColdTearsYY

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

ColdTearsYY avatar Apr 14 '24 07:04 ColdTearsYY

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

Chesvin1 avatar Apr 14 '24 07:04 Chesvin1

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

thank you and it fixed but how could that be

ColdTearsYY avatar Apr 14 '24 07:04 ColdTearsYY

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.

Chesvin1 avatar Apr 14 '24 07:04 Chesvin1

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?

KingKottlewing avatar Apr 15 '24 16:04 KingKottlewing

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

ColdTearsYY avatar Apr 15 '24 16:04 ColdTearsYY

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!

KingKottlewing avatar Apr 15 '24 17:04 KingKottlewing