Minecraft server failing to start

OS Name/Version: Debian 10 with Game Panel

Product Name/Version: AMP Release “Decadeus” v2.4.4

Problem Description: When switching from vanilla minecraft server jar to papermc server jar it fails to start, giving me the error posted below

---- Minecraft Crash Report ----
// Why is it breaking :(

Time: 6/2/23, 5:07 PM
Description: Exception in server tick loop

java.lang.NullPointerException: Cannot invoke "net.minecraft.server.v1_9_R2.NBTBase.load(java.io.DataInput, int, net.minecraft.server.v1_9_R2.NBTReadLimiter)" because "nbtbase" is null
	at net.minecraft.server.v1_9_R2.NBTTagCompound.a(NBTTagCompound.java:386)
	at net.minecraft.server.v1_9_R2.NBTTagCompound.load(NBTTagCompound.java:46)
	at net.minecraft.server.v1_9_R2.NBTTagCompound.a(NBTTagCompound.java:386)
	at net.minecraft.server.v1_9_R2.NBTTagCompound.load(NBTTagCompound.java:46)
	at net.minecraft.server.v1_9_R2.NBTCompressedStreamTools.a(NBTCompressedStreamTools.java:84)
	at net.minecraft.server.v1_9_R2.NBTCompressedStreamTools.a(NBTCompressedStreamTools.java:53)
	at net.minecraft.server.v1_9_R2.NBTCompressedStreamTools.a(NBTCompressedStreamTools.java:43)
	at net.minecraft.server.v1_9_R2.ChunkRegionLoader.loadChunk(ChunkRegionLoader.java:80)
	at org.bukkit.craftbukkit.v1_9_R2.chunkio.ChunkIOProvider.callStage1(ChunkIOProvider.java:20)
	at org.bukkit.craftbukkit.v1_9_R2.chunkio.ChunkIOProvider.callStage1(ChunkIOProvider.java:13)
	at org.bukkit.craftbukkit.v1_9_R2.util.AsynchronousExecutor.skipQueue(AsynchronousExecutor.java:336)
	at org.bukkit.craftbukkit.v1_9_R2.util.AsynchronousExecutor.getSkipQueue(AsynchronousExecutor.java:295)
	at org.bukkit.craftbukkit.v1_9_R2.chunkio.ChunkIOExecutor.lambda$syncChunkLoad$0(ChunkIOExecutor.java:18)
	at net.minecraft.server.v1_9_R2.MCUtil.ensureMain(MCUtil.java:55)
	at org.bukkit.craftbukkit.v1_9_R2.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:18)
	at net.minecraft.server.v1_9_R2.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:158)
	at net.minecraft.server.v1_9_R2.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:141)
	at net.minecraft.server.v1_9_R2.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:137)
	at net.minecraft.server.v1_9_R2.MinecraftServer.l(MinecraftServer.java:370)
	at net.minecraft.server.v1_9_R2.MinecraftServer.a(MinecraftServer.java:333)
	at net.minecraft.server.v1_9_R2.DedicatedServer.init(DedicatedServer.java:272)
	at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:573)
	at java.base/java.lang.Thread.run(Thread.java:833)


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

-- System Details --
Details:
	Minecraft Version: 1.9.4
	Operating System: Linux (amd64) version 4.19.0
	Java Version: 17.0.1, Eclipse Adoptium
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
	Memory: 30671456 bytes (29 MB) / 101711872 bytes (97 MB) up to 2147483648 bytes (2048 MB)
	JVM Flags: 1 total; -Xmx2048M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	CraftBukkit Information: 
   Running: Paper version git-Paper-775 (MC: 1.9.4) (Implementing API version 1.9.4-R0.1-SNAPSHOT) true
   Plugins: {}
   Warnings: DEFAULT
   Reload Count: 0
   Threads: { RUNNABLE Notification Thread: [], TIMED_WAITING Common-Cleaner: [java.base@17.0.1/java.lang.Object.wait(Native Method), java.base@17.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155), java.base@17.0.1/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140), java.base@17.0.1/java.lang.Thread.run(Thread.java:833), java.base@17.0.1/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:162)], RUNNABLE Netty Epoll Server IO #0: [app//io.netty.channel.epoll.Native.epollWait(Native Method), app//io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194), app//io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219), app//io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.base@17.0.1/java.lang.Thread.run(Thread.java:833)], TIMED_WAITING Paper Watchdog Thread: [java.base@17.0.1/java.lang.Thread.sleep(Native Method), app//org.spigotmc.WatchdogThread.run(WatchdogThread.java:92)], RUNNABLE Signal Dispatcher: [], WAITING Finalizer: [java.base@17.0.1/java.lang.Object.wait(Native Method), java.base@17.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155), java.base@17.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176), java.base@17.0.1/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:172)], WAITING Paper Async Task Handler Thread - 0: [java.base@17.0.1/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341), java.base@17.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506), java.base@17.0.1/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463), java.base@17.0.1/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434), java.base@17.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623), java.base@17.0.1/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435), java.base@17.0.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062), java.base@17.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122), java.base@17.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635), java.base@17.0.1/java.lang.Thread.run(Thread.java:833)], WAITING Snooper Timer: [java.base@17.0.1/java.lang.Object.wait(Native Method), java.base@17.0.1/java.lang.Object.wait(Object.java:338), java.base@17.0.1/java.util.TimerThread.mainLoop(Timer.java:537), java.base@17.0.1/java.util.TimerThread.run(Timer.java:516)], TIMED_WAITING Server Infinisleeper: [java.base@17.0.1/java.lang.Thread.sleep(Native Method), app//net.minecraft.server.v1_9_R2.DedicatedServer$1.run(DedicatedServer.java:56)], WAITING Java2D Disposer: [java.base@17.0.1/java.lang.Object.wait(Native Method), java.base@17.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155), java.base@17.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176), java.desktop@17.0.1/sun.java2d.Disposer.run(Disposer.java:145), java.base@17.0.1/java.lang.Thread.run(Thread.java:833)], TIMED_WAITING process reaper: [java.base@17.0.1/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.1/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252), java.base@17.0.1/java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:401), java.base@17.0.1/java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:903), java.base@17.0.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061), java.base@17.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122), java.base@17.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635), java.base@17.0.1/java.lang.Thread.run(Thread.java:833)], WAITING Thread-2: [java.base@17.0.1/jdk.internal.misc.Unsafe.park(Native Method), java.base@17.0.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341), java.base@17.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506), java.base@17.0.1/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463), java.base@17.0.1/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434), java.base@17.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623), java.base@17.0.1/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435), app//com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogAppender.java:77), app//org.bukkit.craftbukkit.v1_9_R2.util.TerminalConsoleWriterThread.run(TerminalConsoleWriterThread.java:27), java.base@17.0.1/java.lang.Thread.run(Thread.java:833)], RUNNABLE Reference Handler: [java.base@17.0.1/java.lang.ref.Reference.waitForReferencePendingList(Native Method), java.base@17.0.1/java.lang.ref.Reference.processPendingReferences(Reference.java:253), java.base@17.0.1/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:215)], RUNNABLE Server console handler: [java.base@17.0.1/java.io.FileInputStream.readBytes(Native Method), java.base@17.0.1/java.io.FileInputStream.read(FileInputStream.java:276), java.base@17.0.1/java.io.BufferedInputStream.fill(BufferedInputStream.java:244), java.base@17.0.1/java.io.BufferedInputStream.read(BufferedInputStream.java:263), app//org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:248), app//org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:261), app//org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:198), app//org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145), app//org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLineSimple(ConsoleReader.java:3183), app//org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2333), app//org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2269), app//org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2257), app//net.minecraft.server.v1_9_R2.DedicatedServer$2.run(DedicatedServer.java:83)], RUNNABLE Server thread: [java.base@17.0.1/java.lang.Thread.dumpThreads(Native Method), java.base@17.0.1/java.lang.Thread.getAllStackTraces(Thread.java:1662), app//org.bukkit.craftbukkit.v1_9_R2.CraftCrashReport.call(CraftCrashReport.java:30), app//net.minecraft.server.v1_9_R2.CrashReportSystemDetails.a(SourceFile:78), app//net.minecraft.server.v1_9_R2.CrashReport.h(CrashReport.java:126), app//net.minecraft.server.v1_9_R2.CrashReport.<init>(CrashReport.java:33), app//net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:642), java.base@17.0.1/java.lang.Thread.run(Thread.java:833)], RUNNABLE DestroyJavaVM: [], TIMED_WAITING Spigot Metrics Thread: [java.base@17.0.1/java.lang.Object.wait(Native Method), java.base@17.0.1/java.util.TimerThread.mainLoop(Timer.java:563), java.base@17.0.1/java.util.TimerThread.run(Timer.java:516)],}
   Recent tasks from -31--1{}
	Profiler Position: N/A (disabled)
	Player Count: 0 / 10; []
	Is Modded: Definitely; Server brand changed to 'Paper'
	Type: Dedicated Server (map_server.txt)

Steps to reproduce:

  • Step 1 Go to configuration>server settings
  • Step 2 Change “server type” from official to paper
  • Step 3 Change the “server jar” from minecraft_server.jar to paperclip.jar
  • Step 4 Try to restart the server

Actions taken to resolve so far: Update to most current version on all software

Which java version is selected?

JDK 11 (hotspot). I’ve actually never changed this setting :eyes:

Try changing it to a newer version.

The crash report mentions minecraft version 1.9.4 and java version 17. You should change it to Java 8

Swapped to Java 17 and receive the same crash report.

In that case it’s likely an issue with Paper itself, I’d give them the same error report and see if they have any suggestions.

I doubt it’s an issue with Paper itself as this low version of minecraft needs normally Java 8 and crashing on newer versions is totally expected. Also to “change” from Java 17 to Java 17 doesn’t expect anything to change…

Hi BroOtti,

I had changed the server from Java11 to Java17, from what Paper’s website says 17 is what is required for the most recent version of their server jars. Let me know if you have any other ideas!

Thanks,

EDIT:

"it appears that the server encountered a NullPointerException in the server tick loop. The error message indicates that a method called load was being invoked on a variable named nbtbase , but it was found to be null , causing the exception to be thrown.

The exception occurs in the NBTTagCompound class of Minecraft server version 1.9.4. It seems that a null value was passed to the load method of NBTTagCompound , resulting in the exception. This issue could be related to loading or accessing a chunk in the game."

This is what ChatGPT has to say about this error. Not sure if it’s helpful or not.

You could try deleting your world data and see if it can start?

You mentioned you never changed the Java setting in AMP. So Java 11 was just a visual bug. The crash report you shared clearly mentions Java 17. Also you don’t use the latest versions of their server jars. Because that would mean, you’re also on the latest minecraft version, but you’re using a very old version for minecraft 1.9.4. The latest ones would be for 1.19.4.

So, if you want to use minecraft 1.9.4 you need to change to Java 8. If you want to use minecraft 1.19.4 you need to update to the latest paper version and keep Java 17.

1 Like

Thank you, I realized moments ago that I was trying to run a 1.9 not a 1.19 server. I can’t believe it. Thanks everyone for your help I got it working.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.