Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 tasks done
ColdTearsYY opened this issue Apr 14, 2024 · 7 comments
Labels
Triage default label,wait issue bot check

Comments

@ColdTearsYY
Copy link

ColdTearsYY commented Apr 14, 2024

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

  • 正在使用最新的 Arclight
  • 已为所有插件及模组安装依赖
  • 已为所有插件及模组更新至最新版
  • 不可在 Spigot 复现
  • 不可在 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 ColdTearsYY added the Triage default label,wait issue bot check label Apr 14, 2024
@ColdTearsYY ColdTearsYY changed the title [1.20.1]服务器崩溃 java.lang.NoClassDefFoundError: Could not initialize class org.bukkit.DyeColor(类似#1308) [1.20.1]打开jei服务器崩溃 java.lang.NoClassDefFoundError: Could not initialize class org.bukkit.DyeColor(类似#1308) Apr 14, 2024
@ColdTearsYY
Copy link
Author

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

@Chesvin1
Copy link

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

@ColdTearsYY
Copy link
Author

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

thank you and it fixed but how could that be

@Chesvin1
Copy link

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
Copy link

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
Copy link
Author

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
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triage default label,wait issue bot check
Projects
None yet
Development

No branches or pull requests

3 participants