I am trying to update from gregtech_1.7.10-6.14.03.jar to gregtech_1.7.10-6.14.10.jar. We are running waterfall-travertine server configuration, which allows us to run modded forge server with multiple Minecraft instances. We are currently only using server1 and lobby -servers.
After I updated server to 6.14.10 I am no longer able to start it. Returning back to 6.14.03 fixes the problem, and I am again able to start and run the server normally. Below are my console error and logs.
Thank you
:~/Minecraft/tpsserver/lobby$ ./startup-lobby.sh
IP. gregtech.asm.transformers.Minecraft_MinecraftServerIntegratedLaunchMainMenuPartialFix transform
INFO: Transforming net.minecraft.server.MinecraftServer.run
A problem occurred running the Server launcher.
[21:55:48] [main/INFO] [FML/]: Forge Mod Loader version 7.99.4.1614 for Minecraft 1.7.10 loading
[21:55:48] [main/INFO] [FML/]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_282, running on Linux:amd64:5.4.0-72-generic, installed at /usr/lib/jvm/java-8-openjdk-amd64/jre
[21:55:48] [main/INFO] [STDERR/]: [pw.prok.imagine.ImagineLoadingPlugin:<clinit>:26]: Loading plugin initialized!
[21:55:48] [main/INFO] [FML/]: [AppEng] Core Init
[21:55:50] [main/INFO] [FML/]: Found FastCraft tweaker, skipping...
[21:55:50] [main/INFO] [FML/]: Loading tweaker forestry.shade.javacheck.Java7Checker from forestry_1.7.10-4.2.16.64.jar
[21:55:50] [main/INFO] [STDOUT/]: [micdoodle8.mods.miccore.DepLoader$DepLoadInst:<init>:333]: MicdoodleCore searching for dependencies in mods file: /home/seppo/Minecraft/tpsserver/server1/./mods
[21:55:50] [main/WARN] [FML/]: The following coremods do not have a @MCVersion annotation. They may cause problems if this is not the correct version of Minecraft for them.
[21:55:50] [main/WARN] [FML/]: Missing @MCVersion: codechicken.core.launch.CodeChickenCorePlugin logisticspipes.asm.LogisticsPipesCoreLoader micdoodle8.mods.miccore.MicdoodlePlugin codechicken.nei.asm.NEICorePlugin openblocks.OpenBlocksCorePlugin openmods.core.OpenModsCorePlugin thaumcraft.codechicken.core.launch.DepLoader thaumic.tinkerer.preloader.ThaumicTLoaderContainer
[21:55:50] [main/INFO] [LaunchWrapper/]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:55:50] [main/INFO] [LaunchWrapper/]: Loading tweak class name forestry.shade.javacheck.Java7Checker
[21:55:50] [main/INFO] [LaunchWrapper/]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:55:50] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:55:50] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:55:50] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:51] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:51] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:51] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:52] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:52] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:52] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:52] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:52] [main/INFO] [STDOUT/]: [micdoodle8.mods.miccore.MicdoodlePlugin:getASMTransformerClass:102]: Successfully Registered Transformer
[21:55:53] [main/INFO] [STDOUT/]: [micdoodle8.mods.miccore.MicdoodlePlugin:injectData:295]: [Micdoodle8Core]: Patching game...
[21:55:53] [main/INFO] [STDOUT/]: [micdoodle8.mods.miccore.MicdoodlePlugin:injectData:295]: [Micdoodle8Core]: Patching game...
[21:55:53] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:53] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:53] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:53] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:53] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:53] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:53] [main/INFO] [LaunchWrapper/]: Calling tweak class forestry.shade.javacheck.Java7Checker
[21:55:53] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:53] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:53] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:55:53] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:55:53] [main/INFO] [LaunchWrapper/]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[21:55:53] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[21:55:53] [main/ERROR] [LaunchWrapper/]: Unable to launch
java.lang.ClassNotFoundException: net.minecraft.server.MinecraftServer
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_282]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_282]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_282]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_282]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_282]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_282]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_282]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_282]
at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43) [Thermos-1.7.10-1614-server.jar:1.7.10-1614.58]
at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12) [Thermos-1.7.10-1614-server.jar:1.7.10-1614.58]
Caused by: java.lang.NullPointerException
at gregtech.asm.transformers.Minecraft_MinecraftServerIntegratedLaunchMainMenuPartialFix.transform(Minecraft_MinecraftServerIntegratedLaunchMainMenuPartialFix.java:55) ~[gregtech_1.7.10-6.14.10.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
... 12 more
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: java.lang.reflect.InvocationTargetException
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: at java.lang.reflect.Method.invoke(Method.java:498)
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: Caused by: cpw.mods.fml.relauncher.FMLSecurityManager$ExitTrappedException
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: at cpw.mods.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:28)
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: at java.lang.SecurityManager.checkExit(SecurityManager.java:761)
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: at java.lang.Runtime.exit(Runtime.java:107)
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: at java.lang.System.exit(System.java:973)
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:138)
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[21:55:53] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:749]: ... 6 more
You can disable that ASM via the asm config file that gets created on launch, just look at the file asm.ini file in the config/gregtech directory and change:
Thatâs very oddly questionable though, all that asm does is change a 0 to 40, so thatâs really oddâŚ
Also, java should be printing out class bytecode information if there is such a crash, if you can find that and give it here then I might be able to fix it.
The server-code is identical on both, and the classloader runs âbeforeâ minecraft runs so itâs not easy to tell if its a client build or not since that code isnât even loaded yet to check. Thatâs why I made the config file.
What Iâm really curious about is what is changed about the MinecraftServer.class file, I would really like a copy of it, because it doesnât sound right⌠Like what is even being run?!
Something funny is that I even check in the asm if its the right opcode unchanged and all, so I donât even know how it would be causing it to crash at all (it wonât run if itâs changed)⌠It could be a red herring, but changing the config would be the way to testâŚ
You know the whole Bukkit, Cauldron, Spigot, etc Stuff that is for Server Backends? Yeah those modify Serverside Code a lot. Thatâs why I would prefer to turn off that specific piece of ASM when on a standalone Server so it works better out of the box.
Edit I got an Idea, Forge has a Bukkit Detector thingamabob, maybe that works.
Edit 2: Okay maybe not that, kinda hard to find where the F that is. Lets just check if its a Server or not.
:~/Minecraft/tpsserver/server1$ ./startup-server1.sh
huhtikuuta 23, 2021 10:56:26 IP. gregtech.asm.transformers.Minecraft_MinecraftServerIntegratedLaunchMainMenuPartialFix transform
INFO: Transforming net.minecraft.server.MinecraftServer.run
A problem occurred running the Server launcher.
It already does turn off for those if that code is modified. It will only adjust the 0 to a 40 if the 0 already exists in the spot it expects, so thatâs fine. And it being changed to a 40 I donât see how it could break anything, ever⌠So Iâm really wondering if this is a red herringâŚ
Yeah, so it sounds like a red herring then, itâs something else.
That still looks like its missing lines, like GT6 asm logs that should always existâŚ
Yeah I see, wtf, how could that node ever be null there, like wtf⌠What on earth has screwed up the MinecraftServer.class file that much?! Thatâs really screwed upâŚ
And update released, try this and see if it works? Iâm really curious what other stuff youâre running that corrupted the MinecraftServer.class file that much⌠Thatâs crazyâŚ
This Version should probably be working for you. ^^
(note 1: The scary sounding Description is only there to make sure people donât use that Version lightly.)
(note 2: if you use this Version more often, make sure your Browser didnât cache the Download)
Thanks a lot from help, Iâll try this version later tomorrow. Iâll make a post after testing the new version.
I can say our server setup is absolutely horrible mess, but if it works⌠As always, itâs a story that starts with âI want to multithread Minecraftâ. Maybe Iâll make a post about that later, especially because it⌠kind of works.
Hello, this versio works great both in single-player and multiplayer installations. We are able to run the server and play in it. I presume this version is based on 1.7.10-6.14.10.jar, I can see new Trinium sources (e.g. Endium ore) in the NEI view.