Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

Unable to Start any Minecraft Instances

  • 1.4K Views
  • Last Post 02 October 2020
CannonFodder posted this 01 October 2020

I cannot seem to get any Minecraft instances to load.

I have rebuilt the Server and installed AMP again, I can create the Instance and manage it. I then don't even change any settings, i leave it as Official, Stable, 1.16.3..

I have also tried Setting to Spigot but also errors, On oringinal start i agreed to the EULA , it downloaded the server but failed to start, i have it set to Auto select the Jar and i can see the jar in the drop down and have tried manually selecting also.

When i try to start i have the "unable to start server, The Minecraft Server stopped within 5 seconds of starting, this is not a fault with AMP"In Console i get the following when trying to start.

Console 13:22:18 Exception in thread "main" java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError at hk.(SourceFile:50) at gm.(SourceFile:237) at vm.a(SourceFile:42) at net.minecraft.server.Main.main(SourceFile:88) Caused by: java.lang.ExceptionInInitializerError at java.lang.J9VMInternals.ensureError(J9VMInternals.java:147) at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:136) at java.lang.invoke.MethodHandle.getCPMethodHandleAt(Native Method) at java.lang.invoke.MethodHandle.getAdditionalBsmArg(MethodHandle.java:869) at java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.java:948) ... 4 more Caused by: java.lang.NullPointerException at hk.a(SourceFile:88) at kk.a(SourceFile:20) at kk.(SourceFile:13) ... 7 more

Unless i'm missing something i cannot see any other posts with similar.

This is a fresh Debian 10 install, and this time was installed using the Quick install method of bash from the Quick Start Debian option, i have installed nothing other than this on the box, so all dependencies should have been completed script, i have installed nothing other than this on the box, so all dependencies should have been completed by the install script. AMP Release s v2.0.6.6

Order By: Standard | Newest | Votes
demianmoura posted this 02 October 2020

I'm having the same problem.

Fresh Debian 10 install in a VPS. When I create a minecraft instance and run it, it crashes instantly.

[10:44:39] [Core Info]            : Running in a VMware environment. [10:44:39] [Core Warning]         : Current time zone is set to CET - Servers should ideally be UTC to avoid time-zone related issues [10:44:39] [Core Info]            : OS: Linux / x86_64 [10:44:39] [Core Info]            : CPU: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz (4C/4T) [10:44:39] [Core Info]            : AMP Instance ID: 3d7799de-f395-4252-b730-c1a3d82531f0 [10:44:47] [ModuleLoader Info]    : Loaded MinecraftModule version 1.0.0.3 by CubeCoders Limited [10:44:48] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited [10:44:48] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited [10:44:48] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited [10:44:48] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited [10:44:48] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited [10:44:48] [Core Info]            : Licence Present: AMP Professional Edition (Licenced to Demian Gemballa Moura) [10:44:48] [FileManager Notice]   : No SSH keypair available for embedded server, generating new keypair... [10:44:48] [FileManager Notice]   : Generated new keypair with fingerprint gq6Oj36nIycgScRM7TPA6ZWe7MY0vHBpUakQ3q370os= [10:44:48] [FileManager Notice]   : Using keypair with fingerprint gq6Oj36nIycgScRM7TPA6ZWe7MY0vHBpUakQ3q370os= [10:44:48] [FileManager Info]     : SFTP Server started on :2224 [10:44:48] [WebServer Info]       : Websockets are enabled. [10:44:48] [Logger Warning]       : RouterTimer@10Hz with 2 jobs started [10:44:48] [WebServer Info]       : Webserver started on :8081 [10:44:48] [Core Info]            : Checking for AMP updates... [10:44:48] [Core Info]            : AMP is up-to-date. [10:44:57] [RemoteAMPAuth:Anonymous Activity] : Authentication attempt for user admin from [10:44:59] [RemoteAMPAuth:Anonymous Activity] : Authentication success [10:45:06] [API:admin Activity]   : Starting the application. [10:45:09] [API:admin Activity]   : Starting the application. [10:45:09] [Minecraft:admin Info] : Java located at /usr/bin/java [10:45:09] [Minecraft:admin Info] : Using 'Official' compatibility mode. Exception in thread "main" java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError at hk.(SourceFile:50) at gm.(SourceFile:237) at vm.a(SourceFile:42) at net.minecraft.server.Main.main(SourceFile:88) Caused by: java.lang.ExceptionInInitializerError at java.lang.J9VMInternals.ensureError(J9VMInternals.java:147) at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:136) at java.lang.invoke.MethodHandle.getCPMethodHandleAt(Native Method) at java.lang.invoke.MethodHandle.getAdditionalBsmArg(MethodHandle.java:869) at java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.java:948) ... 4 more Caused by: java.lang.NullPointerException at hk.a(SourceFile:88) at kk.a(SourceFile:20) at kk.(SourceFile:13) ... 7 more [10:45:12] [Minecraft:admin Warning] : Server failed to start 1/5 times... [10:45:12] [Minecraft:admin Warning] : Server stopped within 5 seconds of starting, AMP will not attempt to restart it. [10:46:39] [RemoteAMPAuth:Anonymous Activity] : Authentication attempt for user admin from [10:46:40] [RemoteAMPAuth:Anonymous Activity] : Authentication success [10:46:46] [API:admin Activity]   : Updating the application. [10:48:03] [API:admin Activity]   : Changing setting MinecraftModule.GameSettings.ForceGameMode to True [10:48:05] [API:admin Activity]   : Changing setting MinecraftModule.GameSettings.ForceGameMode to False [10:48:33] [API:admin Activity]   : Changing setting MinecraftModule.GameSettings.EnablePVPCombat to True [10:48:37] [API:admin Activity]   : Changing setting MinecraftModule.GameSettings.EnablePVPCombat to False [10:50:47] [RemoteAMPAuth:Anonymous Activity] : Authentication attempt for user admin from [10:50:48] [RemoteAMPAuth:Anonymous Activity] : Authentication success

demianmoura posted this 02 October 2020

Found a fix:

Update JRE to the latest:

Just run as root: apt-get install default-jre

  • Liked by
  • CannonFodder
CannonFodder posted this 02 October 2020

I have Just updated my JAVA version on my machine and this seems to have got my instance to run (not tested to see if its running on a MC client yet but the instance shows the MC server has started at-least and no errors on console while loading.

When checking java -version from ssh it was using open-jdk 1.8.0_265-b01.

As a test ive tried "apt install default-jre"

This then gets openjdk version 11.0.8. and the server started up.

I don't know if this is going to break more things going forward as just installed it to test starting the instance which at present "appears" to work..

Maybe there is a java bug with the AMP installed version that is causing this? i tried installing the VM 5-6 times with the same results before this, i installed nothing else, other than using the setup or manual or Advanced setup with the same results each time.

Ill update if i see any bugs from these changes when i continue using later.

CannonFodder posted this 02 October 2020

Thats funny, i left my desk to go work on something before submitting the reply and you had done the same thing as me.. i was reluctant to try at first as wanted to keep everything as AMP has setup and unsure if this will effect things in the future.

Close