CraftTweaker

CraftTweaker

151M Downloads

[5.0.1.158] Stack Overflow Error on linux server

Benji-Collins opened this issue ยท 9 comments

commented

Issue Description:

Upon starting a server with CraftTweaker 5.0.1.155, the server errors, and doesn't apply any recipe changes.

What happens:

The following error occurs (full error in log file):

Server thread/ERROR [minecraft/MinecraftServer]: Failed to reload data packs
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Lnet/minecraft/client/util/ITooltipFlag;

This also happens on /reload. Still happens if no scripts are present. The crafttweaker log remains empty.

What you expected to happen:

The server to start normally.

Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):

https://pastebin.com/BuH2nqRG

crafttweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):

https://pastebin.com/tTLSxrrN


Affected Versions (Do not use "latest"):

  • Minecraft: 1.14.4
  • Forge: 28.1.111
  • Crafttweaker: 5.0.1.155
  • Using a server: Yes
  • If yes, does the client have the exact same scripts? Yes

Your most recent log file where the issue was present:

https://pastebin.com/MG6N7i0c

commented

I now get a stack overflow error, both with and without a script file. The mineraft log is here: https://pastebin.com/jGY0R3T7. Crafttweaker reload starts on line 2029.

commented

This appears to happen on Linux servers and not Windows servers from what I can tell.

Linux log snippet of the crash: https://gist.github.com/darkphan/2fb5e35048b091364df292886dba2694
Windows log snipped: https://gist.github.com/darkphan/81a2652055a626aa66ace05c28c489ab

commented

darkphan
Thank you for the insight.
Could you share with what versions of Java you tested this?
I can see linux appears to be 1.8.0_232 what version did you use on windows?

commented

Windows has 1.8.0_231-b11

commented

Closing this issue then.
If this issue persists for you @Benji-Collins please reply here and I will reopen it.

darkphan, thank you for testing the version above!

commented

Issue has been fixed for me too, thanks.

commented

I can confirm that version 1.14.4-5.0.1.160 has fixed the issue. Thanks!