FTB Endeavor crash at startup because of KubeJS - UI

  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

LordS3B

New Member
Jul 29, 2019
2
0
0
Hey folks. Updated java and now can't even start FTB Endeavor. This is the crash log:

---- Minecraft Crash Report ----
// Don't do that.

Time: 9/25/21 11:40 PM
Description: Rendering overlay

dev.latvian.mods.rhino.EcmaError: ReferenceError: "mod" is not defined. (client_scripts:ui/ui.js#7)
at dev.latvian.mods.rhino.ScriptRuntime.constructError(ScriptRuntime.java:3426) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ScriptRuntime.constructError(ScriptRuntime.java:3413) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ScriptRuntime.notFoundError(ScriptRuntime.java:3476) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1540) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ScriptRuntime.name(ScriptRuntime.java:1498) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.Interpreter.interpretLoop(Interpreter.java:1719) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.Interpreter.interpret(Interpreter.java:979) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.InterpretedFunction.call(InterpretedFunction.java:95) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ContextFactory.doTopCall(ContextFactory.java:334) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ScriptRuntime.doTopCall(ScriptRuntime.java:2856) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.InterpretedFunction.call(InterpretedFunction.java:93) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ArrowFunction.call(ArrowFunction.java:41) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:131) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:90) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.InterfaceAdapter$$Lambda$3335/781541433.run(Unknown Source) ~[?:?] {}
at dev.latvian.mods.rhino.Context.call(Context.java:366) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ContextFactory.call(ContextFactory.java:441) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.InterfaceAdapter.invoke(InterfaceAdapter.java:90) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.jdk18.VMBridge_jdk18.lambda$newInterfaceProxy$0(VMBridge_jdk18.java:109) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.jdk18.VMBridge_jdk18$$Lambda$3332/630617836.invoke(Unknown Source) ~[?:?] {}
at com.sun.proxy.$Proxy45.accept(Unknown Source) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading}
at dev.latvian.kubejs.ui.ScreenKubeJSUI.func_231160_c_(ScreenKubeJSUI.java:55) ~[?:1605.1.4-build.12] {re:classloading}
at net.minecraft.client.gui.screen.Screen.func_231158_b_(Screen.java:325) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:ScreenMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at dev.latvian.kubejs.ui.ScreenKubeJSUI.func_231158_b_(ScreenKubeJSUI.java:48) ~[?:1605.1.4-build.12] {re:classloading}
at net.minecraft.client.Minecraft.func_147108_a(Minecraft.java:852) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.lambda$null$1(Minecraft.java:514) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft$$Lambda$4168/541713794.run(Unknown Source) ~[?:?] {}
at net.minecraft.util.Util.func_215077_a(Util.java:320) ~[?:?] {re:classloading}
at net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:504) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft$$Lambda$3878/1659321014.accept(Unknown Source) ~[?:?] {}
at net.minecraft.client.gui.ResourceLoadProgressGui.func_230430_a_(ResourceLoadProgressGui.java:113) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:kubejs-common.mixins.json:ResourceLoadProgressGuiMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:481) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:976) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.5.jar:36.2] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$449/708350323.call(Unknown Source) [forge-1.16.5-36.2.5.jar:36.2] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
at dev.latvian.mods.rhino.ScriptRuntime.constructError(ScriptRuntime.java:3426) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ScriptRuntime.constructError(ScriptRuntime.java:3413) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ScriptRuntime.notFoundError(ScriptRuntime.java:3476) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1540) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ScriptRuntime.name(ScriptRuntime.java:1498) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.Interpreter.interpretLoop(Interpreter.java:1719) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.Interpreter.interpret(Interpreter.java:979) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.InterpretedFunction.call(InterpretedFunction.java:95) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ContextFactory.doTopCall(ContextFactory.java:334) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ScriptRuntime.doTopCall(ScriptRuntime.java:2856) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.InterpretedFunction.call(InterpretedFunction.java:93) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ArrowFunction.call(ArrowFunction.java:41) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:131) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:90) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.InterfaceAdapter$$Lambda$3335/781541433.run(Unknown Source) ~[?:?] {}
at dev.latvian.mods.rhino.Context.call(Context.java:366) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.ContextFactory.call(ContextFactory.java:441) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.InterfaceAdapter.invoke(InterfaceAdapter.java:90) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.jdk18.VMBridge_jdk18.lambda$newInterfaceProxy$0(VMBridge_jdk18.java:109) ~[?:1605.1.4-build.63] {re:classloading}
at dev.latvian.mods.rhino.jdk18.VMBridge_jdk18$$Lambda$3332/630617836.invoke(Unknown Source) ~[?:?] {}
at com.sun.proxy.$Proxy45.accept(Unknown Source) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at dev.latvian.kubejs.ui.ScreenKubeJSUI.func_231160_c_(ScreenKubeJSUI.java:55) ~[?:1605.1.4-build.12] {re:classloading}
at net.minecraft.client.gui.screen.Screen.func_231158_b_(Screen.java:325) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:ScreenMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at dev.latvian.kubejs.ui.ScreenKubeJSUI.func_231158_b_(ScreenKubeJSUI.java:48) ~[?:1605.1.4-build.12] {re:classloading}
at net.minecraft.client.Minecraft.func_147108_a(Minecraft.java:852) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.lambda$null$1(Minecraft.java:514) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft$$Lambda$4168/541713794.run(Unknown Source) ~[?:?] {}
at net.minecraft.util.Util.func_215077_a(Util.java:320) ~[?:?] {re:classloading}
at net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:504) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft$$Lambda$3878/1659321014.accept(Unknown Source) ~[?:?] {}
at net.minecraft.client.gui.ResourceLoadProgressGui.func_230430_a_(ResourceLoadProgressGui.java:113) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:kubejs-common.mixins.json:ResourceLoadProgressGuiMixin,pl:mixin:A,pl:runtimedistcleaner:A}
-- Overlay render details --
Details:
Overlay name: net.minecraft.client.gui.ResourceLoadProgressGui
Stacktrace:
at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:481) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:976) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.5.jar:36.2] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$449/708350323.call(Unknown Source) [forge-1.16.5-36.2.5.jar:36.2] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}


-- System Details --
Details:
Minecraft Version: 1.16.5
Minecraft Version ID: 1.16.5
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 2404413232 bytes (2293 MB) / 4311744512 bytes (4112 MB) up to 6442450944 bytes (6144 MB)
CPUs: 12
JVM Flags: 9 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M -Xmx6144m -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -XX:+IgnoreUnrecognizedVMOptions
ModLauncher: 8.0.9+86+master.3cf110c
ModLauncher launch target: fmlclient
ModLauncher naming: srg
ModLauncher services:
/mixin-0.8.4.jar mixin PLUGINSERVICE
/eventbus-4.0.0.jar eventbus PLUGINSERVICE
/forge-1.16.5-36.2.5.jar object_holder_definalize PLUGINSERVICE
/forge-1.16.5-36.2.5.jar runtime_enum_extender PLUGINSERVICE
/accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE
/forge-1.16.5-36.2.5.jar capability_inject_definalize PLUGINSERVICE
/forge-1.16.5-36.2.5.jar runtimedistcleaner PLUGINSERVICE
/mixin-0.8.4.jar mixin TRANSFORMATIONSERVICE
/forge-1.16.5-36.2.5.jar fml TRANSFORMATIONSERVICE
FML: 36.2
Forge: net.minecraftforge:36.2.5
FML Language Providers:
[email protected]
minecraft@1
Mod List:
forge-1.16.5-36.2.5-client.jar |Minecraft |minecraft |1.16.5 |DONE |Manifest: NOSIGNATURE
rhino-forge-1605.1.4-build.63.jar |Rhino |rhino |1605.1.4-build.63 |DONE |Manifest: NOSIGNATURE
forge-1.16.5-36.2.5-universal.jar |Forge |forge |36.2.5 |DONE |Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
architectury-1.20.29-forge.jar |Architectury |architectury |1.20.29 |DONE |Manifest: NOSIGNATURE
kubejs-forge-1605.3.18-build.129.jar |KubeJS |kubejs |1605.3.18-build.129 |DONE |Manifest: NOSIGNATURE
kubejs-ui-forge-1605.1.4-build.12.jar |KubeJS UI |kubejs_ui |1605.1.4-build.12 |DONE |Manifest: NOSIGNATURE
Crash Report UUID: 04615053-1402-47ed-b198-56ab2b8d3a19
Launched Version: 1.16.5-forge-36.2.5
Backend library: LWJGL version 3.2.2 build 10
Backend API: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2 GL version 4.6.0 NVIDIA 471.41, NVIDIA Corporation
GL Caps: Using framebuffer using OpenGL 3.0
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'forge'
Type: Client (map_client.txt)
Graphics mode: fancy
Resource Packs: vanilla
Current Language: English (US)
CPU: 12x AMD Ryzen 5 3600 6-Core Processor

I isolated the culprit and its dependencies and the crash still happens. Even updated them to see if the crash would go, but it won't. The issue is that the UI script from KubeJS doesn't recognize the "mod" class. Weird but it happens and I can't play :( . Dunno is Java is actually the culprit though.