SevTech: Ages of the Sky

SevTech: Ages of the Sky

1M Downloads

SevTech Ages startup crash, first startup

Cloudwell opened this issue ยท 3 comments

commented

I'm attempting to launch my server hosted at Minecraft-hosting.pro but the server crashed during launch.
I've just installed the server, tried reinstalling, tried locating and fixing the issue myself but I'm coming up short.

Minecraft version 1.12.2
Modpack version 3.0.8
Java Version: 1.8.0_192, Eclipse OpenJ9
Java VM Version: Eclipse OpenJ9 VM (JRE 1.8.0 Linux amd64-64-Bit Compressed References 20181107_95 (JIT enabled, AOT enabled)
Linux (amd64) version 4.9.13-mod-std-ipv6-64

// Uh... Did I do that?

Time: 11/29/18 10:33 PM
Description: Exception in server tick loop

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Better With Mods (betterwithmods)
Caused by: java.lang.BootstrapMethodError: java.lang.IllegalAccessError: Class 'betterwithmods.module.tweaks.MineshaftGeneration' no access to: class 'net.minecraft.world.gen.structure.StructureMineshaftPieces$Peice'
	at betterwithmods.module.tweaks.MineshaftGeneration.init(MineshaftGeneration.java:55)
	at betterwithmods.module.Module.lambda$init$3(Module.java:150)
	at betterwithmods.module.Module$$Lambda$2529.0000000034E9B340.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at betterwithmods.module.Module.forEachEnabled(Module.java:212)
	at betterwithmods.module.Module.init(Module.java:150)
	at betterwithmods.module.ModuleLoader.lambda$init$3(ModuleLoader.java:80)
	at betterwithmods.module.ModuleLoader$$Lambda$2528.0000000037B9E210.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at betterwithmods.module.ModuleLoader.forEachEnabled(ModuleLoader.java:200)
	at betterwithmods.module.ModuleLoader.init(ModuleLoader.java:80)
	at betterwithmods.BWMod.init(BWMod.java:58)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:627)
	at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218)
	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135)
	at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:744)
	at net.minecraftforge.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:107)
	at net.minecraftforge.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:337)
	at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:219)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
	at java.lang.Thread.run(Thread.java:813)
Caused by: java.lang.IllegalAccessError: Class 'betterwithmods.module.tweaks.MineshaftGeneration' no access to: class 'net.minecraft.world.gen.structure.StructureMineshaftPieces$Peice'
	at java.lang.invoke.MethodHandle.sendResolveMethodHandle(MethodHandle.java:1010)
	at java.lang.invoke.MethodHandle.getCPMethodHandleAt(Native Method)
	at java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.java:843)
	... 47 more
Caused by: java.lang.IllegalAccessException: Class 'betterwithmods.module.tweaks.MineshaftGeneration' no access to: class 'net.minecraft.world.gen.structure.StructureMineshaftPieces$Peice'
	at java.lang.invoke.MethodHandles$Lookup.checkClassAccess(MethodHandles.java:420)
	at java.lang.invoke.MethodHandles$Lookup.accessCheckArgRetTypes(MethodHandles.java:640)
	at java.lang.invoke.MethodHandle.sendResolveMethodHandle(MethodHandle.java:984)
	... 49 more
commented

And how about using template?

commented

Open Java is not supported at all. Use the standard release of Java from Oracle. This will resolve your issue. Also using the template helps a tonne!

commented

@Cloudwell I have had the same issue. It seems to be somewhat similar in nature to other packs on certain host sites. You need to choose a different version of Java in the control panel of the site for the server launcher. I launched my server with Java 8 (Legacy) selected on minecraft-hosting.pro (same service as yours) and it launched correctly after. So @artdude543 was exactly right. It's not the correct version of Java trying to launch the jar file on the server side.

Hopefully this will help any others that come across this post!