Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.
OS Name/Version:Windows 11 Pro
Product Name/Version: (Always use the full version number - not ‘Latest’)
Amp 2.4.0.4
Problem Description:
I’ve googled the crap out of this but can’t find an answer anywhere AND I have MC running in docker and working(on other ports), just not via Amp. Everything seems to install and work correctly at first. It asks me to accept the EULA and I do. After this I upgrade, which seems to work. I click to the console so I can see what’s happening, I click start and I get the following errors which repeat for minutes if I let it. It repeats but the “chunk” that failed to read changes. The errors message and rest of the info remains the same.
17:16:36
Starting net.minecraft.server.Main
ServerMain/INFO
17:16:38
Building unoptimized datafixer
17:16:39
Environment: authHost=‘https://authserver.mojang.com’, accountsHost=‘https://api.mojang.com’, sessionHost=‘https://sessionserver.mojang.com’, servicesHost=‘https://api.minecraftservices.com’, name=‘PROD’
17:16:41
Loaded 7 recipes
Loaded 1179 advancements
ServerMain/WARN
17:16:42
Failed to parse level-type default, defaulting to minecraft:normal
Server thread/INFO
17:16:42
Starting minecraft server version 1.19.2
Loading properties
Default game type: SURVIVAL
Generating keypair
Starting Minecraft server on 0.0.0.0:25566
Using epoll channel type
Preparing level “world”
IO-Worker-24/WARN
17:16:43
Failed to read chunk [-3, -3]
Console
17:16:43
java.lang.IllegalArgumentException: Negative position
at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:813) ~[?:?]
at cyn.a(SourceFile:181) ~[server-1.19.2.jar:?]
at cyo.a(SourceFile:52) ~[server-1.19.2.jar:?]
at cyl.b(SourceFile:186) ~[server-1.19.2.jar:?]
at cyl.a(SourceFile:236) ~[server-1.19.2.jar:?]
at aze$b.run(SourceFile:60) [server-1.19.2.jar:?]
17:16:44
java.lang.IllegalArgumentException: Negative position
at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:813) ~[?:?]
at cyn.a(SourceFile:181) ~[server-1.19.2.jar:?]
at cyo.a(SourceFile:52) ~[server-1.19.2.jar:?]
at cyl.b(SourceFile:186) ~[server-1.19.2.jar:?]
at cyl.a(SourceFile:236) ~[server-1.19.2.jar:?]
at aze$b.run(SourceFile:60) [server-1.19.2.jar:?]
at azc.h(SourceFile:91) [server-1.19.2.jar:?]
at azc.a(SourceFile:146) [server-1.19.2.jar:?]
at azc.run(SourceFile:102) [server-1.19.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Steps to reproduce:
- Step Create new MC Instance
- Wait a bit, then click “Start Instance, click manage, application is stopped, click update”
- Click Console, Click Start, Accept EULA. Error explosion occurs.
Actions taken to resolve so far:
I’ve tried using different Java versions on the instance as I see it seems to default as TEMURIN 8 (jdk) so I’ve tried Java 11 which fails with:
Error: LinkageError occurred while loading main class net.minecraft.bundler.Main
java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
I’ve tried TEMURIN 17 (jdk) Which results with the same errors as TEMURIN 8 above
Lastly tried TEMURIN 18 (jdk) [System Default]
Same results as original error under 8.